/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --primary-color: #452908; */
    --primary-color: #382d22;
    --secondary-color: #8b7355;
    --text-dark: #3d3228;
    --text-light: #8b7b6a;
    --background-light: #f5ebe0;
    --background-cream: #ede0d4;
    --white: #faf8f5;
    --shadow: rgba(139, 115, 85, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Bookman', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #f5ebe0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(139, 115, 85, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5ebe0 0%, #ede0d4 50%, #e6d5c3 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(212, 165, 116, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(139, 115, 85, 0.1) 0%, transparent 40%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23d4a574" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(250,248,245,0.5) 0%, rgba(237,224,212,0.75) 100%);
    z-index: 0;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 2rem;
    color: #452908;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: 'Impact', sans-serif;
    font-weight: 400;
    /* text-shadow: 2px 2px 4px rgba(245, 235, 224, 0.8),
                 -1px -1px 2px rgba(250, 248, 245, 0.6); */
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #452908;
    font-family: 'Impact', sans-serif;
    letter-spacing: -2px;
    /* text-shadow: 2px 2px 4px rgba(245, 235, 224, 0.3); */
}

.bride-name, .groom-name {
    display: inline-block;
    background: linear-gradient(135deg, #452908 0%, #6b4423 50%, #8b7355 100%);
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: var(--primary-color);
}

.bride-name {
    animation-delay: 0.3s;
    color: var(--primary-color);
}

.groom-name {
    animation-delay: 0.5s;
}

.ampersand {
    display: inline-block;
    margin: 0 1.5rem;
    color: var(--primary-color);
    font-size: 4rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-date {
    font-size: 3rem;
    color: #452908;
    margin-bottom: 3rem;
    font-family: 'Impact', sans-serif;
    font-weight: 400;
    /* text-shadow: 2px 2px 4px rgba(245, 235, 224, 0.8),
                 -1px -1px 2px rgba(250, 248, 245, 0.6); */
}

/* Countdown */
.countdown {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.8rem 1.5rem;
    background: rgba(250, 248, 245, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* border-radius: 16px; */
    box-shadow: 0 8px 24px rgba(139, 115, 85, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    min-width: 110px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(139, 115, 85, 0.2);
}

.countdown-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Impact', sans-serif;
    line-height: 1;
}

.countdown-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-top: 0.7rem;
    font-family: 'Impact', sans-serif;
    font-weight: 500;
}

/* Hero Photo Booth Backdrop */
.hero-photos-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 0;
    z-index: 1;
    opacity: 0.4;
}

.hero-photo-item {
    flex: 1;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background: none;
    transform: none;
    transition: all 0.5s ease;
    margin: 0;
    padding: 0;
    outline: none;
}

.hero-photo-item:nth-child(2) {
    transform: none;
    z-index: 1;
}

.hero-photo-item:nth-child(3) {
    transform: none;
}

.hero-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* Make hero content appear above the photos */
.hero-content {
    position: relative;
    z-index: 10;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    transform: rotate(45deg);
    /* border-radius: 2px; */
}

@media (max-width: 768px) {
    .hero {
      display: flex;
      flex-direction: column;
      justify-content: flex-start; /* pas center */
      min-height: 120vh; /* ajuste 60–80vh */
      height: auto; /* si tu avais 100vh */
      padding-top: 260px;
    }
  
    .hero-content {
      margin-top: 0;
      padding-top: 0;
    }
  
    .scroll-indicator {
      position: static;
      left: auto;
      bottom: auto;
      transform: none;
  
      margin-top: 130px;
      width: 100%;
      text-align: center;
      animation: none;
    }
  }
  
/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    /* border-radius: 2px; */
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    /* border-radius: 50%; */
    box-shadow: 0 0 0 4px rgba(69, 41, 8, 0.1);
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Countdown Section */
.countdown-section {
    background: linear-gradient(180deg, #faf8f5 0%, #f5ebe0 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Our Story Section */
.our-story {
    background: linear-gradient(180deg, #faf8f5 0%, #f5ebe0 100%);
    position: relative;
}

.our-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.our-story .container {
    position: relative;
    z-index: 1;
}

.story-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.story-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(237, 224, 212, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* border-radius: 20px; */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.1);
}

.story-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(139, 115, 85, 0.2);
    background: rgba(237, 224, 212, 0.8);
}

.story-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.story-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.story-date {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.story-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Details Section */
.details {
    position: relative;
    overflow: hidden;
    /* Image de fond - remplace 'details-background.jpg' par ton image */
    background-image: url('images/details-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: 50% 20%;
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .details {
      background-size: contain;     /* montre plus, moins zoomé */
      background-position: top;     /* souvent mieux sur mobile */
      background-repeat: repeat;    /* optionnel si tu veux remplir */
    }
  }
.details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Overlay semi-transparent pour la lisibilité du texte */
    background: linear-gradient(
        135deg, 
        rgba(237, 224, 212, 0.85) 0%, 
        rgba(230, 213, 195, 0.80) 50%, 
        rgba(240, 230, 218, 0.85) 100%
    );
    pointer-events: none;
}

.details-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.details-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: -1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.detail-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0;
    /* border-radius: 16px; */
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(139, 115, 85, 0.12),
                0 2px 8px rgba(139, 115, 85, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.detail-card:hover {
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.12);
    transform: translateY(-2px);
}

.detail-card::before {
    display: none;
}

.detail-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(139, 115, 85, 0.25),
                0 12px 24px rgba(69, 41, 8, 0.12);
}

.detail-card:hover::before {
    opacity: 1;
}

/* .detail-card-primary .floating-icon {
    background: linear-gradient(135deg, #6b4423 0%, var(--primary-color) 100%);
}

.detail-card-secondary .floating-icon {
    background: linear-gradient(135deg, #9c8676 0%, var(--secondary-color) 100%);
} */

.card-background-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    top: -25px;
    right: 30px;
    width: 80px;
    height: 80px;
    /* border-radius: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(69, 41, 8, 0.3);
    animation: float 3s ease-in-out infinite;
}

.icon-svg {
    width: 36px;
    height: 36px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-content {
    padding: 2rem 2rem 2rem;
    display: grid;
    grid-template-rows: auto minmax(60px, auto) minmax(60px, auto) minmax(80px, auto) auto 1fr auto;
    height: 100%;
    gap: 0;
}

.event-badge {
    text-align: center;
    font-family: 'Optima', sans-serif;
    padding: 0;
    background: transparent;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1.25rem;
    border: none;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
}

.event-badge-secondary {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.1), rgba(212, 165, 116, 0.15));
    color: var(--secondary-color);
}

.event-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    letter-spacing: -0.3px;
    text-align: center;
    grid-row: 1;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    margin-bottom: 1rem;
}

.event-datetime {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    grid-row: 3;
    align-items: center;
    justify-content: center;
}


.datetime-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background: rgba(237, 224, 212, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.datetime-item:hover {
    background: rgba(212, 165, 116, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.15);
    border-color: rgba(212, 165, 116, 0.4);
}

.datetime-icon {
    font-size: 0.9rem;
}

.datetime-text {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
}


.event-location {
    display: flex;
    gap: 0.75rem;   
    padding: 1rem 1.25rem; 
    background: rgba(237, 224, 212, 0.4);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    align-items: flex-start;
    grid-row: 4;
}

.event-location:hover {
    background: rgba(237, 224, 212, 0.7);
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.15);
}

.location-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.location-details strong {
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    letter-spacing: 0.3px;
}

.location-details span {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    display: block;
}

.dresscode-indication {
    font-family: 'Optima', sans-serif;
    font-style: italic;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 6px;
    line-height: 1.6;
    grid-row: 5;
}


.buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    grid-row: 7;
    align-self: end;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.btn-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-map:hover::before {
    left: 100%;
}

.btn-map:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-map:hover .btn-icon {
    transform: translateX(4px);
}

.btn-google-calendar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.btn-google-calendar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-google-calendar:hover::before {
    left: 100%;
}

.btn-google-calendar:hover {
    background:var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
}


.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-google-calendar:hover .btn-icon {
    transform: translateX(4px);
}
.dress-code {
    text-align: center;
    position: relative;
    z-index: 1;
}

.dress-code-content {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 3rem;
    background: rgba(250, 248, 245, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* border-radius: 20px; */
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(139, 115, 85, 0.15);
    transition: all 0.4s ease;
}

.dress-code-content:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(139, 115, 85, 0.2);
}

.dress-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* border-radius: 16px; */
    padding: 12px;
}

.dress-icon svg {
    width: 100%;
    height: 100%;
    color: white;
}

.dress-code-text {
    text-align: left;
    font-style: italic;
}

.dress-code h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.dress-code p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Infos et Accès Section */
.infos-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--background-cream) 0%, var(--background-light) 100%);
}

.infos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.info-card {
    background: rgba(250, 248, 245, 0.9);
    /* border-radius: 20px; */
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.12);
    border: 1px solid rgba(212, 165, 116, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(139, 115, 85, 0.18);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(212, 165, 116, 0.2);
}

.info-icon {
    font-size: 2.5rem;
}

.info-card-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(245, 235, 224, 0.5);
    /* border-radius: 12px; */
    transition: background 0.2s ease;
}

.transport-item:hover {
    background: rgba(245, 235, 224, 0.8);
}

.transport-icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.4;
    flex-shrink: 0;
}

.transport-details strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.transport-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.hotel-item {
    padding: 1rem;
    background: rgba(245, 235, 224, 0.5);
    /* border-radius: 12px; */
    transition: background 0.2s ease;
}

.hotel-item:hover {
    background: rgba(245, 235, 224, 0.8);
}

.hotel-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.hotel-item strong.hotel-category {
    color: var(--secondary-color);
    font-size: 1.1em;
}

