
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Georgia', serif;
            background: #f8f6f4;
            color: #2d2d2d;
            overflow-x: hidden;
        }



        .solar-system-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 300px;
}

.solar-system {
  position: relative;
  width: 350px;
  height: 350px;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

/* Central body (Sun/Earth) */
.earth {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, #ffcc00, #ff6600);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px 10px rgba(255, 204, 0, 0.5);
  z-index: 3;
}

/* Orbit Paths */
.orbit {
  position: absolute;
  border: 1px dashed rgb(237, 208, 135);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

html{
    scroll-behavior: smooth;
}

.orbit-1 { width: 120px; height: 120px; }
.orbit-2 { width: 200px; height: 200px; }
.orbit-3 { width: 280px; height: 280px; }

/* Planet containers (to rotate) */
.planet-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  animation: orbit-rotation 12s linear infinite;
}

.planet-container-1 { animation-duration: 7s; }
.planet-container-3 { animation-duration: 12s; }
.planet-container-5 { animation-duration: 17s; }

/* Planets */
.planet {
  position: absolute;
  border-radius: 50%;
}

.planet-1 {
  width: 18px;
  height: 18px;
  background: #c0c0c0;
  left: calc(50px + 50%);
  top: -9px;
}

.planet-3 {
  width: 22px;
  height: 22px;
  background: #ff5733;
  left: calc(88px + 50%);
  top: -11px;
}

.planet-5 {
  width: 26px;
  height: 26px;
  background: #d4af37;
  left: calc(125px + 50%);
  top: -13px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Orbit animation */
@keyframes orbit-rotation {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== RESPONSIVENESS ===== */

/* Tablets */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .solar-system {
    width: 300px;
    height: 300px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .solar-system {
    width: 220px;
    height: 220px;
  }

  .orbit-1 { width: 80px; height: 80px; }
  .orbit-2 { width: 130px; height: 130px; }
  .orbit-3 { width: 180px; height: 180px; }


  .earth {
    width: 35px;
    height: 35px;
  }

  .planet-1 { left: calc(33px + 50%); width: 12px; height: 12px; }
  .planet-3 { left: calc(54px + 50%); width: 15px; height: 15px; }
  .planet-5 { left: calc(80px + 50%); width: 18px; height: 18px; }
}
        /* --------------------------- */
        /* 5. MEDIA QUERIES (Responsiveness) */
        /* --------------------------- */

        @media (max-width: 900px) {
            .hero-container {
                grid-template-columns: 1fr; /* Stack content and animation vertically */
                text-align: center;
            }
            .hero-content {
                text-align: center;
            }
            .hero h1 {
                font-size: 3rem;
            }
            .solar-system {
                width: 300px; /* Smaller size for very small screens */
                height: 300px;
            }
            /* Recalculate orbit sizes for 300px system if needed, but 400px should look fine down to 450px viewport */
        }      

/* 3. Orbit Paths (RECALCULATED) */

              /* Content Section */
 

        .section {
            max-width: 1200px;
            margin: 0 auto 8rem;
            animation: fadeInUp 1s ease-out;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(40px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .section-title {
            font-size: 3.5rem;
            text-align: center;
            margin-bottom: 3rem;
            font-weight: 300;
            letter-spacing: 0.05em;
            color: #8b7355;
            position: relative;
            transition: all 0.3s ease;
        }

        .section-title:hover {
            letter-spacing: 0.15em;
            color: #6d5a44;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 2px;
            background: #8b7355;
            margin: 1.5rem auto 0;
            transition: width 0.5s ease;
        }

        .section-title:hover::after {
            width: 150px;
        }

        /* Our Story */
        .story-content {
            text-align: center;
            font-size: 1.2rem;
            line-height: 2;
            color: #5a5a5a;
            max-width: 800px;
            margin: 0 auto;
           
        }

        .story-content p {
            margin-bottom: 2rem;
            transition: transform 0.3s ease, color 0.3s ease;
            
        }

        .story-content p:hover {
            transform: translateX(10px);
            color: #2d2d2d;
           
        }


       /* Event Details */



/* Fully responsive */
/* @media (max-width: 1024px) {
  .img-event {
    width: clamp(150px, 40%, 300px);
  }
}

@media (max-width: 480px) {
  .img-event {
    width: clamp(120px, 60%, 200px);
  }
} */

 /* .event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    perspective: 1000px; /* Enable 3D perspective */


/* .event-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;

} */

/* .event-card:hover {
    background-color: #827769;
    border-radius: 25%;
    box-shadow: 0 20px 50px rgba(139,115,85,0.2);
} */

/* Optional: Make content invisible on back (if you add back face) */
/* .event-card h3,
.event-card p,
.event-icon {
    backface-visibility: hidden;
} */ 


        /* RSVP Section */
        .rsvp-section {
            background: linear-gradient(135deg, #8b7355 0%, #6d5a44 100%);
            padding: 6rem 2rem;
            text-align: center;
            color: white;
            margin-top: 6rem;
        }

        .rsvp-section .section-title {
            color: white;
        }

        .rsvp-section .section-title::after {
            background: white;
        }

        .rsvp-button {
            display: inline-block;
            padding: 1.5rem 4rem;
            background: white;
            color: #8b7355;
            font-size: 1.3rem;
            text-decoration: none;
            border-radius: 50px;
            margin-top: 2rem;
            letter-spacing: 0.1em;
            font-weight: 500;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .rsvp-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: #f8f6f4;
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }

        .rsvp-button:hover::before {
            width: 400px;
            height: 400px;
        }

        .rsvp-button:hover {
            transform: scale(1.1);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .rsvp-button span {
            position: relative;
            z-index: 1;
        }

        /* Gallery */
/* ===== Gallery Grid ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 25%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  justify-items: center;
  padding: clamp(0.5rem, 2vw, 1rem);
}

.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* keeps square shape */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* Image default state */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px; /* default */
  transition: border-radius 0.4s ease, transform 0.4s ease;
  z-index: 2;
  display: block;
}

/* Hover: make image circular but keep size */
.gallery-item:hover img {
  border-radius: 50%;
  transform: scale(1); /* ensure size stays same */
}

/* Rotating border outside the image */
.gallery-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;  /* larger than image */
  height: 100%;
  transform: translate(-50%, -50%) rotate(0deg); /* center it */
  border: 10px solid transparent; 
  border-top-color: goldenrod; /* visible border */
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* Show and rotate border on hover */
.gallery-item:hover::after {
  opacity: 1;
  animation: borderSpin 1s linear infinite;
}

/* Spin animation */
@keyframes borderSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}



/* ===== Fully Responsive Breakpoints (Optional Tuning) ===== */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(clamp(180px, 30%, 250px), 1fr));
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 40%, 200px), 1fr));
    gap: clamp(0.5rem, 2vw, 1.5rem);
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(clamp(120px, 60%, 150px), 1fr));
    gap: clamp(0.5rem, 2vw, 1rem);
  }
}


