/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Lighter Pink Palette (User Request) */
    --color-primary: #C02652;
    /* Primary (Action/Soft Rose) */
    --color-secondary: #FFB3C6;
    /* Secondary (Highlight/Pale Pink) */
    --color-accent: #FF8FAB;
    /* Accent (Blush) */
    --color-text: #590d22;
    /* Text (Deep Plum) */
    --color-text-light: #800f2f;
    /* Text Light (Medium Plum) */

    /* Backgrounds */
    --color-bg: #FFE5EC;
    --color-bg-light: #FFF0F5;
    /* Lavender Blush */
    --color-bg-white: #ffffff;

    /* Functional */
    --color-border: #FFC2D1;
    --color-error: #D62828;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-standard: 0.3s ease;
}

/* Accessibility: High Contrast Mode (Color Blindness Support) */
body.high-contrast {
    /* Pure Black & White with Blue Action Color */
    --color-primary: #0000EE;
    /* Standard Web Blue */
    --color-secondary: #FFD700;
    /* High Vis Yellow */
    --color-accent: #FFFF00;
    --color-text: #000000;
    --color-text-light: #000000;

    --color-bg: #FFFFFF;
    --color-bg-light: #FFFFFF;
    --color-bg-white: #FFFFFF;

    --color-border: #000000;
    --color-error: #D62828;
    /* Keep red but icons help */
}

/* High Contrast Specific Overrides */
body.high-contrast .hero__overlay {
    background: rgba(255, 255, 255, 0.9);
    /* Fade image significantly */
}

body.high-contrast .hero__title,
body.high-contrast .hero__container {
    color: #000000;
    text-shadow: none;
}

body.high-contrast .button--primary {
    background-color: #0000EE;
    color: #FFFFFF;
    border: 2px solid #000000;
}

body.high-contrast .button--primary:hover {
    background-color: #0000AA;
    text-decoration: underline;
}

body.high-contrast .service-card,
body.high-contrast .showroom__content,
body.high-contrast .process__step {
    border: 2px solid #000000;
    background: #FFFFFF;
    box-shadow: none;
}

body.high-contrast .testimonials {
    background: #000000;
    color: #FFFFFF;
}

body.high-contrast .testimonials .section-title,
body.high-contrast .testimonials p,
body.high-contrast .testimonial-card__text {
    color: #FFFFFF !important;
}

body.high-contrast .testimonial-card {
    border: 2px solid #FFFFFF;
    background: #000000;
}

/* Toggle Button Style */
.accessibility-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: #000000;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.accessibility-toggle:hover {
    transform: scale(1.1);
}

.accessibility-toggle:focus-visible {
    outline: 3px solid #0000EE;
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

/* Accessibility: Focus Indicators */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

/* Accessibility: High Contrast Focus for Dark Backgrounds */
.testimonials :focus-visible,
.footer :focus-visible,
.hero :focus-visible,
.button--primary:focus-visible {
    outline-color: var(--color-bg-white);
    outline-width: 3px;
    outline-style: dashed;
    /* distinct style */
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-text);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    /* Accessibility: Touch Target Size */
    min-width: 44px;
    min-height: 44px;
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 0 auto;
    margin-top: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
}

/* =========================================
   3. COMPONENTS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    scroll-margin-top: 100px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all var(--transition-standard);
    text-align: center;
    text-decoration: none;
}

/* Accessibility: Links (Color Independence) */
a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.button,
.nav__link,
.logo-link {
    text-decoration: none;
}

.error-message {
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message::before {
    content: "⚠️";
    /* Warning Icon */
    font-size: 1rem;
    display: inline-block;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--color-error);
    border-width: 2px;
    /* Thicker border for better visibility */
}

.button--primary {
    background-color: var(--color-primary);
    color: white;
}

.button--primary:hover {
    background-color: #6d102b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(136, 20, 54, 0.2);
}

.button--secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.button--secondary:hover {
    background-color: var(--color-text);
    color: white;
}

.button--gold {
    background: linear-gradient(135deg, #d4af37, #aa8c2c);
    color: white;
}

.button--gold:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.button--outline-light {
    background-color: var(--color-accent);
    color: #3d0917;
    /* AAA Contrast */
    border: 2px solid var(--color-accent);
    border-radius: 50px;
}

.button--outline-light:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 143, 171, 0.4);
}

.button--full {
    width: 100%;
}

.button--large {
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
}

/* =========================================
   4. HEADER
   ========================================= */
.header {
    height: 90px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 100%;
    padding: 0 1cm;
}

@media (max-width: 768px) {
    .header__container {
        padding: 0 1.5rem;
    }
}

.logo-link {
    flex: 0 0 auto;
    /* Shrink to fit content */
    margin-right: 2rem;
}

.logo {
    height: 80px;
    /* Increased from 65px */
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
    /* Added for clarity */
}

.logo:hover {
    transform: scale(1.05);
}

