/* ==========================================================================
   RESET & CORE VARIABLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #ffffff;
    --text-main: #121212;
    --text-muted: #888888;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.brand-logo {
    z-index: 1002;
}

.brand-logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 200;
    color: var(--text-main);
    opacity: 0.85;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.nav-link:hover {
    opacity: 1;
    letter-spacing: 0.3em;
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    list-style: none;
    padding: 14px 24px;
    margin: 0;
    min-width: 160px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    z-index: 1001;
    text-align: center;
}

.dropdown-menu li {
    margin: 8px 0;
}

.dropdown-link {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 300;
    color: var(--text-main);
    opacity: 0.75;
    transition: var(--transition-smooth);
    display: block;
    white-space: nowrap;
}

.dropdown-link:hover {
    opacity: 1;
    letter-spacing: 0.25em;
}

.has-dropdown.active .dropdown-menu {
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.hamburger-line {
    width: 24px;
    height: 1px;
    background-color: var(--text-main);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* ==========================================================================
   HERO SLIDER & HERO SECTION
   ========================================================================== */
.hero-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 4;
    max-height: 150vh;
    overflow: hidden;
    background-color: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-slides {
    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%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.8s ease-in-out, visibility 1.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.22);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 0 20px;
    max-width: 700px;
}

.hero-title-main {
    font-family: var(--font-sans);
    font-weight: 200;
    font-size: clamp(0.75rem, 1.4vw, 1.1rem);
    color: #ffffff;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 60px 6vw 40px 6vw;
    max-width: 1600px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 4.2rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 900px;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    font-weight: 300;
}

.hero-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ==========================================================================
   ABOUT US SECTION & TEXT CONTENT
   ========================================================================== */
.about-section {
    padding-top: 0;
    padding-bottom: 30px;
    padding-left: var(--container-padding, 20px);
    padding-right: var(--container-padding, 20px);
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    text-align: left;
}

.about-container {
    max-width: 650px;
    margin: 0;
}

.about-sub {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-muted, #888888);
    margin-bottom: 0.5rem;
}

.about-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 2.2vw, 2rem);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    color: var(--text-main, #111111);
}

/* Styling untuk lokasi venue di preview */
.preview-venue {
    display: block;
    font-size: 0.75rem; /* Lebih kecil dari deskripsi (0.9rem) */
    text-transform: none;
    letter-spacing: 0.2em;
    color: var(--text-main, #545454);
    margin-top: 0.4rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.about-body p, 
.preview-description p {
    font-family: var(--font-sans);
    font-size: clamp(0.6rem, 1.0vw, 0.75rem);
    font-weight: 300;
    line-height: 1.75;
    color: #444444;
    margin-bottom: 0.8rem;
    letter-spacing: 0.01em;
}

.about-body p:last-child,
.preview-description p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   EDITORIAL GALLERY (DESKTOP BASE & ASYMMETRIC SCATTER)
   ========================================================================== */
.editorial-gallery {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 4vw 140px 4vw;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2vw;
}

.gallery-item {
    position: relative;
    grid-column: var(--col-start) / span var(--col-span);
    margin-top: var(--m-top);
    margin-bottom: var(--m-bottom);
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transform-origin: center top;
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.is-visible {
    opacity: 1;
    transform: scale(0.9) translateY(0);
}

.gallery-item-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f7f7f7;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.aspect-portrait {
    aspect-ratio: 3 / 4;
}

.aspect-landscape {
    aspect-ratio: 16 / 10;
}

.photo-meta {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.photo-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 300;
}

.photo-location {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 200;
}

/* ==========================================================================
   LOVE LETTERS / TESTIMONIALS SECTION
   ========================================================================== */
.love-letters-section {
    padding: 100px 4vw;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.love-letters-sub {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.love-letters-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 50px;
}

.testimonials-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
}

.testimonials-wrapper {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 10px;
    width: 100%;
}

.testimonials-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(50% - 20px);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: #121212;
}

.testimonial-img-wrapper {
    width: 180px;
    height: 240px;
    overflow: hidden;
    margin-bottom: 24px;
    background-color: #f7f7f7;
    border: 1px solid #f0f0f0;
}

.testimonial-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
    transition: transform 0.8s ease, filter 0.8s ease;
}

.testimonial-card:hover .testimonial-img-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.testimonial-text {
    font-family: var(--font-sans);
    font-style: italic;
    font-size: clamp(0.9rem, 1.0vw, 0.99rem);
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-main, #111111);
    letter-spacing: 0.01em;
    margin-bottom: 20px;
    max-width: 480px;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 300;
    color: var(--text-muted);
}

.testimonial-author::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: #ccc;
    margin: 0 auto 16px auto;
}

.slider-nav-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-nav-btn:hover {
    background-color: var(--text-main);
    color: #ffffff;
    border-color: var(--text-main);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* ==========================================================================
   WEDDING PAGE & PREVIEW SINGLE COLUMN VERTICAL (FULL BLEED)
   ========================================================================== */
.wedding-page-main {
    padding-top: 100px;
}

.wedding-about-section {
    padding-top: 30px;
    padding-bottom: 50px;
}

/* Layout Foto Berurutan Lurus ke Bawah (Full Screen Width) */
.wedding-stacked-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    overflow: hidden;
}

