:root {
    /* Color Palette - Orange Construction Theme */
    --primary: #BE8B5E;
    /* Muted Earthy Orange from Logo */
    --primary-dark: #9A6A45;
    /* Darker shade of the logo orange */
    --black: #1A1A1A;
    --background: #FFFFFF;
    --surface: #F8F9FA;
    --text-main: #2D2D2D;
    --text-muted: #666666;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --glass: var(--white);
    --glass-border: var(--border-color);
    --orange-soft: #FFF7ED;

    /* Typography */
    --font-heading: 'Lora', serif;
    /* Matching logo's serif style */
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 5%;
    --container-max-width: 1200px;
}

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

body {
    background-color: var(--background);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 90%;
}

/* Structured Blocks */
section {
    padding: var(--section-padding);
    border-bottom: 1px solid var(--border-color);
}

.bg-light {
    background-color: var(--surface);
}

/* Buttons - Standard Corporate */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    border: none;
    background: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

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

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary,
.btn-outline,
.btn-luxury,
.btn-quote-header {
    border-radius: 0 !important;
}

/* Header & Navigation - Luxury Minimalist */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 25px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
}

header.orange-bg {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

header.orange-bg .logo-text {
    color: var(--black);
}

header.orange-bg .nav-links a {
    color: var(--text-main);
}

header.orange-bg .logo-text span {
    color: var(--primary);
    opacity: 1;
}

header.orange-bg .btn-quote-header {
    background: var(--primary);
    color: var(--white);
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

header.orange-bg .btn-quote-header:hover {
    background: var(--primary-dark);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

header.scrolled .logo-img {
    height: 65px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1;
    transition: color 0.3s ease;
}

header.scrolled .logo-text {
    color: var(--black);
}

.logo-text span {
    color: var(--primary);
    font-size: 0.8rem;
    display: block;
    letter-spacing: 5px;
    margin-top: 4px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

header.scrolled .nav-links a {
    color: var(--black);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary) !important;
}

.nav-links a.active {
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--black);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.mobile-toggle::before {
    content: "MENU";
}

header.scrolled .mobile-toggle {
    color: var(--black);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://imgs.search.brave.com/f1HvuGcupaW0RVYZagSKG3m-8DIXERSlK_VubWsXh40/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9zdGF0/aWMudmVjdGVezYy5/Y29tL3N5c3RlbS9y/ZXNvdXJjZXMvdGh1/bWJuYWlscy8wMTQv/MTYxLzY4MS8zbWFsb/C9hLWxhcmdlLW1v/ZGVybi1jb25zdHJ1/Y3Rpb24tc2l0ZS1p/bi10aGUtY29uc3Ry/dWN0aW9uLW9mLWJ1/aWxkaW5ncy1hbmQt/aG91c2VzLXdpdGgt/YXBwbGlhbmNlcy1h/bmQtbWFueS1sYXJn/ZS1oaWdoLXRvd2Vy/LWFuZC1zdGF0aW9u/YXJ5LWluZHVzdHJp/YWwtcG93ZXJmdWwt/Y3JhbmVzLWFuZC1m/cmVlLXBob3RvLmpwZw') no-repeat center center/cover;
    position: relative;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-v2 {
    min-height: 85vh;
    background-color: var(--white);
    color: var(--text-main);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-slanted {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: var(--primary);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    z-index: 1;
}

.hero-v2 .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-cta .btn-primary {
    border: 2px solid var(--white) !important;
}

.hero-images {
    position: relative;
    z-index: 2;
}

.main-hero-img {
    width: 500px;
    height: 480px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.overlay-hero-img {
    position: absolute;
    bottom: -40px;
    right: -60px;
    width: 320px;
    height: 220px;
    object-fit: cover;
    border: 10px solid var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* General Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.team-grid {
    display: flex;
    justify-content: center;
}

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

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
}

footer {
    padding: 60px 0;
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    border-top: 5px solid var(--primary);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Media Queries)
   ========================================================================== */

/* Tablet & Mobile (Standard Overrides) */
@media (max-width: 992px) {
    header {
        background-color: var(--white);
        padding: 10px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .logo-text {
        color: var(--black) !important;
    }

    .logo-text span {
        color: var(--primary) !important;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        text-align: center;
        gap: 30px;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links::before {
        content: "EVESON";
        font-family: var(--font-heading);
        font-weight: 800;
        color: var(--primary);
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .nav-links a {
        color: var(--black) !important;
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    header.scrolled .mobile-toggle {
        background: var(--white);
    }
}

/* Smaller Tablets & Smartphones */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 1.8rem !important; }

    .logo-img {
        height: 60px;
    }

    header.scrolled .logo-img {
        height: 50px;
    }

    header.orange-bg .btn-quote-header {
        display: none !important;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Hero v2 Stacking */
    .hero-v2 {
        padding: 100px 0 40px;
    }

    .hero-bg-slanted {
        width: 100%;
        clip-path: none;
    }

    .hero-v2 .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-hero-img {
        width: 100%;
        height: 350px;
    }

    .overlay-hero-img {
        width: 200px;
        height: 140px;
        bottom: -20px;
        right: 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        display: block !important;
        text-align: center !important;
    }

    .footer-about, .footer-links-section, .footer-contact {
        margin-bottom: 40px;
    }
}