/* ============================================
   THE WAVAR FAMILY - COMPLETE STYLESHEET
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e74c3c;
}

.logo i {
  color: #e74c3c;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s;
  padding: 8px 0;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #e74c3c;
  border-bottom: 2px solid #e74c3c;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  background: white;
  color: #e74c3c;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: white;
  color: #e74c3c;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
  padding: 150px 0 80px;
  text-align: center;
  color: white;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===== STATS SECTION ===== */
.stats {
  padding: 80px 0;
  background: #f8f9fa;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card {
  background: white;
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-card i {
  font-size: 3rem;
  color: #e74c3c;
  margin-bottom: 15px;
}

.stat-card h3 {
  font-size: 2.5rem;
  color: #e74c3c;
  margin-bottom: 10px;
}

/* ===== FEATURED SECTION ===== */
.featured {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #e74c3c;
  margin: 15px auto 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.featured-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.featured-card:hover {
  transform: translateY(-5px);
}

.card-image {
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
}

.featured-card p {
  padding: 0 20px 20px;
  color: #666;
}

.read-more {
  display: inline-block;
  margin: 0 20px 20px;
  color: #e74c3c;
  text-decoration: none;
  font-weight: 500;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.quote-content i {
  font-size: 3rem;
  margin-bottom: 20px;
}

.quote-content p {
  font-size: 1.8rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* ===== UPDATES SECTION ===== */
.updates {
  padding: 80px 0;
  background: #f8f9fa;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.update-card {
  display: flex;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.update-date {
  background: #e74c3c;
  color: white;
  padding: 20px;
  text-align: center;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.update-date .day {
  font-size: 2rem;
  font-weight: 700;
}

.update-content {
  padding: 20px;
}

.update-content h4 {
  margin-bottom: 10px;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 80px 0;
  background: #2c3e50;
  color: white;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  margin-top: 30px;
  gap: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
}

.newsletter-form button {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #e74c3c;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #e74c3c;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
}

/* ===== ABOUT PAGE ===== */
.about-story {
  padding: 80px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-image img {
  width: 100%;
  border-radius: 15px;
}

.family-values {
  margin-top: 30px;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
}

.family-values ul {
  list-style: none;
  margin-top: 15px;
}

.family-values li {
  margin: 10px 0;
}

.family-values li i {
  color: #e74c3c;
  margin-right: 10px;
}

.family-members {
  padding: 80px 0;
  background: #f8f9fa;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.member-card {
  background: white;
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.member-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.member-role {
  color: #e74c3c;
  font-weight: 500;
  margin: 5px 0;
}

/* ===== GALLERY PAGE ===== */
.gallery-filter {
  padding: 30px 0;
  text-align: center;
  background: #f8f9fa;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 10px 25px;
  margin: 5px;
  cursor: pointer;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #e74c3c;
  color: white;
}

.gallery-section {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  transition: bottom 0.3s;
}

.gallery-item:hover .gallery-overlay {
  bottom: 0;
}

/* ===== EVENTS PAGE ===== */
.events-section {
  padding: 60px 0;
}

.events-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.event-card {
  display: flex;
  background: white;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.event-date {
  background: #e74c3c;
  color: white;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-box {
  text-align: center;
}

.date-box .month {
  font-size: 1rem;
  font-weight: 600;
}

.date-box .day {
  font-size: 2.5rem;
  font-weight: 700;
}

.event-details {
  padding: 25px;
  flex: 1;
}

.event-details h3 {
  margin-bottom: 15px;
}

.event-details p {
  margin-bottom: 10px;
  color: #666;
}

.event-details i {
  width: 25px;
  color: #e74c3c;
}

.btn-rsvp {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 15px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.8rem;
  color: #e74c3c;
}

.info-item h4 {
  margin-bottom: 5px;
}

.contact-form {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.map-section {
  padding-bottom: 80px;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .stats-grid,
  .featured-grid,
  .updates-grid,
  .members-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 30px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats-grid,
  .featured-grid,
  .updates-grid,
  .members-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    padding: 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
