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

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

        /* Hero Section with Sticky Image */
        .hero-container {
            position: relative;
            height: 100vh;
        }

        .sticky-image-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            width: 100%;
            overflow: hidden;
            z-index: 1;
        }

        .hero-image {
          
            display: flex;
            padding: 0 0 0 0;
            align-items: center;
            width: 100%;
            height: 185%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .hero-image:hover {
            transform: scale(1.02);
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
            animation: fadeIn 2s ease-in;
        }

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

        .hero-title {
            font-size: 6rem;
            font-weight: 300;
            letter-spacing: 0.1em;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
            animation: slideDown 1.5s ease-out;
        }

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

        .hero-subtitle {
            font-size: 1.8rem;
            font-weight: 300;
            letter-spacing: 0.2em;
            opacity: 0.95;
            animation: slideUp 1.5s ease-out 0.3s both;
        }
        @keyframes fadeIn {
           from { opacity: 0; }
           to { opacity: 1; }
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 0.95; transform: translateY(0); }
        }
        #scroll1 {
         height: 65vh; 
        }


       html {
       scroll-behavior: smooth;
        }

.scroll-btn {
    position: fixed; 
    bottom: 30px;
    right: 30px;
    background: #f5f5dc; 
    border-radius: 50%;
    width: 100px;
    height: 60px;
    font-size: 1.5rem;
    color: #333;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(17, 15, 15, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-btn:hover {
    transform: translateY(-5px) scale(1.1);
    background: #fff8dc;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}




        
        .content {
            position: relative;
            background: #f8f6f4;
            padding: 8rem 2rem;
            z-index: 10;
        }

        .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;
        }

       
        .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-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    perspective: 1000px; 
}

.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;

    
    transform-style: preserve-3d;
    transition: transform 0.8s ease; 
}

.event-card:hover {
    background: rgb(243, 240, 233);
    border-radius: 40px;
    margin-top: 2%;

    box-shadow: 0 30px 50px rgba(139,115,85,0.2);
}



.event-card h3,
.event-card p,
.event-icon {
    backface-visibility: hidden;
}


        .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 {
  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; 
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}


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


.gallery-item:hover img {
  border-radius: 50%;
  transform: scale(1); 
}

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

 
.gallery-item:hover::after {
  opacity: 1;
  animation: borderSpin 1s linear infinite;
}


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




@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);
  }
}



/* 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; 
    }}