:root {
    /* Color Palette */
    --primary-color: #ec8700;
    /* Original Brand Orange */
    --primary-dark: #b36600;
    --secondary-color: #1a1a1a;
    /* Asphalt Black */
    --secondary-light: #2d2d2d;
    --text-main: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-off-white: #f4f7f6;
    --bg-glass: rgba(255, 255, 255, 0.95);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--bg-white);
    color: var(--bg-white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--bg-white);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-light);
    color: #ccc;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-socials {
    display: flex;
    gap: 15px;
}

.top-socials a {
    color: #ccc;
    font-size: 1.2rem;
}

.top-socials a:hover {
    color: var(--primary-color);
}

/* Brand Header */
.brand-header {
    background-color: var(--bg-white);
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.brand-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* allow wrapping on small screens */
    gap: 20px;
}

.brand-logo-img {
    height: 160px;
    width: auto;
    object-fit: contain;
}

/* Old text logo styles - keeping if needed for footer or failover, 
   but brand-header now uses image */
/* 
.brand-logo-large { ... } 
*/

.brand-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .brand-header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .brand-contact {
        align-items: center;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
}

/* Header */
header {
    position: sticky;
    /* Changed from fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary-color);
    /* Solid Orange background */
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    justify-content: center;
    /* Centered Menu */
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-links a:not(.btn):hover {
    color: var(--secondary-color);
    background-color: var(--bg-white);
}

/* Hero Section */
.hero {
    height: 50vh;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    color: var(--bg-white);
    /* padding-top: var(--header-height); Removed for sticky header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--bg-white);
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Services / Features */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(236, 135, 0, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
}

/* About Section */
.about-section {
    background: var(--bg-off-white);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Stats */
.stats-grid {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-item span {
    color: var(--text-light);
    font-weight: 500;
}

/* Reviews Section (Desktop Default) */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.review-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
}

.review-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.review-card .role {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: block;
    font-weight: 500;
}

.review-card .stars {
    color: #FFC107;
    margin-bottom: 16px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #999;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #666;
}

/* Product Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-nav,
.reviews-nav {
    display: none;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--primary-color);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    /* Enforce consistent aspect ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 24px 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(0, 0, 0, 0.05);

        /* Animation States */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links a {
        padding: 16px 24px;
        text-align: center;
        display: block;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--secondary-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .btn {
        margin: 20px auto 10px;
        display: inline-flex;
        width: 80%;
    }

    /* Center the burger menu */
    .nav-wrapper {
        justify-content: center;
    }

    #mobile-toggle {
        display: inline-flex !important;
        z-index: 1001;
        /* Ensure button stays clickable if needed, though header z-index matches */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-content {
        flex-direction: column;
    }

    /* Mobile Gallery Scrolling */
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        /* Space for scrollbar */
        margin: 0 -20px;
        /* Counteract container padding */
        padding-left: 20px;
        /* Restore padding for first item */
        padding-right: 20px;
        /* Restore padding for last item */
        scrollbar-width: none;
        /* Firefox */
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .gallery-item {
        min-width: 85%;
        scroll-snap-align: center;
        margin-right: 0;
    }

    .gallery-wrapper {
        position: relative;
    }

    .gallery-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: auto;
        bottom: -60px;
        /* Position below images */
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--bg-white);
        border: none;
        box-shadow: var(--shadow-md);
        z-index: 10;
        cursor: pointer;
        color: var(--primary-color);
        font-size: 20px;
        opacity: 0.9;
    }

    .gallery-nav.prev {
        right: auto;
        left: 50%;
        transform: translateX(-120%);
        /* Center-left */
    }

    .gallery-nav.next {
        right: auto;
        left: 50%;
        transform: translateX(20%);
        /* Center-right */
    }

    /* Reviews Mobile Scroll */
    .reviews-wrapper {
        position: relative;
    }

    .reviews-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        scroll-behavior: smooth;
    }

    .reviews-grid::-webkit-scrollbar {
        display: none;
    }

    .review-card {
        min-width: 85%;
        scroll-snap-align: center;
        /* Ensure card styling persists or adapts if needed */
    }

    .reviews-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: auto;
        bottom: -60px;
        /* Position below reviews */
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--bg-white);
        border: none;
        box-shadow: var(--shadow-md);
        z-index: 10;
        cursor: pointer;
        color: var(--primary-color);
        font-size: 20px;
        opacity: 0.9;
    }

    .reviews-nav.prev {
        right: auto;
        left: 50%;
        transform: translateX(-120%);
    }

    .reviews-nav.next {
        right: auto;
        left: 50%;
        transform: translateX(20%);
    }
}

/* Lightbox Styles */
#lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
}

#lightbox img {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#lightbox.active img {
    transform: scale(1);
}

#lightbox .close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

#lightbox .close-lightbox:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 16px;
    cursor: pointer;
    z-index: 2002;
    transition: background 0.3s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* About Page Specifics */
.about-section-wrapper {
    background-color: #fddcae;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
    /* Reduced from 500px */
    background: var(--bg-white);
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-text-col {
    padding: 40px 50px;
    /* Reduced from 80px 60px */
    display: flex;
    flex-direction: column;
}

.about-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 30px;
    /* Reduced from 40px */
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #f7d49e;
    /* Light Orange Underline */
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
}

.about-contact-col {
    background-color: black;
    padding: 40px 50px;
    /* Reduced from 80px 60px */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-contact-group {
    margin-bottom: 40px;
}

.about-contact-label {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 12px;
    display: block;
}

.about-contact-value {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-text-col,
    .about-contact-col {
        padding: 50px 30px;
    }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    /* Hidden by default, shown via JS */
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-popup h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.cookie-popup p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    flex: 1;
}

.cookie-actions .btn-outline {
    border-color: #ddd;
    color: var(--text-main);
}

.cookie-actions .btn-outline:hover {
    border-color: var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
}