.header__actions {
    flex: 0 0 auto;
    /* Shrink to fit content */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    margin-left: 2rem;
}

.header__phone {
    color: var(--color-text);
    font-weight: 600;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.header__phone .icon {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* Navigation - Distributed Across Width */
.nav {
    flex: 1;
    /* Take up all remaining space */
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    width: 100%;
    /* Fill the nav container */
    justify-content: space-evenly;
    /* Distribute items evenly */
    align-items: center;
    list-style: none;
    gap: 2rem;
    /* Remove fixed gap to allow space-evenly to work */
}

.nav__list .button {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    /* Slightly smaller padding to fit */
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav__link {
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    white-space: nowrap;
}

.nav__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/* Mobile Menu Toggle - Hidden by Default */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-text);
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-close {
    display: none;
}

/* Mobile Nav Styles */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: white;
        z-index: 2000;
        flex-direction: column;
        justify-content: flex-start;
        padding: 4rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav__inner {
        width: 100%;
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        width: 100%;
    }

    .nav__list li {
        width: 100%;
    }

    .nav__link {
        width: 100%;
        justify-content: flex-start;
        font-size: 1.2rem;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2.5rem;
        color: var(--color-text);
        padding: 5px;
        line-height: 1;
        min-width: 44px;
        min-height: 44px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .menu-backdrop.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/spacious-open-concept.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Solid Aesthetic Overlay */
    background: rgba(60, 20, 30, 0.7);
    z-index: 1;
}

.hero__content {
    /* Removed Glassmorphism for Solid Aesthetic */
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero__container {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 1rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}



.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__buttons .button {
    min-width: 250px;
    text-align: center;
}

/* =========================================
   6. PROJECTS / GALLERY
   ========================================= */
.projects {
    background-color: white;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-standard);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* =========================================
   7. SERVICES
   ========================================= */
.services {
    background-color: var(--color-bg-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-standard);
    border: 1px solid rgba(136, 20, 54, 0.1);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(217, 59, 106, 0.1);
    border-color: var(--color-secondary);
}

.service-card__icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFF0F5;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__icon {
    transform: rotate(5deg) scale(1.1);
    background: var(--color-primary);
    color: white;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

/* =========================================
   8. PROCESS
   ========================================= */
.process {
    background-color: white;
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.process__step {
    background: var(--color-bg-light);
    padding: 3rem 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.process__number {
    position: absolute;
    top: -15px;
    right: 10px;
    font-size: 6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    color: rgba(217, 59, 106, 0.05);
    /* Very subtle watermark */
    z-index: 0;
}

.process__title {
    position: relative;
    z-index: 1;
}

.process__desc {
    position: relative;
    z-index: 1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   9. SHOWROOM
   ========================================= */
.showroom {
    background-color: var(--color-bg-white);
}

.showroom__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showroom__content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.showroom__content .button {
    width: fit-content;
    white-space: nowrap;
}

.showroom__text {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.showroom__image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 0px var(--color-bg);
}

.showroom__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

/* =========================================
   10. TESTIMONIALS
   ========================================= */
.testimonials {
    background: linear-gradient(135deg, #590d22, #800f2f);
    color: white;
}

.testimonials .section-title,
.testimonials .section-subtitle,
.testimonials p {
    color: white;
}

.testimonials .section-title::after {
    background: var(--color-secondary);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.testimonial-card__text {
    color: #e0e0e0 !important;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.5;
}

.testimonial-card__author strong {
    color: var(--color-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-card__sample-badge {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.6;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
}

/* =========================================
   11. FAQ
   ========================================= */
.faq {
    background-color: white;
}

.faq__item {
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.faq__question {
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    color: var(--color-text);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-weight: 300;
    font-size: 1.5rem;
}

details[open] .faq__question::after {
    content: '-';
}

.faq__answer {
    padding-top: 1rem;
    color: var(--color-text-light);
}

/* =========================================
   12. CONTACT
   ========================================= */
.contact {
    background-color: var(--color-bg-light);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact__info {
    padding-right: 2rem;
}

.contact__desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contact__detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact__detail-item .icon {
    font-size: 1.5rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
}

.form-status {
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    color: green;
}

.form-status.error {
    color: var(--color-error);
}

/* Social Links */
.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* =========================================
   13. FOOTER
   ========================================= */
.footer {
    background-color: white;
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__logo {
    height: 40px;
}

/* =========================================
   14. FLOATING ELEMENTS
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
    z-index: 900;
    border: 3px solid var(--color-secondary);
    /* Delicate pink ring/border */
}

.whatsapp-float:hover {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--color-text);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 899;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-primary);
}

/* =========================================
   15. RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .h1 {
        font-size: 3rem;
    }

    .hero__title {
        font-size: 3rem;
    }

    .showroom__container,
    .contact__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer__container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav__list {
        justify-content: center;
    }
}

/* Accessibility: Footer Touch Targets */
.footer__nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    /* Accessibility: Touch target size */
    display: inline-block;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
}

.footer__nav a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}