:root {
    --primary-color: #ffffff;
    --secondary-color: #000000;
    --accent-color: #999999;
    /* Refined Mercedes Silver */
    --metallic-bg: #f5f5f7;
    --text-main: #111111;
    /* Softer than pure black for readability */
    --text-muted: #666666;
    --transition-lux: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --whatsapp-color: #25d366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Typography - Mercedes Official Style */
h1,
h2,
h3,
.serif-font {
    font-family: var(--font-serif);
    font-weight: 400;
    text-transform: none;
    /* Official site uses standard sentence case for some, but uppercase for impact */
    letter-spacing: normal;
}

.display-large {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 1.5rem;
}

/* Header - Centered Logo Pattern */
header {
    height: 100px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000;
    background-image:
        linear-gradient(45deg, #0d0d0d 25%, transparent 25%, transparent 75%, #0d0d0d 75%, #0d0d0d),
        linear-gradient(45deg, #0d0d0d 25%, transparent 25%, transparent 75%, #0d0d0d 75%, #0d0d0d);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    transition: var(--transition-lux);
    display: flex;
    align-items: center;
    border-bottom: none;
    /* Removed sharp grey line */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

header.scrolled {
    height: 80px;
    background-color: #000;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

nav.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    text-align: left;
}

.logo-container img {
    height: 70px;
    width: auto;
    /* Reduced for elegance */
    filter: invert(1) brightness(1.2);
    /* Inverts black text to white while keeping star metallic */
    transition: var(--transition-lux);
    display: block;
}

header.scrolled .logo-container img {
    height: 60px;
}

.header-cta {
    text-align: right;
}

.btn-minimal {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    transition: var(--transition-lux);
}

.desktop-only {
    display: block;
}

/* Burger Menu Icon */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 2000;
}

.burger-menu span {
    display: block;
    height: 1px;
    width: 100%;
    background-color: #fff;
    transition: var(--transition-lux);
}

.burger-menu span:nth-child(2) {
    width: 70%;
    align-self: flex-end;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-lux);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-lux);
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu-overlay.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-link:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-link:nth-child(4) {
    transition-delay: 0.4s;
}

/* Burger Animation to X */
body.menu-open .burger-menu span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

body.menu-open .burger-menu span:nth-child(2) {
    opacity: 0;
}

body.menu-open .burger-menu span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}



.btn-primary-lux {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: #fff;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #fff;
    transition: var(--transition-lux);
}

.btn-primary-lux:hover {
    background: transparent;
    color: #fff;
}

/* Hero - Cankollar Style */
.hero-cankollar {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('assets/hero-bg.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-cankollar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

/* Blocks - High Contrast B&W */
.block-section {
    padding: 6rem 0;
}

.bg-white {
    background-color: var(--primary-color);
    color: var(--text-main);
}

.bg-black {
    background-color: #000;
    background-image:
        linear-gradient(45deg, #111111 25%, transparent 25%, transparent 75%, #111111 75%, #111111),
        linear-gradient(45deg, #111111 25%, transparent 25%, transparent 75%, #111111 75%, #111111);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.5);
    /* More dramatic depth */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--primary-color);
}

.bg-white .section-label {
    color: var(--text-muted);
}

.bg-white .btn-minimal {
    color: var(--text-main);
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

.bg-white .service-desc {
    color: var(--text-muted);
}

.bg-black .btn-minimal {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.bg-black .btn-minimal:hover {
    border-bottom-color: #fff;
    color: var(--accent-color);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.img-zoom-container {
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    background: #050505;
}

.img-zoom-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.5s ease;
    filter: brightness(0.9) contrast(1.1);
}

.img-zoom-container:hover img {
    filter: brightness(1) contrast(1.1);
}

.bg-white .img-zoom-container {
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Service Details - Official Feel */
.service-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.service-desc {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* New Multi-Column Footer */
footer.bg-black.context-bg {
    padding: 5rem 0 2rem 0;
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--accent-color);
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.6);
    transition: var(--transition-lux);
}

.social-links a:hover .social-icon {
    fill: #fff;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-lux);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-item strong {
    color: #fff;
    display: block;
    margin-bottom: 0.2rem;
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-lux);
}

.footer-contact-link:hover {
    color: #fff;
}

/* Footer Bottom Bar */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-logo-main {
    display: block;
    align-self: flex-start;
    filter: invert(1) brightness(1.2);
    margin-bottom: 1rem;
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* EEC logo in bottom bar */
.eec-logo {
    display: block;
    filter: grayscale(1) brightness(3);
    opacity: 0.5;
    transition: var(--transition-lux);
    height: 28px;
    width: auto;
    object-fit: contain;
}

.eec-logo:hover {
    opacity: 1;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}





/* Appointment Section Refinement */
.appointment-card {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    padding: 4rem;
    /* Tightened from 6rem 4rem */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    /* Constrained for better scale */
    margin: 0 auto;
    /* Centered */
}

.appointment-card h2 {
    font-size: 2.4rem;
    color: #fff !important;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

.appointment-card p {
    font-size: 1rem;
    color: #999 !important; /* Fixed contrast from --accent-color */
    max-width: 600px;
    margin-bottom: 3.5rem !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-lux {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 0;
    /* Tightened from 1.2rem */
    color: #fff !important;
    font-family: inherit;
    outline: none;
    transition: var(--transition-lux);
    font-size: 0.85rem;
    /* Slightly smaller */
    letter-spacing: 1px;
}

.input-lux::placeholder {
    color: #888; /* Increased contrast from #444 */
}

.input-lux:focus {
    border-bottom-color: var(--accent-color);
}

.input-lux option {
    background-color: #111;
    color: #fff;
}

.btn-primary-lux {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: #fff;
    color: #000 !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #fff;
    transition: var(--transition-lux);
    cursor: pointer;
}

.btn-primary-lux:hover {
    background: transparent;
    color: #fff !important;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .display-large {
        font-size: 2.5rem;
    }

    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .header-cta.desktop-only {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    nav.header-nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
    }

    .logo-container {
        grid-column: 2;
        text-align: center;
    }

    .burger-menu {
        grid-column: 3;
        justify-self: end;
    }

    .logo-container img {
        height: 60px;
    }

    header.scrolled .logo-container img {
        height: 50px;
    }

    /* WhatsApp Button Positioning */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .display-large {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .section-label {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .block-section {
        padding: 4rem 0;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .split-layout .img-zoom-container {
        display: block;
        max-height: 240px;
        border-radius: 0;
    }

    .split-layout .img-zoom-container {
        display: none;
    }

    /* On black sections, reverse order so text comes first */
    .bg-black .split-layout .text-content {
        order: 1;
    }
    .bg-black .split-layout .img-zoom-container {
        order: 2;
    }

    .text-content {
        padding: 2.5rem 0 2rem 0;
    }

    .service-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .service-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .appointment-card {
        padding: 2.5rem 1.5rem;
    }

    .appointment-card h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .appointment-card p {
        font-size: 0.95rem;
        margin-bottom: 2rem !important;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .btn-primary-lux {
        width: 100%;
        text-align: center;
        padding: 1.25rem 2rem;
        font-size: 0.75rem;
    }

    .mobile-link {
        font-size: 1.15rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-branding {
        align-items: center;
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 1rem;
    }
}

/* WhatsApp Float Button Styling */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-lux);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: #FFF;
}