:root {
    /* Color Palette */
    --clr-primary: #141414; /* Near-black */
    --clr-primary-light: #2b2b2b;
    --clr-accent: #141414; /* Black (accent) */
    --clr-accent-hover: #333333;
    --clr-dark: #121514; /* Charcoal */
    --clr-text-main: #333333;
    --clr-text-muted: #666666;
    --clr-bg: #141414;
    --clr-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--clr-dark);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--clr-dark);
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    border-color: var(--clr-primary);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.navbar.scrolled .logo-link {
    color: var(--clr-primary);
}

.logo-text span {
    font-weight: 300;
    color: inherit;
    opacity: 0.65;
}

.nav-phone {
    font-weight: 600;
    color: #141414 !important;
}
.nav-phone:hover {
    color: #555555 !important;
}
.navbar.scrolled .nav-phone {
    color: var(--clr-text-main) !important;
}
.navbar.scrolled .nav-phone:hover {
    color: var(--clr-primary) !important;
}

.hero-location {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #141414 !important;
    margin-bottom: 2rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-phone {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
.cta-phone a {
    color: var(--clr-white);
}
.cta-phone a:hover {
    color: #bbbbbb;
}

.footer-contact {
    margin-top: 1rem;
    color: #cfcfcf;
    line-height: 1.8;
}

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

.nav-links a:not(.btn-primary) {
    color: var(--clr-dark);
    font-weight: 500;
    position: relative;
}

.navbar.scrolled .nav-links a:not(.btn-primary) {
    color: var(--clr-text-main);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--clr-accent);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    border: 2px solid var(--clr-white);
}

.btn-secondary:hover {
    background-color: var(--clr-white);
    color: var(--clr-primary) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--clr-dark);
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background-color: var(--clr-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('side.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: #141414;
}

.hero h1 {
    color: #141414;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(255,255,255,0.55);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Animations */
.reveal-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay, 0s);
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: #141414;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--clr-white);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--clr-white);
}

.section-header p {
    color: #b8b8b8;
}

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

.service-card {
    background: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--clr-white);
}

.card-content p {
    color: #b8b8b8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-link {
    color: var(--clr-white);
    font-weight: 600;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
}

.card-link:hover {
    color: #cccccc;
    transform: translateX(5px);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--clr-bg);
    position: relative;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #b8b8b8;
}

.about-features {
    margin-bottom: 2.5rem;
}

.about-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: #e6e6e6;
}

.check {
    background-color: var(--clr-white);
    color: #141414;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.about-visual {
    position: relative;
    height: 500px;
    background-image: url('wall.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.glass-panel {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(30, 30, 30, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 2rem;
    border: 1px solid rgba(255,255,255,0.12);
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--clr-white);
    margin-bottom: 0.2rem;
}

.stat p {
    font-size: 0.9rem;
    color: #b8b8b8;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--clr-primary);
    color: var(--clr-white);
    text-align: center;
}

.cta-container {
    max-width: 800px;
}

.cta-container h2 {
    color: var(--clr-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-form {
    background: var(--clr-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: left;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.15);
    background-color: var(--clr-white);
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--clr-dark);
    color: var(--clr-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #999;
    max-width: 300px;
}

.footer-links a {
    color: #cfcfcf;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--clr-white);
}

.footer-bottom {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        margin-top: 2rem;
    }
    
    .glass-panel {
        left: 20px;
        right: 20px;
        bottom: 20px;
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--clr-white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a:not(.btn-primary) {
        color: var(--clr-dark);
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--clr-dark);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--clr-dark);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}


/* ---- Inverted theme: light hero (black bubbles) + dark content sections ---- */
.hero .btn-primary,
.navbar:not(.scrolled) .btn-primary {
    background-color: var(--clr-dark);
    color: var(--clr-white) !important;
    box-shadow: 0 10px 20px -8px rgba(0,0,0,0.45);
}
.hero .btn-primary:hover,
.navbar:not(.scrolled) .btn-primary:hover {
    background-color: #000000;
    color: var(--clr-white) !important;
}
.hero .btn-secondary {
    color: var(--clr-dark) !important;
    border-color: var(--clr-dark);
}
.hero .btn-secondary:hover {
    background-color: var(--clr-dark);
    color: var(--clr-white) !important;
}
/* primary buttons on dark sections stay light so they remain visible */
.about-content .btn-primary {
    background-color: var(--clr-white);
    color: var(--clr-dark) !important;
}
.about-content .btn-primary:hover {
    background-color: #e6e6e6;
    color: var(--clr-dark) !important;
}


/* footer social + email icon buttons */
.footer-socials { display: flex; gap: 0.85rem; }
.footer-socials a {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #ffffff;
    transition: var(--transition);
}
.footer-socials a:hover {
    background: #ffffff; color: #141414; border-color: #ffffff; transform: translateY(-3px);
}
.footer-socials svg { width: 20px; height: 20px; display: block; }
.footer-contact a:hover { color: #ffffff; }


/* free-quote form status message */
.form-status { margin-top: 1rem; font-weight: 600; text-align: center; color: #333333; min-height: 1.2em; }
.form-status.success { color: #1a7f37; }
.form-status.error { color: #b00020; }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }
