/* ==========================================================================
   Wedding 8 - Beach / Coastal Theme
   Light, airy, sun-kissed feel with ocean blue, sandy beige, and coral accents
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary-color: #4A90A4;
    --secondary-color: #E8D5B7;
    --accent-color: #E8837C;
    --dark-color: #2C3E50;
    --light-color: #F7F3EF;
    --white-color: #FFFFFF;

    --primary-light: #6BAFBF;
    --primary-dark: #3A7488;
    --accent-light: #F2A9A4;
    --accent-dark: #D4635C;
    --secondary-light: #F0E4D4;
    --secondary-dark: #D4BA94;

    --font-display: 'Pacifico', cursive;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 30px;
    --border-radius-pill: 50px;

    --shadow-soft: 0 4px 20px rgba(74, 144, 164, 0.08);
    --shadow-medium: 0 8px 30px rgba(74, 144, 164, 0.12);
    --shadow-warm: 0 8px 30px rgba(232, 131, 124, 0.15);
    --shadow-card: 0 10px 40px rgba(44, 62, 80, 0.08);
}

/* ---------- Base Styles ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 50%, var(--secondary-light) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.preloader-wave {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.wave-bar {
    width: 6px;
    background: var(--primary-color);
    border-radius: 3px;
    animation: waveBar 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 10px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 30px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 10px; animation-delay: 0.4s; }

@keyframes waveBar {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(2.5); }
}

#preloader .loading-text {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

/* ---------- Wave Dividers ---------- */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
    animation: gentleWave 8s ease-in-out infinite alternate;
}

@keyframes gentleWave {
    0% { transform: translateX(0) scaleY(1); }
    50% { transform: translateX(-10px) scaleY(1.05); }
    100% { transform: translateX(5px) scaleY(0.95); }
}

.hero-wave {
    z-index: 3;
}

.hero-wave svg {
    height: 100px;
}

.footer-wave {
    position: relative;
    line-height: 0;
    margin-bottom: -2px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ---------- Navigation ---------- */
.navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(74, 144, 164, 0.1);
    padding: 8px 0;
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white-color) !important;
    transition: color 0.4s ease;
}

.navbar-scrolled .navbar-brand {
    color: var(--primary-color) !important;
}

.navbar-brand .brand-icon {
    margin-right: 8px;
    font-size: 1rem;
    opacity: 0.8;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 8px 18px !important;
    margin: 0 3px;
    border-radius: var(--border-radius-pill);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.navbar-scrolled .navbar-nav .nav-link {
    color: var(--dark-color) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white-color) !important;
}

.navbar-scrolled .navbar-nav .nav-link:hover,
.navbar-scrolled .navbar-nav .nav-link.active {
    background: var(--primary-color);
    color: var(--white-color) !important;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-sm);
    padding: 6px 12px;
    color: var(--white-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.navbar-scrolled .navbar-toggler {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.default-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--secondary-color) 100%);
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(74, 144, 164, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(247, 243, 239, 0.6) 80%,
        rgba(247, 243, 239, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-content .name-box {
    margin-bottom: 20px;
}

.hero-content .first-name,
.hero-content .second-name {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(74, 144, 164, 0.15);
}

.hero-content .ampersand {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent-color);
    margin: 10px 0;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--primary-color);
}

.wedding-date {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* ---------- Countdown ---------- */
.countdown-container {
    margin-bottom: 30px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 18px 22px;
    min-width: 90px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(232, 213, 183, 0.4);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.7;
}

/* ---------- Scroll Down Indicator ---------- */
.scroll-down a {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: var(--white-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-down a:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light h2 {
    color: var(--white-color);
}

.section-header.light .divider span {
    background: rgba(255, 255, 255, 0.3);
}

.section-header.light .divider i {
    color: var(--accent-color);
}

.section-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white-color);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.divider span {
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
}

.divider i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* ---------- Story Section ---------- */
.story-section {
    background: var(--light-color);
    padding-bottom: 100px;
}

.story-content {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-card);
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    position: relative;
}

.story-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.story-content p {
    margin-bottom: 1.2rem;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* ---------- Agenda Section ---------- */
.agenda-section {
    background: var(--secondary-color);
    padding-bottom: 100px;
}

.agenda-swiper-wrapper {
    padding: 20px 0 40px;
}

.agenda-postcard {
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    padding: 35px 30px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.4s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.agenda-postcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.agenda-postcard:hover {
    transform: rotate(0deg) translateY(-5px) !important;
    box-shadow: var(--shadow-medium);
}

.postcard-header {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--white-color);
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.25);
}

.time-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 4px 16px;
    border-radius: var(--border-radius-pill);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.postcard-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.postcard-description {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
}

/* Agenda Swiper Navigation */
.agenda-next,
.agenda-prev {
    color: var(--primary-color) !important;
}

.agenda-next::after,
.agenda-prev::after {
    font-size: 1.2rem !important;
    font-weight: 700;
}

.agenda-pagination .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
}

