/**
 * SatvikSetu - Modern Enhanced Styling
 * Additional styling to make all pages more visually appealing
 */

/* Global Styling Enhancements */
:root {
  --primary-color: #ff7f50;
  --primary-dark: #e86b44;
  --secondary-color: #4b6043;
  --accent-color: #ffd700;
  --light-bg: #f8f5f2;
  --dark-bg: #2c3e50;
  --text-color: #333;
  --light-text: #f8f5f2;
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  --radius: 8px;
  --section-padding: 80px 0;
}

body {
  background: linear-gradient(to right, #f8f5f2, #fff);
  line-height: 1.7;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Enhanced Header */
.site-header {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 50px;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-left: 10px;
}

/* Navigation */
.main-nav ul {
  display: flex;
  gap: 20px;
}

.main-nav a {
  position: relative;
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  transition: var(--transition);
}

.main-nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--primary-color);
}

.main-nav a:hover:after,
.main-nav a.active:after {
  width: 100%;
}

/* Hero Section Enhancement */
.hero {
  background: linear-gradient(135deg, rgba(255, 127, 80, 0.1), rgba(75, 96, 67, 0.1));
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.hero:before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.2), transparent);
  top: -100px;
  right: -100px;
  z-index: 0;
}

.hero:after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 127, 80, 0.1), transparent);
  bottom: -50px;
  left: -50px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-color);
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 127, 80, 0.4);
}

.btn-secondary {
  background: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(75, 96, 67, 0.3);
}

.btn-secondary:hover {
  background: #3d4e38;
  box-shadow: 0 10px 20px rgba(75, 96, 67, 0.4);
}

/* Section Styling */
section {
  padding: var(--section-padding);
}

.section-padding {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--secondary-color);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Card Styling */
.feature-card, .team-member, .gallery-item, .testimonial {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  margin-bottom: 30px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 127, 80, 0.1), rgba(75, 96, 67, 0.1));
  border-radius: 50%;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Image Styling */
.about-image, .mission-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img, .mission-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
  vertical-align: middle;
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 30px;
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.member-info {
  padding: 20px;
}

.member-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.member-role {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Gallery */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-info {
  transform: translateY(0);
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-button {
  padding: 8px 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.filter-button:hover, .filter-button.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Testimonials */
.testimonial {
  text-align: center;
  padding: 30px;
  position: relative;
}

.testimonial:before {
  content: "❝";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 3rem;
  color: rgba(255, 127, 80, 0.1);
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--primary-color);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
}

.testimonial-position {
  font-size: 0.9rem;
  color: var(--secondary-color);
}

/* Forms */
.form-container {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-title {
  margin-bottom: 25px;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.2);
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-height: 50px;
  margin-bottom: 10px;
}

.tagline {
  font-style: italic;
  opacity: 0.8;
}

.footer-links h4, .footer-contact h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
}

.footer-links h4:after, .footer-contact h4:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  left: 0;
  bottom: -8px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-text);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><path d="M0,0l100,100" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
  opacity: 0.3;
}

.page-banner h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-banner p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Flash Messages */
.flash-message {
  padding: 15px 25px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  font-weight: 500;
}

.success-message {
  background-color: #d4edda;
  border-left: 4px solid #28a745;
  color: #155724;
}

.error-message {
  background-color: #f8d7da;
  border-left: 4px solid #dc3545;
  color: #721c24;
}

/* Mission and Vision */
.mission-content, .vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  align-items: center;
}

.vision-quote {
  background: linear-gradient(135deg, rgba(255, 127, 80, 0.1), rgba(75, 96, 67, 0.1));
  padding: 30px;
  border-radius: var(--radius);
  position: relative;
}

blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--secondary-color);
  margin: 0;
  padding: 10px 20px;
  border-left: 3px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .mission-content, .vision-content {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image, .mission-image {
    margin-bottom: 30px;
  }
  
  .footer-content > div {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .page-banner h1 {
    font-size: 2rem;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .form-container {
    padding: 30px 20px;
  }
}

/* Custom Glass Morphism Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
