:root {
    --bg: #FAF9F7; /* light background */
    --purple: #663399;
    --white: #ffffff;
    --text: #000000;
    --medium-grey: #5a5a5a;
    --light-grey: #7a7a7a;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Playfair Display', 'Georgia', serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding-top: calc(1.7rem + 5rem); /* 1.7rem banner + 5rem nav */
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
}

main {
    flex: 1 0 auto;
}

/* Navigation */
.top-menu {
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 1.7rem; /* Place navbar directly below banner, matching banner min-height */
    height: 5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.5rem 4%;
    z-index: 100;
   margin-bottom: 0 !important;
}

.top-menu-logo {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-menu-logo img {
    height: 4rem;
}

.menu-logo img {
    height: 100%;
    width: auto;
    filter: invert(0);
    position: relative;
    z-index: 150;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--purple);
    text-decoration: none;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-button {
    background: none;
    border: none;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.3125rem 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    text-transform: uppercase;
    transition: color 0.2s;
}

.lang-button:hover {
    color: var(--purple);
}

.lang-button::after {
    content: '▼';
    font-size: 0.5rem;
    margin-left: 0.3125rem;
}

.lang-dropdown {
    display: none;
    align-items: center;
    gap: 0.625rem;
    margin-left: 0.625rem;
}

.lang-dropdown.active {
    display: flex;
}

.lang-option {
    color: var(--text);
    text-decoration: none;
    font-size: 0.8125rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s;
}

.lang-option:hover {
    color: var(--purple);
}

.lang-option.active {
    color: var(--purple);
}

.lang-option.disabled {
    color: var(--light-grey);
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.lang-option:hover {
    opacity: 0.8;
}

.lang-option.disabled:hover {
    opacity: 0.4;
}

/* Google Fonts are loaded via <link> in HTML head */
/* Playfair Display: 400, 600, 700 - for all text */
/* Montserrat: 300, 400, 500, 600 - for navigation */

h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin: 0.75rem 0 0.375rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.125rem;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2.4375rem, 6vw, 3.9375rem);
    margin: 2.5rem 0 1.25rem;
    letter-spacing: 0.125rem;
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

p {
    color: var(--text);
    font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
    line-height: 1.8;
    max-width: 48.75rem;
    margin: 0 0 1.25rem;
    letter-spacing: 0.01875rem;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
}

/* Centered brand/logo with text */
.brand {
    width: 100%;
    max-width: none;
    margin-top: 0 !important;
    position: relative;
    top: 0;
    min-height: calc(100vh - 1.7rem - 5rem); /* banner + nav height */
    position: relative;
    background-image: url('/assets/main_banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.brand img {
    display: none;
}

.brand-text {
    position: absolute;
    top: 3rem;
    right: 5%;
    text-align: right;
    max-width: 50rem;
}

.brand .cta-button {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.brand-text h1 {
    color: var(--text);
    margin: 0 0 0.9375rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.125rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}

.brand-text h1 em {
    color: var(--purple);
    font-style: normal;
}

.brand-text .tagline {
    color: var(--medium-grey);
    font-size: clamp(0.875rem, 1.75vw, 1.0625rem);
    line-height: 1.8;
    max-width: 68.75rem;
    margin: 0 auto 2.5rem;
    letter-spacing: 0.01875rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
}

/* CTA Button */
.cta-button {
    padding: 0.9rem 2.5rem;
    background: transparent;
    color: var(--purple);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    border: 0.0625rem solid var(--purple);
    transition: all 0.4s;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 3rem;
}

.cta-button:hover {
    background: var(--purple);
    color: var(--bg);
    text-decoration: none;
}

/* Link Styles */
a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
}

a:hover { 
    text-decoration: underline;
}

/* Services Grid Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 3.75rem 5%;
    background: var(--white);
    box-shadow: 0 0 0 100vmax var(--white);
    clip-path: inset(0 -100vmax);
}

.service-card {
    padding: 2rem 2.5rem;
    border: none;
    border-top: 0.125rem solid transparent;
    transition: all 0.4s;
    position: relative;
    background: var(--bg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: var(--purple);
    transition: width 0.4s;
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    height: 2rem;
    width: auto;
    margin: 0 auto 1.5rem;
    display: block;
    opacity: 0.6;
    filter: grayscale(100%);
}

.service-card:hover .service-icon {
    opacity: 1;
    filter: grayscale(0%) brightness(0) saturate(100%) invert(30%) sepia(65%) saturate(1500%) hue-rotate(245deg) brightness(90%) contrast(90%);
}

.service-card h3 {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
}

.service-card p {
    color: var(--medium-grey);
    line-height: 1.9;
    letter-spacing: 0.01875rem;
    font-size: 0.9375rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* Process Section */
.process {
    padding: 8rem 8%;
    background: var(--bg);
}

.section-title {
    font-size: clamp(2.4375rem, 5vw, 3.9375rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.125rem;
    color: var(--text);
    font-family: 'Playfair Display', serif;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-grey);
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 56.25rem;
    font-size: 1.28125rem;
    letter-spacing: 0.0625rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.process-steps {
    max-width: 56.25rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 1.95rem;
    top: calc(1.5rem + 3rem);
    bottom: calc(1.5rem + 3rem + 2rem);
    width: 0.125rem;
    background: var(--purple);
    opacity: 0.3;
}

.step {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 2rem;
    align-items: start;
    padding: 1.5rem 0;
    border-bottom: none;
    position: relative;
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 0.625rem;
}

.step-number img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(29%) sepia(85%) saturate(1574%) hue-rotate(249deg) brightness(85%) contrast(90%);
}

.step-content {
    margin-top: 0;
}

.step-content h4 {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
}

.step-content p {
    color: var(--medium-grey);
    line-height: 1.8;
    letter-spacing: 0.01875rem;
    font-size: 1.0625rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

footer {
    padding: 2rem 8%;
    border-top: 0.0625rem solid rgba(26, 77, 77, 0.15);
    background: var(--bg);
    margin-top: auto;
    font-family: 'Montserrat', sans-serif;
    color: var(--light-grey);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 5rem;
    flex-shrink: 0;
}

.footer-logo {
    height: 2.5rem;
    width: auto;
    opacity: 0.4;
    filter: grayscale(100%);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

footer p {
    color: var(--light-grey);
    font-size: 0.85rem;
    letter-spacing: 0.0625rem;
    margin: 0;
    margin-left: 10%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    white-space: nowrap;
    z-index: 2;
    position: relative;
}

.content-page {
    padding: 2rem 2.5rem 3.75rem;
    max-width: 50rem;
    margin: 0 auto;
}

.content-wrapper {
    margin-top: 2.5rem;
}

.content-wrapper h2 {
    font-size: 1.96875rem;
    margin-top: 0;
}

.content-wrapper h2.feature-title {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    color: var(--purple);
    font-family: 'Montserrat', sans-serif;
}

.content-wrapper p {
    font-size: 1.0625rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.content-page h1 {
    text-align: center;
    margin-bottom: 1.875rem;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
}

.collection {
    margin-bottom: 3.75rem;
    padding: 1.875rem;
    background: var(--white);
    border-radius: 0;
    transition: background-color 0.3s ease;
    position: relative;
}

.collection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: var(--purple);
    transition: width 0.4s;
    border-radius: 0;
}

.collection:hover {
    background: var(--white);
}

.collection:hover::before {
    width: 100%;
}

.collection h2 {
    margin-top: 0;
    color: var(--text);
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.collection p {
    font-size: 1.0625rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.contact-info {
    margin: 2.5rem 0;
    padding: 1.875rem;
    background: rgba(26, 77, 77, 0.03);
    border-radius: 0.5rem;
    border: 0.0625rem solid rgba(26, 77, 77, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
}

.contact-info p {
    margin: 0.9375rem 0;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.0625rem;
}

.contact-info a {
    color: var(--purple);
    text-decoration: none;
    font-size: 1.0625rem;
    transition: all 0.3s;
    letter-spacing: 0.0625rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding-bottom: 0.3125rem;
    border-bottom: 0.125rem solid transparent;
}

.contact-info a:hover {
    border-bottom-color: var(--purple);
    text-decoration: none;
}

.contact-note {
    color: var(--medium-grey);
    font-style: italic;
    text-align: center;
    margin: 0 auto;
    max-width: 50rem;
    font-size: 1.0625rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.nav-links .active {
    color: var(--purple);
}

/* Contact Page Styles */
.contact-page {
    max-width: 87.5rem;
    padding: 2rem 5%;
}

.hero-contact {
    text-align: center;
    padding: 0 0 3rem;
}

.hero-contact h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.hero-contact em {
    color: var(--purple);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(0.9375rem, 1.75vw, 1.125rem);
    color: var(--medium-grey);
    max-width: 43.75rem;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 3rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 0.0625rem solid rgba(107, 70, 193, 0.1);
}

.contact-info-card h2 {
    font-size: 1.96875rem;
    font-weight: 400;
    margin-bottom: 2rem;
    margin-top: 0;
}

.info-item {
    margin-bottom: 2rem;
}

.info-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-content {
    font-size: 1.0625rem;
    color: var(--text);
    line-height: 1.6;
}

.info-content a {
    color: var(--purple);
    text-decoration: none;
    transition: opacity 0.3s;
}

.info-content a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.business-hours {
    background: linear-gradient(135deg, var(--purple) 0%, #5B3A8F 100%);
    color: var(--white);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1.15rem;
    margin-bottom: 0;
}

.business-hours h3 {
    font-size: 1.46875rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.hours-list li:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
}

.time {
    color: var(--white);
    opacity: 0.9;
}

.contact-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 0.0625rem solid rgba(107, 70, 193, 0.1);
}

.contact-form-card h2 {
    font-size: 1.96875rem;
    font-weight: 400;
    margin-bottom: 2rem;
    margin-top: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
    color: var(--medium-grey);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.25rem;
    transition: all 0.3s;
    background: var(--bg);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--purple);
    background: var(--white);
    box-shadow: 0 0 0 0.1875rem rgba(107, 70, 193, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 9.375rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    font-weight: 600;
    background: var(--purple);
    color: var(--white);
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #5B3A8F;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1.5625rem rgba(107, 70, 193, 0.3);
}

/* Promo Banner Styles */
.promo-banner {
    background: var(--medium-grey);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 1.1rem;
    border-bottom: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 200;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 4px rgba(102, 51, 153, 0.05);
    min-height: 1.7rem;
}

body.banner-closed {
    background: var(--white);
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }
    h2 {
        font-size: 1.375rem;
    }
    .content-page {
        padding: 6.25rem 1.25rem 2.5rem;
    }
    
    .process {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .step {
        grid-template-columns: 3.75rem 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .business-hours {
        padding: 1.5rem;
    }
}