.agenda-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* ---------- Venue Section ---------- */
.venue-section {
    background: var(--light-color);
    padding-bottom: 100px;
}

.location-tabs-wrapper {
    margin-bottom: 30px;
}

.location-pills {
    background: var(--white-color);
    border-radius: var(--border-radius-pill);
    padding: 5px;
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    margin: 0 auto;
    width: auto;
}

.location-pills .nav-link {
    border-radius: var(--border-radius-pill) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-color);
    padding: 10px 24px;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.location-pills .nav-link i {
    margin-right: 6px;
}

.location-pills .nav-link.active {
    background: var(--primary-color) !important;
    color: var(--white-color) !important;
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.3);
}

.venue-details {
    align-items: stretch;
}

.venue-card {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    height: 100%;
    border: 1px solid rgba(232, 213, 183, 0.3);
}

.venue-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.venue-card h3 i {
    margin-right: 8px;
    color: var(--accent-color);
}

.venue-address {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(232, 213, 183, 0.5);
}

.venue-address i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.venue-address address {
    font-style: normal;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.travel-info {
    display: flex;
    gap: 12px;
}

.travel-info > i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.travel-content {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

.travel-content p {
    margin-bottom: 0.5rem;
}

.venue-map {
    height: 100%;
    min-height: 350px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 3px solid var(--white-color);
}

.wedding-map-marker {
    background: var(--primary-color);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 16px;
    border: 3px solid var(--white-color);
    box-shadow: var(--shadow-medium);
}

.no-map {
    height: 100%;
    min-height: 350px;
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
}

.no-map-content {
    text-align: center;
    color: #aaa;
}

.no-map-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* ---------- Gallery Section ---------- */
.gallery-section {
    background: var(--light-color);
    padding-bottom: 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-warm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(74, 144, 164, 0.0) 0%,
        rgba(74, 144, 164, 0.4) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white-color);
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ---------- RSVP Section ---------- */
.rsvp-section {
    background: var(--light-color);
    padding-bottom: 100px;
}

.rsvp-card {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--primary-color);
    position: relative;
}

.rsvp-card .form-control,
.rsvp-card .form-select {
    border-radius: var(--border-radius-sm);
    border: 2px solid rgba(232, 213, 183, 0.5);
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.rsvp-card .form-control:focus,
.rsvp-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 164, 0.15);
}

.rsvp-card .form-floating > label {
    font-family: var(--font-body);
    color: #999;
}

.attendance-label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    display: block;
}

.attendance-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.attendance-option {
    flex: 1;
    min-width: 160px;
}

.attendance-btn {
    width: 100%;
    border-radius: var(--border-radius-md) !important;
    padding: 12px 20px !important;
    font-family: var(--font-heading);
    font-weight: 500;
    border: 2px solid rgba(232, 213, 183, 0.5);
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.attendance-btn i {
    margin-right: 6px;
}

.btn-check:checked + .attendance-btn {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.3);
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border: none;
    color: var(--white-color);
    padding: 14px 50px;
    border-radius: var(--border-radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 131, 124, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 131, 124, 0.4);
    color: var(--white-color);
}

/* RSVP Alerts */
.rsvp-section .alert {
    border-radius: var(--border-radius-sm);
    border: none;
}

/* ---------- Additional Info Section ---------- */
.additional-info-section {
    background: var(--secondary-color);
    padding: 80px 0 100px;
}

.info-card {
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--shadow-card);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.info-card.info-blue::before {
    background: var(--primary-color);
}

.info-card.info-coral::before {
    background: var(--accent-color);
}