/* Back face (overlay or details) */


        /* Footer */
        .footer {
            background: #2d2d2d;
            color: white;
            text-align: center;
            padding: 4rem 2rem;
            font-size: 1.1rem;
            letter-spacing: 0.05em;
        }

        .footer p {
            transition: color 0.3s ease;
        }

        .footer p:hover {
            color: #8b7355;
        }

        /* Decorative Elements */
        .decorative-line {
            width: 100%;
            height: 1px;
            background: linear-gradient(to right, transparent, #8b7355, transparent);
            margin: 4rem 0;
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 3.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
            
            .section-title {
                font-size: 2.5rem;
            }
        }

        /* here */
        /* Decorative Lines */

/* Animations */
/* @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 0.95; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
} */

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-title { font-size: 4.5rem; }
    .hero-subtitle { font-size: 1.5rem; }
    .section-title { font-size: 3rem; }
    .event-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .gallery { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2.5rem; }
    .story-content { font-size: 1rem; }
    .event-cards { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
    .gallery { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 2rem; }
    .story-content { font-size: 0.95rem; }
    .event-cards { grid-template-columns: 1fr; gap: 1rem; }
    .gallery { grid-template-columns: 1fr; gap: 0.8rem; }
    .scroll-btn { width: 40px; height: 40px; font-size: 1.2rem; line-height: 40px; bottom: 20px; right: 20px; 
    }}