:root {
    --primary-color: #0b1a2b;
    /* Deep Navy */
    --accent-color: #c5a059;
    /* Premium Gold */
    --accent-hover: #b08d4b;
    --text-color: #333333;
    /* Dark Grey for content */
    --white: #ffffff;
    /* FIXED: Added back missing white variable */
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-dark: #121212;
    --bg-card: #f8f9fa;
    /* Light card bg */
    --font-main: 'Inter', sans-serif;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease-in-out;
}

/* Hide header when scrolling down */
header.header-hidden {
    transform: translateY(-100%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 70px;
    /* Slightly larger */
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.logo-subtext {
    font-size: 0.85rem;
    color: #aaa;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: #ccc;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004494 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    /* Bolder */
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
    border: 2px solid var(--accent-color);
    /* Gold border for pop */
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.6);
}

/* Phone button in header - make it highly visible */
.btn-phone {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    border: 2px solid var(--accent-color);
    transition: var(--transition);
}

.btn-phone:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.6);
}

.btn-phone i {
    margin-right: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    /* Real Image Background */
    background: url('assets/hero_bg_new.jpg') no-repeat center center/cover;
    overflow: hidden;
}

/* Texture Overlay (Optional - kept thin) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    z-index: 1;
}

/* Dark Gradient Overlay for Text Readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 100%);
    /* Increasing opacity */
    z-index: 1;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    /* Strong shadow */
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #f0f0f0;
    /* Brighter white */
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-hero-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    transition: var(--transition);
    border: 2px solid var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.6);
    color: var(--primary-color);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid var(--white);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Services */
.services {
    padding: 6rem 5%;
    background-color: var(--bg-dark);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--white);
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 2.5rem;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    background: rgba(0, 168, 255, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-card p {
    color: #2c2c2c;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Maps Section */
.map-section {
    padding: 6rem 5%;
    background-color: var(--primary-color);
    text-align: center;
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.address-tag {
    margin-top: 2rem;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
}

.address-tag i {
    color: var(--accent-color);
    margin-right: 10px;
}

@media (max-width: 768px) {
    .map-section {
        padding: 4rem 5%;
    }

    .map-container iframe {
        height: 350px;
    }

    .address-tag {
        font-size: 1rem;
        padding: 0 5%;
    }
}

/* Gallery / Projects */
.gallery {
    padding: 6rem 5%;
    background: #181818;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--white);
}

/* About */
.about {
    padding: 6rem 5%;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container {
    max-width: 1000px;
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
}

.about h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.2rem;
    color: #ccc;
}

/* Contact / Footer */
.footer {
    background-color: #0b1a2b;
    /* Very dark blue */
    color: #e0e0e0;
    padding: 6rem 5% 2rem;
    border-top: 2px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-info h3 {
    margin-bottom: 2rem;
    color: var(--white);
    font-size: 1.5rem;
}

.footer-info p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.footer-info i {
    color: var(--accent-color);
    width: 25px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disable tel: links on desktop, enable on mobile */
@media (min-width: 769px) {
    a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
    }
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
        /* Global zoom-out effect for mobile */
    }

    .hero {
        height: auto;
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 4rem 5% 3rem;
        background-attachment: scroll;
    }

    /* Gradient overlay adjustment for centered text */
    .hero::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.22rem;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }

    .hero p {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        max-width: 280px;
    }

    .hero-buttons .btn-hero-primary,
    .hero-buttons .btn-hero-secondary {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .navbar {
        padding: 0.6rem 5%;
    }

    .logo-img {
        height: 42px;
    }

    .logo-text {
        font-size: 1.05rem;
    }

    .logo-subtext {
        font-size: 0.68rem;
    }

    /* Target the nav links for mobile menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full width to avoid gaps */
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.8rem;
        transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 999;
        visibility: hidden;
        /* Hide until active */
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.15rem;
    }

    .nav-extra {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        position: relative;
        z-index: 1001;
        /* Above nav links */
    }

    .phone-text {
        display: none;
    }

    .btn-phone {
        padding: 0.55rem 0.9rem;
        font-size: 1.05rem;
    }

    /* Hamburger Button */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 19px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1000;
        padding: 0;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 2px;
        background: var(--white);
        border-radius: 10px;
        transition: 0.3s;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .services {
        padding: 3.5rem 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        text-align: center;
    }

    .service-img {
        height: 160px;
    }

    .service-content {
        padding: 1.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 2.5rem;
    }

    .about {
        padding: 3.5rem 5%;
    }

    .about-container {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .about h2 {
        font-size: 1.9rem;
    }

    .about p {
        font-size: 1.1rem;
    }
}

/* Base styles for desktop hide */
.mobile-menu-btn {
    display: none;
}

.nav-extra {
    display: flex;
    align-items: center;
}

/* GDPR Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 26, 43, 0.98);
    /* Matching footer/header dark theme */
    padding: 1.5rem 5%;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--accent-color);
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-right: 2rem;
}

.cookie-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cookie-btn:hover {
    background-color: #008ecc;
    transform: scale(1.05);
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    /* Just below cookie banner, above header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: growIn 0.8s ease-out;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

@keyframes growIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}