:root {
    --bg-left: #f2e8d9;
    --bg-right: #1a4d2e;
    --text-right: #f2e8d9;
    --accent: #d4c5a9;
    /* A subtle gold/beige for highlights */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition-speed: 0.5s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Left Section */
.brand-section {
    flex: 1;
    background-color: var(--bg-left);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.brand-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    /* Animation for entrance */
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
}

.logo {
    width: 200px;
    height: auto;
    display: block;
    margin-bottom: 2rem;
}

.contact-logo {
    display: none;
    width: 300px;
    height: auto;
    /* Removed absolute positioning to rely on Flexbox centering from parent */
    animation: fadeIn 0.5s ease-out forwards;
}

/* Contact Mode State */
.brand-section.contact-active .brand-content {
    display: none;
}

.brand-section.contact-active .contact-logo {
    display: block;
}

.hero-image-container {
    width: 100%;
    height: 500px;
    /* Fixed height to prevent layout shift */
    border-radius: 200px 200px 0 0;
    /* Arch shape */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background-color: var(--bg-left);
    /* Match background for smooth transition */
    transition: border 0.3s ease;
}

.hero-image-container.bordered {
    border: 2px solid var(--bg-right);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Maintain aspect ratio */
    display: block;
    transition: transform 10s ease;
    transform: scale(var(--base-scale, 1));
}

.hero-image-container:hover .hero-image {
    transform: scale(calc(var(--base-scale, 1) * 1.05));
}

/* Right Section */
.content-section {
    flex: 1;
    background-color: var(--bg-right);
    color: var(--text-right);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    font-family: 'Montserrat', sans-serif;
}

.accordion {
    width: 100%;
    max-width: 600px;
}

.accordion-item {
    border-bottom: 1px solid rgba(242, 232, 217, 0.3);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 2rem 0;
    text-align: left;
    color: var(--text-right);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease, padding-left 0.3s ease;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    color: #fff;
    padding-left: 10px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.accordion-item.active .accordion-content {
    opacity: 1;
}

.accordion-body {
    padding-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    font-size: 1rem;
    color: rgba(242, 232, 217, 0.9);
}

.accordion-body strong {
    font-weight: 700;
}

.accordion-body a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Animations */
.accordion-body p {
    margin-bottom: 1.5rem;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar for Right Section in case of overflow on small heights */
.content-section {
    overflow-y: auto;
    height: 100vh;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .brand-section {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .hero-image-container {
        display: none;
    }

    .content-section {
        min-height: auto;
        padding: 3rem 1.5rem;
        height: auto;
        /* Allow it to grow */
    }

    .accordion-header {
        font-size: 1.3rem;
        padding: 1.5rem 0;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    top: 30px;
    right: 30px;
    background-color: transparent;
    z-index: 1000;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
    display: block;
}