.hotel-item strong.hotel-name {
    color: var(--primary-color);
    font-size: 1em;
}

.hotel-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.hotel-link::before {
    content: "→";
    display: inline-block;
    margin-left: 6px;
    animation: arrowMove 1.2s ease-in-out infinite;
    opacity: 0.4;
  }

.hotel-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    font-style: italic;
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.hotel-link:hover {
    color: #5a3410;
    text-decoration: underline;
}


  
@keyframes arrowMove {
    0%   { transform: translateX(0);   opacity: 0.4; }
    50%  { transform: translateX(6px); opacity: 1; }
    100% { transform: translateX(0);   opacity: 0.4; }
  }


.info-note {
    margin-top: 0.5rem;
    padding: 1rem;
    background: rgba(69, 41, 8, 0.05);
    /* border-radius: 10px; */
    font-size: 0.9rem;
    color: var(--text-dark);
    text-align: center;
}

@media (max-width: 768px) {
    .infos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .info-card-header h3 {
        font-size: 1.3rem;
    }
}

/* Music Section */
.music-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #191414 0%, #282828 50%, #1a1a1a 100%);
    text-align: center;
}

.music-content {
    max-width: 600px;
    margin: 0 auto;
}

.music-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.music-section .section-title {
    color: #fff;
    margin-bottom: 1.5rem;
}

.music-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.spotify-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #1DB954;
    color: #fff;
    text-decoration: none;
    /* border-radius: 50px; */
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
}

.spotify-btn:hover {
    background: #1ed760;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(29, 185, 84, 0.5);
}

.spotify-icon {
    width: 24px;
    height: 24px;
}


.music-note {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .music-section {
        padding: 4rem 0;
    }
    
    .music-icon {
        font-size: 3rem;
    }
    
    .music-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .spotify-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Gallery Section */
.gallery {
    background: linear-gradient(180deg, #faf8f5 0%, #f5ebe0 100%);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 20%, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.gallery .container {
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    /* border-radius: 20px; */
    aspect-ratio: 1;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.12);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 115, 85, 0.2);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ede0d4 0%, #e0cfc0 50%, #d4c5b0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-placeholder::before {
    transform: rotate(45deg);
}

.gallery-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    /* border-radius: 50px; */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gallery-btn-icon {
    width: 20px;
    height: 20px;
}

.gallery-btn-upload {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a3410 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(69, 41, 8, 0.3);
}

.gallery-btn-upload:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(69, 41, 8, 0.4);
}

