:root {
    --plum: #601444;
    --plum-dark: #4d1036;
    --lavender: #BE84BD;
    --cream: #FDF9F9;
}

/* --- Global Reset & Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--plum);
    color: var(--cream);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* --- Navigation & Mobile Menu --- */
nav {
    background: rgba(96, 20, 68, 0.95);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(190, 132, 189, 0.2);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--lavender);
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--lavender);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Hamburger Icon (Mobile Only) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--lavender);
    transition: 0.3s;
}

/* --- Sections --- */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: var(--lavender);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* --- Hero Section --- */
.hero {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(to bottom, var(--plum), var(--plum-dark));
}

.hero img {
    max-width: 220px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.hero p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- Events Section (Upcoming) --- */
.event-slot {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.event-slot:nth-child(even) {
    flex-direction: row-reverse;
}

.event-img {
    flex: 1;
}

.event-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.event-text {
    flex: 1;
}

.event-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* --- Catalog Slider --- */
.swiper-catalog {
    width: 100%;
    max-width: 450px; /* Limits width on desktop so it doesn't get too tall */
    margin: 0 auto;
    height: auto !important; /* Force the container to follow the image height */
    aspect-ratio: 9 / 16; /* Matches your 1080x1920 source images */
    border-radius: 20px;
    overflow: hidden;
}

.swiper-catalog .swiper-wrapper {
    height: 100% !important;
}

.swiper-catalog .swiper-slide {
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.swiper-catalog .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* This ensures it fills the 9:16 box perfectly */
    display: block;
}

/* Adjust overlay so it doesn't hide the "Ada Bunga" logo in the center */
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 15px;
    background: linear-gradient(to top, rgba(96, 20, 68, 0.9), transparent);
    font-size: 1.1rem;
    color: var(--cream);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* --- Customer Happy (Marquee) --- */
.swiper-marquee .swiper-slide {
    width: auto;
}

.swiper-marquee img {
    height: 500px; /* Increased height to better showcase vertical shots */
    width: auto;
    border-radius: 12px;
}

/* --- Gallery & Studio Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    background-color: var(--plum-dark);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(190, 132, 189, 0.3);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

/* --- Map & Contact --- */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--lavender);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.btn-contact, .btn-insta {
    display: inline-block;
    background-color: var(--lavender);
    color: var(--plum);
    text-align: center;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.2s, background 0.3s;
    border: 2px solid var(--lavender);
}

.btn-insta {
    background: transparent;
    color: var(--lavender);
}

.btn-insta:hover {
    background: var(--lavender);
    color: var(--plum);
}

.btn-contact:active {
    transform: scale(0.95);
}

/* --- WhatsApp Floating --- */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    text-decoration: none;
}

/* --- Modal & Animations --- */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(96, 20, 68, 0.95);
    backdrop-filter: blur(8px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    border: 2px solid var(--lavender);
    animation: zoom 0.4s;
}

@keyframes zoom {
    from {transform: scale(0)} to {transform: scale(1)}
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    section { padding: 60px 20px; }
    
    .menu-toggle { display: flex; }

    .nav-links {
        display: none; /* Logic handled via JS class toggle */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--plum);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid var(--lavender);
    }

    .nav-links.active {
        display: flex;
    }

    .event-slot, .event-slot:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .section-title { font-size: 2rem; }
    
    .swiper-catalog { height: 350px; }
    
    .slide-overlay {
        bottom: 20px;
        left: 20px;
        font-size: 1.2rem;
        padding: 10px 15px;
    }
}

footer {
            text-align: center;
            padding: 40px 20px;
            font-size: 0.8rem;
            opacity: 0.6;
        }
        
/* Floating Music Button */
.music-float {
    position: fixed;
    bottom: 90px; /* Positioned above the WhatsApp button */
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--lavender); /* Using your branding color */
    color: var(--dark-plum);
    border-radius: 50px;
    text-align: center;
    font-size: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.music-float:hover {
    transform: scale(1.1);
    background-color: var(--cream);
}

/* Animation for when music is playing */
.music-playing {
    animation: pulse-music 2s infinite;
}

@keyframes pulse-music {
    0% { box-shadow: 0 0 0 0 rgba(189, 178, 201, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(189, 178, 201, 0); }
    100% { box-shadow: 0 0 0 0 rgba(189, 178, 201, 0); }
}

/* Decorative separator line between events */
.event-separator {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--lavender), transparent);
    max-width: 60%;
    margin: 50px auto;
    opacity: 0.5;
}