.info-card.info-sand::before {
    background: var(--secondary-dark);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.info-content p {
    margin-bottom: 0.5rem;
}

/* Swiper Navigation for info */
.infoSwiper .swiper-button-next,
.infoSwiper .swiper-button-prev {
    color: var(--primary-color) !important;
}

.infoSwiper .swiper-button-next::after,
.infoSwiper .swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: 700;
}

.infoSwiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
}

.infoSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* ---------- Contacts Section ---------- */
.contacts-section {
    background: var(--light-color);
    padding-bottom: 100px;
}

.contact-card {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.2);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-role {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    font-family: var(--font-heading);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details {
    margin-top: 12px;
}

.contact-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-detail i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

.contact-detail a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--primary-color);
}

.contact-more-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(232, 213, 183, 0.5);
    font-size: 0.85rem;
    color: #888;
}

.contact-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.contact-cta p {
    color: #888;
    margin-bottom: 15px;
}

.btn-contact {
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--border-radius-pill);
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--primary-dark);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

/* ---------- FAQ Section ---------- */
.faq-section {
    background: var(--secondary-color);
    padding: 100px 0;
}

.faq-section .section-header h2 {
    color: var(--primary-color);
}

.accordion-item {
    border: none;
    border-radius: var(--border-radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--white-color);
}

.accordion-button {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--dark-color);
    padding: 18px 25px;
    border-radius: var(--border-radius-md) !important;
    background: var(--white-color);
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 164, 0.15);
    border-color: transparent;
}

.accordion-body {
    padding: 20px 25px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.accordion-body p {
    margin-bottom: 0.5rem;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--dark-color);
    position: relative;
}

.footer-content {
    padding: 60px 0 40px;
}

.footer-header {
    text-align: center;
    margin-bottom: 40px;
}

.footer-names {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.footer-names i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 0 10px;
}

.footer-date {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: rgba(232, 213, 183, 0.7);
    letter-spacing: 2px;
}

.footer-gallery {
    margin-bottom: 40px;
}

.footer-gallery-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-gallery-item {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid rgba(232, 213, 183, 0.2);
}

.footer-gallery-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-text {
    color: rgba(232, 213, 183, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: center;
}

.legal-links {
    text-align: center;
    margin-bottom: 20px;
}

.legal-links a {
    color: var(--accent-color);
    margin: 0 15px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-light);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(232, 213, 183, 0.5);
    font-family: var(--font-body);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 999;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* ---------- Modals ---------- */
.modal-content {
    border-radius: var(--border-radius-md);
    border: none;
    box-shadow: 0 20px 60px rgba(44, 62, 80, 0.15);
    overflow: hidden;
}

.modal-header {
    background: var(--primary-color);
    border: none;
    padding: 20px 25px;
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--white-color);
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 30px 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

/* ---------- Leaflet Map Custom Styles ---------- */
.leaflet-popup-content-wrapper {
    border-radius: var(--border-radius-sm) !important;
    box-shadow: var(--shadow-soft) !important;
}

.leaflet-popup-content {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin: 10px 15px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* ---------- Large devices (desktops, less than 1200px) ---------- */
@media (max-width: 1199.98px) {
    .hero-content .first-name,
    .hero-content .second-name {
        font-size: 3.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .story-content {
        padding: 40px;
    }

    .rsvp-card {
        padding: 40px;
    }

    .venue-card {
        padding: 35px;
    }
}

/* ---------- Medium devices (tablets, less than 992px) ---------- */
@media (max-width: 991.98px) {
    .section {
        padding: 80px 0 50px;
    }

    .hero-content .first-name,
    .hero-content .second-name {
        font-size: 3rem;
    }

    .hero-content .ampersand {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 45px;
    }

    .story-content {
        padding: 35px;
    }

    .rsvp-card {
        padding: 35px;
    }

    .venue-card {
        padding: 30px;
        margin-bottom: 20px;
    }

    .venue-map {
        min-height: 300px;
    }

    .footer-names {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .countdown-box {
        padding: 14px 18px;
        min-width: 80px;
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .navbar-collapse {
        background: var(--white-color);
        border-radius: var(--border-radius-md);
        padding: 15px;
        margin-top: 10px;
        box-shadow: var(--shadow-medium);
    }

    .navbar-collapse .nav-link {
        color: var(--dark-color) !important;
        padding: 10px 15px !important;
        margin: 2px 0;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        background: var(--primary-color) !important;
        color: var(--white-color) !important;
    }

    .location-pills {
        flex-wrap: wrap;
        border-radius: var(--border-radius-md);
    }

    .location-pills .nav-link {
        font-size: 0.85rem;
        padding: 8px 18px;
    }

    .wave-divider svg {
        height: 60px;
    }

    .hero-wave svg {
        height: 70px;
    }
}

/* ---------- Small devices (landscape phones, less than 768px) ---------- */
@media (max-width: 767.98px) {
    .section {
        padding: 70px 0 40px;
    }

    .hero-section {
        min-height: 100vh;
    }

    .hero-content .first-name,
    .hero-content .second-name {
        font-size: 2.5rem;
    }

    .hero-content .ampersand {
        font-size: 1.3rem;
        margin: 5px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .wedding-date {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-icon {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }

    .story-content {
        padding: 30px 25px;
        font-size: 1rem;
    }

    .rsvp-card {
        padding: 30px 25px;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-box {
        padding: 12px 14px;
        min-width: 70px;
    }

    .countdown-value {
        font-size: 1.4rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .venue-map {
        min-height: 250px;
        margin-top: 20px;
    }

    .footer-names {
        font-size: 1.6rem;
    }

    .footer-date {
        font-size: 0.95rem;
    }

    .footer-gallery-item {
        width: 60px;
        height: 60px;
    }

    .agenda-postcard {
        padding: 30px 25px;
        min-height: 200px;
    }

    .attendance-options {
        flex-direction: column;
    }

    .attendance-option {
        min-width: 100%;
    }

    .btn-submit {
        padding: 12px 40px;
        font-size: 1rem;
    }

    .contact-card {
        padding: 30px 25px;
    }

    .wave-divider svg {
        height: 50px;
    }

    .hero-wave svg {
        height: 60px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

/* ---------- Extra small devices (phones, less than 576px) ---------- */
@media (max-width: 575.98px) {
    .section {
        padding: 60px 0 30px;
    }

    .hero-content .first-name,
    .hero-content .second-name {
        font-size: 2rem;
    }

    .hero-content .ampersand {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .wedding-date {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .story-content {
        padding: 25px 20px;
        font-size: 0.95rem;
    }

    .rsvp-card {
        padding: 25px 20px;
    }

    .countdown-box {
        padding: 10px 12px;
        min-width: 60px;
        border-radius: var(--border-radius-sm);
    }

    .countdown-value {
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        border-radius: var(--border-radius-sm);
    }

    .venue-card {
        padding: 25px 20px;
    }

    .venue-map {
        min-height: 220px;
    }

    .info-card {
        padding: 25px 20px;
        min-height: 180px;
    }

    .footer-names {
        font-size: 1.4rem;
    }

    .footer-gallery-item {
        width: 50px;
        height: 50px;
    }

    .accordion-button {
        padding: 14px 18px;
        font-size: 0.9rem;
    }

    .modal-body {
        padding: 20px 18px;
    }

    .location-pills .nav-link {
        font-size: 0.8rem;
        padding: 8px 14px;
    }

    .wave-divider svg {
        height: 40px;
    }

    .hero-wave svg {
        height: 50px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand .brand-icon {
        font-size: 0.85rem;
    }
}

/* ---------- Fancybox overrides ---------- */
.fancybox__container {
    --fancybox-bg: rgba(44, 62, 80, 0.92);
}

/* ---------- Print Styles ---------- */
@media print {
    .navbar,
    .back-to-top,
    .wave-divider,
    .footer-wave,
    .scroll-down,
    #preloader {
        display: none !important;
    }

    .hero-section {
        height: auto;
        min-height: auto;
        padding: 40px 0;
    }

    .section {
        padding: 30px 0;
        page-break-inside: avoid;
    }

    body {
        background: white;
        color: black;
    }
}

/* Dresscode Farbpalette */
.dresscode-palette {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}
.dresscode-swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
    position: relative;
}
.dresscode-swatch:hover {
    transform: scale(1.15);
}
.swatch-label {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    margin-top: 6px;
    color: var(--text-secondary, #666);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