.gallery-btn-view {
    background: rgba(250, 248, 245, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.gallery-btn-view:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.gallery-preview {
    margin-bottom: 2rem;
}

.gallery-item-upload {
    background: transparent;
    box-shadow: none;
}

.gallery-item-upload:hover {
    transform: none;
    box-shadow: none;
}

.upload-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(69, 41, 8, 0.05) 0%, rgba(69, 41, 8, 0.1) 100%);
    border: 3px dashed var(--primary-color);
    /* border-radius: 20px; */
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.upload-card:hover {
    background: linear-gradient(135deg, rgba(69, 41, 8, 0.1) 0%, rgba(69, 41, 8, 0.15) 100%);
    border-color: #5a3410;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gallery-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 2rem;
}

/* Gallery Preview Grid */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.album-photo-item {
    position: relative;
    aspect-ratio: 1;
    /* border-radius: 16px; */
    overflow: hidden;
    background: linear-gradient(135deg, #ede0d4 0%, #e0cfc0 100%);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.15);
    transition: all 0.4s ease;
}

.album-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.album-photo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.25);
}

.album-photo-item:hover img {
    transform: scale(1.1);
}

.preview-photo {
    position: relative;
    aspect-ratio: 1;
    /* border-radius: 16px; */
    overflow: hidden;
    background: linear-gradient(135deg, #ede0d4 0%, #e0cfc0 100%);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.15);
    transition: all 0.4s ease;
    display: block;
}

.preview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.preview-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.25);
}

.preview-photo:hover img {
    transform: scale(1.1);
}

.preview-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
    background: linear-gradient(135deg, #ede0d4 0%, #e0cfc0 100%);
}

.preview-photo.no-image .preview-placeholder {
    display: flex;
}

.preview-photo.no-image img {
    display: none;
}

/* Last photo with "See more" overlay */
.preview-photo-more .preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(69, 41, 8, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-photo-more:hover .preview-overlay {
    opacity: 1;
}

.preview-photo-more .preview-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #fff;
    /* border-radius: 50px; */
    transition: all 0.3s ease;
}