.wedding-stacked-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}

.stacked-item {
    width: 100%;
    display: block;
    overflow: hidden;
    background-color: #f7f7f7;
}

.stacked-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   BRAND LOGO & VENUE PARTNERS
   ========================================================================== */
.brand-showcase-section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 40px;
}

.brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-height: 42px;
    width: auto;
    max-width: 154px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   FOOTER & BUTTONS
   ========================================================================== */
.site-footer {
    padding: 100px 6vw 50px 6vw;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-cta {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 300;
    margin-bottom: 2rem;
}

.btn-contact {
    display: inline-block;
    padding: 14px 38px;
    border: 1px solid var(--text-main);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 300;
    transition: var(--transition-smooth);
    background: transparent;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-contact:hover {
    background-color: var(--text-main);
    color: #ffffff;
}

.copyright {
    margin-top: 80px;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-muted);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & ANIMATION
   ========================================================================== */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--text-main, #121212);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 300;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    animation: waGiggle 4s infinite ease-in-out;
}

.floating-wa-btn:hover {
    background-color: #25d366;
    color: #ffffff;
    border-color: #25d366;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.wa-icon {
    display: block;
    flex-shrink: 0;
}

@keyframes waGiggle {
    0%, 75%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    78% {
        transform: translateY(-3px) rotate(-6deg);
    }
    81% {
        transform: translateY(0) rotate(6deg);
    }
    84% {
        transform: translateY(-3px) rotate(-6deg);
    }
    87% {
        transform: translateY(0) rotate(6deg);
    }
    90% {
        transform: translateY(0) rotate(0deg);
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE (ALL MOBILE OVERRIDES)
   ========================================================================== */
@media (max-width: 768px) {
    /* ----------------------------------------------------------------------
       POIN 1: TEKS SELAIN HEADLINE / JUDUL DIKECILKAN 10% KHUSUS MOBILE
       ---------------------------------------------------------------------- */
    .about-body p, 
    .preview-description p,
    main p {
        font-size: 0.6rem !important; /* Turun 10% dari 0.88rem */
        line-height: 1.6;
    }

    .hero-sub, 
    .about-sub, 
    .love-letters-sub {
        font-size: 0.58rem !important; /* Turun 10% dari 0.65rem */
    }

    .preview-venue {
        font-size: 0.4rem !important; /* Lebih kecil dari deskripsi mobile (0.79rem) */
    }

    .photo-location {
        font-size: 0.47rem !important; /* Turun 10% dari 0.52rem */
    }

    .testimonial-text {
        font-size: 0.8rem !important; /* Turun 10% dari ~0.9rem */
    }

    .testimonial-author {
        font-size: 0.65rem !important; /* Turun 10% dari 0.72rem */
    }

    .copyright {
        font-size: 0.56rem !important; /* Turun 10% dari 0.62rem */
    }

    /* ----------------------------------------------------------------------
       Header & Navigation Mobile
       ---------------------------------------------------------------------- */
    .site-header {
        padding: 18px 5vw;
    }

    .brand-logo img {
        height: 24px;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1005;
        cursor: pointer;
    }

    .menu-toggle.is-active .hamburger-line:nth-child(1) {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle.is-active .hamburger-line:nth-child(2) {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.2rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
        z-index: 1001;
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 0.95rem;
        letter-spacing: 0.3em;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 12px 0 0 0;
    }

    .dropdown-link {
        font-size: 0.78rem;
        opacity: 0.65;
    }

    /* Hero Sections */
    .hero-slider-container {
        aspect-ratio: 4 / 5;
    }

    .hero-title-main {
        font-size: 0.8rem;
        letter-spacing: 0.22em;
    }

    .hero-section {
        padding-top: 40px;
        min-height: auto;
    }

    /* About Section */
    .about-section {
        padding-top: 0;
        padding-bottom: 50px;
    }

    .about-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    /* Editorial Gallery Scatter Pattern */
    .editorial-gallery {
        padding-left: 3vw;
        padding-right: 3vw;
    }

    .photo-meta {
        margin-top: 6px;
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }

    .photo-title {
        font-size: 0.75rem;
        letter-spacing: 0.05em;
    }

    .gallery-item {
        margin-top: 0 !important;
        margin-bottom: 36px !important;
    }

    .gallery-item:nth-child(3n+1) {
        grid-column: 1 / span 10 !important;
    }

    .gallery-item:nth-child(3n+2) {
        grid-column: 3 / span 10 !important;
    }

    .gallery-item:nth-child(3n) {
        grid-column: 2 / span 11 !important;
    }

    .gallery-item.is-visible {
        transform: scale(1) translateY(0);
    }

    /* Testimonials */
    .testimonial-card {
        flex: 0 0 90%;
    }

    .testimonials-slider-container {
        padding: 0;
    }

    .slider-nav-btn {
        display: none;
    }

    /* Wedding Preview Mobile */
    .wedding-page-main {
        padding-top: 80px;
    }

    /* Floating WA Button */
    .floating-wa-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.62rem;
        letter-spacing: 0.18em;
    }
}