/* ===========================
   Custom Font
   =========================== */
@font-face {
    font-family: 'CMUSerif';
    src: url('../Assets/Xaane Fonts/cmunrm.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

:root {
    /* Color Palette from brand images */
    --color-primary: #9B6B7E;      /* Mauve/dusty rose */
    --color-secondary: #7B5566;    /* Deep burgundy */
    --color-accent: #D4A5B8;       /* Light pink */
    --color-dark: #2C2C2C;         /* Dark gray/black */
    --color-light: #F5F5F5;        /* Off-white */
    --color-white: #FFFFFF;

    /* Typography */
    --font-primary: 'CMUSerif', Georgia, serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max: 1400px;
    --header-height: 80px;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Header Styles
   =========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo a {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 2px;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: var(--color-primary);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-dark);
    font-family: var(--font-primary);
    font-size: 26px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Cart Link */
.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-family: var(--font-secondary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2.5px;
    background-color: #3A3A3A;
    transition: all 0.3s ease;
    display: block;
}

/* ===========================
   Hero Banner
   =========================== */
.hero-banner {
    margin-top: var(--header-height);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: 100%;
    line-height: 0;
}

.hero-content img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    vertical-align: bottom;
}

/* ===========================
   Main Content
   =========================== */
.main-content {
    margin: 0;
    padding: 0;
}

/* ===========================
   Split Section (Image + Text)
   =========================== */
.split-section {
    display: flex;
    width: 100%;
    height: 650px;  /* CHANGE THIS VALUE to control section height */
    background-color: var(--color-white);
    margin: 0;
}

/* Reverse layout - image on right, text on left */
.split-section-reverse {
    flex-direction: row-reverse;
}

/* Grey background variant */
.split-section-grey .split-section-image {
    background-color: #F5F5F5;
}

.split-section-grey .split-section-content {
    background-color: #F5F5F5;
}

.split-section-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    margin: 0%;
    background-color: white;
}

.split-section-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.split-section-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: var(--color-white);
}

.split-section-text {
    max-width: 500px;
    text-align: center;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: normal;
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.section-description {
    font-family: var(--font-secondary);
    font-size: 24px;
    line-height: 1.6;
    color: var(--color-dark);
    margin-bottom: 25px;
}

/* ===========================
   Buttons
   =========================== */
.btn-primary {
    display: inline-block;
    padding: 15px 50px;
    background-color: var(--color-dark);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--color-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-dark);
}

/* ===========================
   Content Banners
   =========================== */
.content-banner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.content-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    background-color: #9d6b63;
    padding: 80px 0;
    width: 100%;
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    gap: 80px;
    align-items: center;
}

.contact-info {
    flex: 1;
    color: var(--color-white);
}

.contact-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-white);
}

.contact-description {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
}

.contact-form-wrapper {
    flex: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group label {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--color-white);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-family: var(--font-secondary);
    font-size: 15px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-submit {
    align-self: flex-start;
    padding: 15px 50px;
    background-color: var(--color-white);
    color: #A08A8F;
    border: none;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .contact-title {
        font-size: 36px;
    }
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

.site-footer p {
    font-size: 14px;
    font-family: var(--font-primary);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .logo a {
        font-size: 22px;
        letter-spacing: 0px;
    }

    /* Mobile Navigation */
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-white);
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 40px 20px;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--color-light);
    }

    .main-nav a {
        display: block;
        padding: 20px 0;
        font-size: 18px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-content img {
        max-height: 400px;
    }

    /* Split Section - Mobile */
    .split-section {
        flex-direction: column;
        min-height: auto;
    }

    .split-section-image {
        padding: 40px;
    }

    .split-section-image img {
        max-height: 400px;
    }

    .split-section-content {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 42px;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .btn-primary {
        padding: 12px 40px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content img {
        max-height: 300px;
    }

    .split-section-image img {
        max-height: 300px;
    }

    .section-title {
        font-size: 36px;
        letter-spacing: 1.5px;
    }

    .section-description {
        font-size: 14px;
    }
}