.preview-photo-more:hover .preview-overlay span {
    background: #fff;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .preview-placeholder {
        font-size: 2rem;
    }
    
    .preview-photo-more .preview-overlay span {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Album Embed Container */
.album-embed-container {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.album-preview-card {
    display: block;
    background: linear-gradient(135deg, rgba(250, 248, 245, 0.95) 0%, rgba(237, 224, 212, 0.95) 100%);
    /* border-radius: 24px; */
    padding: 3rem 2rem;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.15);
    border: 2px solid rgba(212, 165, 116, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.album-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(69, 41, 8, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.album-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(139, 115, 85, 0.25);
    border-color: var(--primary-color);
}

.album-preview-card:hover::before {
    opacity: 1;
}

.album-preview-content {
    position: relative;
    z-index: 1;
}

.album-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.album-preview-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.album-preview-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.album-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a3410 100%);
    color: #fff;
    /* border-radius: 50px; */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.album-preview-card:hover .album-cta {
    background: linear-gradient(135deg, #5a3410 0%, #6b4423 100%);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .album-preview-card {
        padding: 2rem 1.5rem;
    }
    
    .album-icon {
        font-size: 3rem;
    }
    
    .album-preview-card h3 {
        font-size: 1.4rem;
    }
    
    .album-preview-card p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .gallery-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .gallery-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* RSVP Section */
.rsvp {
    background: linear-gradient(135deg, #ede0d4 0%, #e6d5c3 50%, #f0e6da 100%);
    position: relative;
    overflow: hidden;
}

.rsvp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 70% 30%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 20% 80%, rgba(139, 115, 85, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.rsvp-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 400;
}

.rsvp-form {
    max-width: 650px;
    margin: 0 auto;
    background: rgba(250, 248, 245, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    /* border-radius: 24px; */
    box-shadow: 0 20px 60px rgba(139, 115, 85, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(224, 207, 192, 0.5);
    /* border-radius: 12px; */
    font-family: 'Bookman', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.1);
    transform: translateY(-2px);
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Checkbox group for bus options */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    /* border-radius: 8px; */
    transition: background-color 0.2s ease;
}

.checkbox-label:hover {
    background-color: rgba(69, 41, 8, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
    accent-color: var(--primary-color);
}

/* Conditional guest count questions */
.conditional-group {
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

.conditional-group label {
    font-size: 0.95rem;
    color: var(--text-light);
}

.event-question {
    margin-bottom: 0.5rem;
}

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

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a3410 100%);
    color: var(--white);
    border: none;
    /* border-radius: 14px; */
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    box-shadow: 0 8px 20px rgba(69, 41, 8, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #5a3410 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(69, 41, 8, 0.4);
}

.form-message {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    /* border-radius: 8px; */
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #3d3228 0%, #2a2419 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 70% 30%, rgba(139, 115, 85, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-content p {
    color: #bbb;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.registry-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.registry-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a3410 100%);
    color: var(--white);
    text-decoration: none;
    /* border-radius: 14px; */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(69, 41, 8, 0.3);
    position: relative;
    overflow: hidden;
}

.registry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.registry-btn:hover::before {
    left: 100%;
}

.registry-btn:hover {
    background: linear-gradient(135deg, #5a3410 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(69, 41, 8, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #999;
    font-size: 0.95rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .detail-card .card-content {
        padding: 2rem 1.5rem;
    }
    
    .event-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #faf8f5;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(139, 115, 85, 0.15);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        margin-top: 0;
        padding-top: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .ampersand {
        margin: 0 1rem;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 1rem;
    }

    .countdown-value {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .hero-photos-backdrop {
        flex-direction: column;
        opacity: 0.2;
        top: 100px;
        height: calc(100% - 100px);
        gap: 0;
    }
    
    .hero-photo-item {
        border: none;
        outline: none;
        margin: 0;
        padding: 0;
    }
    
    .hero-photo-item img {
        object-position: center 25%;
        border: none;
        outline: none;
        display: block;
        width: 100%;
        height: 100%;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-card {
        padding: 0;
    }

    .card-content {
        padding: 2rem 1.5rem 1.75rem;
        grid-template-rows: auto auto auto auto auto 1fr auto;
    }
    
    .event-location {
        padding: 0.875rem 1rem;
        min-height: 70px;
    }
    
    .event-title {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .event-badge {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .event-datetime {
        margin-bottom: 1.25rem;
    }
    
    .location-details strong {
        font-size: 1rem;
    }
    
    .location-details span {
        font-size: 0.8rem;
    }

    .floating-icon {
        width: 70px;
        height: 70px;
        right: 20px;
        top: -20px;
    }

    .icon-svg {
        width: 32px;
        height: 32px;
    }

    .event-title {
        font-size: 1.8rem;
    }

    .event-datetime {
        flex-direction: column;
        gap: 1rem;
    }

    .datetime-item {
        width: 100%;
        justify-content: center;
    }

    .dress-code-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }

    .dress-code-text {
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .rsvp-form {
        padding: 2rem 1.5rem;
    }

    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-date {
        font-size: 1.2rem;
    }

    .countdown {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.8rem;
    }

    .hero-photos-backdrop {
        opacity: 0.15;
        top: 80px;
        height: calc(100% - 80px);
        gap: 0;
    }
    
    .hero-photo-item {
        border: none;
        outline: none;
        margin: 0;
        padding: 0;
    }
    
    .hero-photo-item img {
        object-position: center 20%;
        border: none;
        outline: none;
        display: block;
        width: 100%;
        height: 100%;
    }

    .nav-logo {
        font-size: 1.5rem;
    }
    
    .nav-logo-img {
        width: 50px;
        height: 50px;
    }
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 photos */
    gap: 12px;
    max-width: 100%;
  }
  
  .photo-preview-grid img {
    width: 100%;
    height:100%;      /* 👈 contrôle la taille */
    object-fit: cover;     /* recadre sans déformer */
    border-radius: 10px;
    
  }

  @media (max-width: 768px) {
    .photo-preview-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .photo-preview-grid img {
      height: 120px;
    }
  }
