/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@200;300;400;500;600;700;800&display=swap');

/* =============================================================================
   1. Body and Basic Styles
   ========================================================================== */
body {
    margin: 0;
    font-family: 'Lexend', Arial, sans-serif;
    background: #fdf6ee;
    padding-top: 80px; /* Match header height */
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.highlight-gold {
    color: #ffb300;
    font-weight: 700;
}
.highlight-yellow {
    color: #ffd600;
    font-weight: 700;
}

/* =============================================================================
   2. Header & Navigation
   ========================================================================== */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #b48a78;
    letter-spacing: 1px;
    text-decoration: none;
    z-index: 1001;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}
.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #b48a78;
    position: relative;
    transition: all 0.3s ease;
}
.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #b48a78;
    transition: all 0.3s ease;
}
.menu-icon::before { top: -8px; }
.menu-icon::after { bottom: -8px; }
.main-nav {
    display: flex;
    align-items: center;
}
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}
.menu li a {
    font-family: 'Lexend', sans-serif;
    text-decoration: none;
    color: #6d4c41;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.menu li a:hover,
.menu li a:focus {
    color: #b48a78;
    background-color: rgba(180, 138, 120, 0.1);
}
.menu li a.active {
    color: #b48a78;
    font-weight: 600;
}

/* =============================================================================
   3. Homepage Sections
   ========================================================================== */

/* --- Hero Section --- */
.hero-card {
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 8px 32px 0 rgba(15, 14, 14, 0.18), 0 2px 8px 0 rgba(0,0,0,0.06);
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-width: 1100px;
    margin: 48px auto 0 auto;
    overflow: hidden;
}
.hero-left {
    flex: 1;
    padding: 20px 36px 48px 36px;
    display: flex;
    max-width: 410px;
    flex-direction: column;
    justify-content: center;
}
.hero-left h1 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.18;
    margin-bottom: 12px;
}
.hero-left h1 .hero-text {
    font-size: 2.5rem;
    font-weight: 200;
}
.hero-left h1 .highlight-gold {
    font-size: 2.2rem;
}
.tagline {
    font-size: 1.22rem;
    font-weight: 400;
    margin-bottom: 24px;
}
.hero-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}
.form-row {
    display: flex;
    gap: 12px;
}
.form-row input {
    flex: 1 1 0;
    min-width: 0;
}
.hero-form input,
.hero-form select {
    padding: 12px 18px;
    border: 2px solid #ffb300;
    border-radius: 22px;
    font-size: 1rem;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s;
}
.hero-form input:focus,
.hero-form select:focus {
    border: 2px solid #b48a78;
    outline: none;
}
.hero-form input::placeholder { color: #b48a78; opacity: 1; }
.hero-form button.cta-btn {
    background: #ffb300;
    color: #222;
    border: none;
    border-radius: 22px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255,179,0,0.08);
    transition: background 0.2s;
}
.hero-form button.cta-btn:hover { background: #ffd600; }
.hero-right.carousel {
    flex: 1.1;
    position: relative;
    overflow: hidden;
    background: #f8f4ee;
}
.hero-right.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.carousel-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e0cfa7;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.carousel-dots .dot.active {
    background: #ffb300;
    transform: scale(1.15);
}

/* --- About Love Section (Optimized) --- */
.about-love-card {
    position: relative;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.13), 0 2px 8px 0 rgba(0,0,0,0.06);
    max-width: 996px;
    margin: 48px auto 0 auto;
    padding: 40px 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
/* About Love Card Typography */
.about-love-card h2 {
    font-size: 1.5rem; /* Default for mobile */
    font-weight: 500;
    margin: 0 0 15px 0;
    text-align: center;
    color: #333;
    line-height: 1.3;
}

.about-love-card p {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    font-weight: 300;
    text-align: center;
    color: #555;
    margin: 0 auto;
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .about-love-card h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    
    .about-love-card p {
        font-size: 1rem;
        padding: 0 30px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .about-love-card p {
        font-size: 15px;
        line-height: 1.7;
        max-width: 700px;
        padding: 0 40px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .about-love-card p {
        font-size: 16px;
        max-width: 800px;
        padding: 0 60px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .about-love-card p {
        padding: 0 80px;
    }
}

.about-love-content {
    width: 100%;
    text-align: center;
    z-index: 1;
    padding: 0 15px;
    box-sizing: border-box;
}
.floral {
    position: absolute;
    width: 180px;
    height: auto;
    z-index: 0;
    opacity: 0.85;
    pointer-events: none;
}
.floral-left { left: 2px; top: 0; }
.floral-right { right: 2px; top: 50px; }


/* === Replace the old Memories section CSS with this block === */

.memories-section {
    margin: 56px auto 0 auto;
    max-width: 1600px;
    width: 96vw;
    text-align: center;
}
.memories-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}
.memories-line {
    flex: 1;
    height: 3px;
    background: #ffd600;
    border-radius: 2px;
    margin: 0 18px;
    max-width: 660px;
}
.memories-title {
    font-family: 'Lexend', Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}
.memories-heart {
    color: #888;
    font-size: 1.7rem;
    margin-right: 7px;
    vertical-align: middle;
}
.memories-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}
.memory-card {
    width: 280px;
    height: 350px; /* Adjusted height for portrait look */
    border-radius: 28px;
    box-shadow: 0 4px 24px 0 rgba(180,138,120,0.12);
    position: relative;
    display: flex; /* This will help center the injected content */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.18s;
    background: #f0f0f0;
}
.memory-card:hover {
    transform: translateY(-7px) scale(1.03);
    box-shadow: 0 10px 32px 0 rgba(255,179,0,0.14);
}
.memory-card.loading {
    /* Styles for the initial loading state */
    align-items: center;
    justify-content: center;
}
.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #333;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.memory-card-link {
    /* This is the <a> tag that your JS creates */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}
.memory-card-image {
    /* This is the background image div */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    aspect-ratio: 1/1; /* Default square aspect ratio */
    object-fit: cover; /* Ensure image covers the area without distortion */
}
.memory-card:hover .memory-card-image {
    transform: scale(1.05);
}
.memory-label {
    /* This is the styled label text */
    position: relative; /* Stays on top of the image div */
    z-index: 2;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    color: #ffd600; /* Yellow/Gold text */
    padding: 10px 25px;
    border-radius: 99px; /* For the pill shape */
    font-family: 'Lexend', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Memory cards - Mobile responsiveness */
@media (max-width: 900px) {
    .memories-cards {
        gap: 30px;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .memory-card {
        width: 90%;
        max-width: 500px;
        height: 500px; /* Fixed height for larger cards */
        min-height: 500px; /* Ensure minimum height is respected */
        margin: 0 auto 25px;
        position: relative;
        overflow: hidden;
        border-radius: 16px; /* Match your design */
        box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: Add shadow for depth */
    }
    
    .memory-card-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .memory-label {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        background: rgba(0, 0, 0, 0.7);
        color: #ffd600;
        padding: 12px 30px;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
    }
}

/* --- Pre-Wedding Stories Section --- */
.pre-wedding-section {
    padding: 100px 0 60px; /* Increased top padding to account for fixed header */
    background-color: #f9f9f9;
    overflow: hidden;
    position: relative;
    z-index: 1; /* Create stacking context */
}
.pre-wedding-section .swiper-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px 50px;
}
.pre-wedding-section .swiper-slide {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: auto;
    opacity: 0.9;
    transition: transform 0.3s, box-shadow 0.3s;
}
.pre-wedding-section .swiper-slide-active {
    opacity: 1;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.pre-wedding-section .swiper-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Swiper Navigation Buttons */
.pre-wedding-section .swiper-button-prev,
.pre-wedding-section .swiper-button-next {
    width: 44px !important;
    height: 44px !important;
    margin-top: -22px !important; /* Half of height */
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 900 !important; /* Lower than header */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pre-wedding-section .swiper-button-prev {
    left: 10px !important;
    right: auto !important;
}

.pre-wedding-section .swiper-button-next {
    right: 10px !important;
    left: auto !important;
}

.pre-wedding-section .swiper-button-prev::after,
.pre-wedding-section .swiper-button-next::after {
    font-size: 20px !important;
    color: #b48a78 !important;
    font-weight: bold !important;
    font-family: 'swiper-icons' !important;
    position: relative !important;
    margin: 0 !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
}

.pre-wedding-section .swiper-button-prev:hover,
.pre-wedding-section .swiper-button-next:hover {
    background: #b48a78 !important;
}

.pre-wedding-section .swiper-button-prev:hover::after,
.pre-wedding-section .swiper-button-next:hover::after {
    color: white !important;
}
.loading-slide {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.couple-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pre-wedding-section .swiper-pagination {
    position: relative;
    margin-top: 20px;
    bottom: 0;
}

.pre-wedding-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #c9a063;
    opacity: 0.5;
    margin: 0 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pre-wedding-section .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
    background: #b48a78;
}

.pre-wedding-section .swiper-pagination-bullet:hover {
    opacity: 0.8;
}

/* Swiper Navigation Buttons */
.pre-wedding-section .swiper-button-prev,
.pre-wedding-section .swiper-button-next {
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    opacity: 0;
    visibility: hidden;
}

.pre-wedding-section .swiper-button-prev {
    left: 10px;
}

.pre-wedding-section .swiper-button-next {
    right: 10px;
}

.pre-wedding-section .swiper-button-prev::after,
.pre-wedding-section .swiper-button-next::after {
    font-size: 18px;
    color: #b48a78;
    font-weight: bold;
}

/* Swiper container */
.pre-wedding-section .swiper-container {
    position: relative;
    padding: 0 50px;
}

/* Hover effect */
.pre-wedding-section .swiper-button-prev:hover,
.pre-wedding-section .swiper-button-next:hover {
    background: #b48a78;
}

.pre-wedding-section .swiper-button-prev:hover::after,
.pre-wedding-section .swiper-button-next:hover::after {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pre-wedding-section .swiper-button-prev,
    .pre-wedding-section .swiper-button-next {
        width: 36px;
        height: 36px;
    }
    
    .pre-wedding-section .swiper-button-prev::after,
    .pre-wedding-section .swiper-button-next::after {
        font-size: 16px;
    }
}

.image-container {
    position: relative;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.couple-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.swiper-slide:hover .couple-image {
    transform: scale(1.05);
}
.couple-info {
    padding: 15px 10px;
    flex-grow: 1;
    text-align: center;
}
.couple-info h3 {
    font-size: 1.1em;
    font-weight: 600;
}
.couple-info p {
    font-size: 0.85em;
    color: #888;
}
.couple-card-link {
    text-decoration: none;
    color: inherit;
}

/* --- Our Team Section (Optimized) --- */
.our-team-wrapper {
    margin-top: 70px;
}
.our-team-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 1200px;
    width: 96vw;
    margin: 70px auto 0;
}
.our-team-image {
    flex: 1;
    aspect-ratio: 5 / 3; /* Replaces fixed height/width */
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(180,138,120,0.13);
}
.our-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.our-team-content {
    flex: 1;
    max-width: 540px;
}
.our-team-title {
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 18px;
}
.our-team-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}
.our-team-content p {
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}
.our-team-link {
    font-size: 11px;
    color: #888;
    text-decoration: none;
    transition: color 0.15s;
}
.our-team-link:hover {
    color: #ffd600;
}

/* --- Counter Section --- */
.counter-section {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    margin-top: 40px;
}
.counter-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 24px;
    padding: 0 20px;
}
.counter-item {
    flex: 1 1 120px;
    text-align: center;
    transition: transform 0.3s ease;
}
.counter-item:active {
    transform: scale(0.97);
}
.counter-number {
    font-family: 'Public Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}
.counter-label {
    font-family: 'Public Sans', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

/* --- CTA Section --- */
.cta-section {
    padding: 48px 20px 36px;
}
.cta-title {
    font-size: 27px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cta-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin: 8px 0 22px;
}
.cta-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}
.cta-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #ffd600;
    border-radius: 22px;
    font-size: 1.07rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.cta-input:focus {
    border-color: #ffb300;
}
.cta-button {
    background: #EEAB00;
    color: #000;
    border: none;
    border-radius: 90px;
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 10;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.16s;
    box-shadow: 0 4px 18px 0 rgba(180,138,120,0.10);
}
.cta-button:hover {
    background: #ffb300;
}

/* --- Footer Section --- */
.footer-section {
    background: #fff;
    padding-top: 36px;
    margin-top: 40px;
    border-top: 1.5px solid #ffe9b3;
    box-shadow: 0 -2px 24px 0 rgba(180,138,120,0.05);
}
.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    gap: 32px;
}
.footer-col {
    flex: 1 1 180px;
    min-width: 160px;
    margin-bottom: 18px;
}
.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 14px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.footer-col ul li {
    font-size: 0.85rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.footer-col ul li a.footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a.footer-link:hover {
    color: #b48a78;
}
.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
}
.facebook { color: #1877F2; }
.instagram { color: #E1306C; }
.youtube { color: #FF0000; }
.footer-col.footer-social {
    align-items: center;
    text-align: center;
}
.footer-logo img {
    width: 200px;
    height: auto;
    margin-bottom: 4px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 18px auto 0;
    padding: 12px 32px;
    border-top: 2px solid #ffd600;
}
.footer-bottom-link {
    color: #444;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.18s;
}
.footer-bottom-link:hover {
    color: #b68c28;
    text-decoration: underline;
}


/* =============================================================================
   4. Component Styles (from index.html)
   ========================================================================== */

/* --- Modal & Lightbox --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.show {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.modal.show .modal-content {
    transform: translateY(0);
}
.modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.success .modal-icon { color: #4CAF50; }
.error .modal-icon { color: #f44336; }
.modal-message {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.5;
}
.modal-close {
    background: #c9a063;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.modal-close:hover {
    background: #b38c4a;
}
.pswp {
    --pswp-bg: rgba(0, 0, 0, 0.9);
}
.pswp__button--zoom {
    display: block !important;
}
.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #333;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}


/* =============================================================================
   5. Media Queries
   ========================================================================== */
@media (max-width: 1200px) {
    .about-love-card { padding: 32px 8vw; }
    .floral { width: 80px; }
    .floral-left { left: -20px; }
    .floral-right { right: -20px; }
}

@media (max-width: 768px) {
    .floral { 
        width: 60px;
        opacity: 0.7;
    }
    .floral-left { 
        left: -15px;
        top: 10px;
    }
    .floral-right { 
        right: -15px;
        top: 230px !important;
    }
}

@media (max-width: 480px) {
    .floral { 
        width: 50px;
        opacity: 0.6;
    }
    .floral-left { 
        left: 5px;
        top: 10px;
    }
    .floral-right { 
        right: 5px;
        top: 380px;
    }
}

@media (max-width: 1024px) {
    .menu { gap: 15px; }
    .menu li a { font-size: 0.95rem; padding: 6px 10px; }
}

@media (max-width: 900px) {
    /* Layouts */
    .hero-card, .our-team-section, .footer-main, .footer-bottom {
        flex-direction: column;
    }
    .hero-card, .our-team-section { max-width: 98vw; }
    .form-row { flex-direction: column; gap: 10px; }
    /* Hero */
    .hero-left, .hero-right { padding: 32px 18px; }
    .hero-left h1, .hero-left h1 .hero-text { font-size: 1.8rem; line-height: 1.2; }
    .hero-left h1 .highlight-gold { font-size: 1.8rem; }
    .tagline { font-size: 1rem; }
    .hero-right.carousel { padding: 0; }
    .hero-right.carousel img { aspect-ratio: 16 / 10; }
    /* Team */
    .our-team-section { gap: 28px; }
    .our-team-content { text-align: center; max-width: 98vw; margin-left: 0; }
    .our-team-image { max-width: 400px; width: 100%; }
    /* Counter */
    .counter-row { max-width: 600px; gap: 10px; }
    .counter-item { flex-basis: calc(50% - 15px); }
    /* Memories */
    .memories-cards { gap: 18px; }
    /* Footer */
    .footer-main { gap: 0; padding: 0 10px; }
    .footer-col { margin-bottom: 22px; }
    .footer-bottom { gap: 6px; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 0; right: 0;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transform: translateX(100%);
        flex-direction: column;
        padding: 100px 30px 40px;
        z-index: 1001;
        overflow-y: auto;
        box-sizing: border-box;
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
    .main-nav.active { transform: translateX(0); }
    .menu { flex-direction: column; width: 100%; gap: 0; }
    .menu li { opacity: 0; transform: translateX(20px); transition: opacity 0.3s, transform 0.3s; }
    .main-nav.active .menu li { opacity: 1; transform: translateX(0); }
    .main-nav.active .menu li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.active .menu li:nth-child(2) { transition-delay: 0.15s; }
    .main-nav.active .menu li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav.active .menu li:nth-child(4) { transition-delay: 0.25s; }
    .main-nav.active .menu li:nth-child(5) { transition-delay: 0.3s; }
    .menu li a { display: block; padding: 15px 0; font-size: 1.1rem; }
    .mobile-menu-toggle.active .menu-icon { background: transparent; }
    .mobile-menu-toggle.active .menu-icon::before { transform: rotate(45deg); top: 0; }
    .mobile-menu-toggle.active .menu-icon::after { transform: rotate(-45deg); bottom: 0; }
}

@media (max-width: 600px) {
    .cta-form { max-width: 100%; }
    .cta-input, .cta-button { width: 100%; margin-left: 0; }
    .couple-info h3 { font-size: 1em; }
    .couple-info p { font-size: 0.8em; }
}

@media (max-width: 480px) {
    .header-container { padding: 0 20px; }
    .logo { font-size: 1.5rem; }
    .main-nav { width: 100%; max-width: 100%; }
    .counter-row { padding: 24px 15px; }
    .counter-number { font-size: 1.6rem; }
    .counter-label { font-size: 0.75rem; }
    .memories-cards { gap: 10px; }
    .pre-wedding-section .swiper-container { padding: 20px 15px 40px; }
    .footer-col { align-items: center; text-align: center; }
    .footer-bottom { font-size: 12px; }
}

/* ArtiBot Chat Widget */
#artibot-1750348876197 {
    position: fixed !important;
    bottom: 100px !important;
    right: 30px !important;
    z-index: 9999 !important;
    width: 400px !important;
    height: 600px !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure iframe inside ArtiBot is properly sized */
#artibot-1750348876197 iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 16px !important;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10000;  /* Higher than ArtiBot to ensure it's clickable */
    transition: all 0.3s ease;
    text-decoration: none;
    text-decoration: none; /* Remove underline from the link */
    transition: transform 0.2s ease-in-out; /* Smooth transition for hover effect */
}

.whatsapp-button:hover {
    transform: scale(1.1); /* Slightly enlarge the button on hover */
}