:root {
    /* Corporate Palette */
    --primary: #D4AF37;
    /* Gold Tone */
    /* Gold Theme */
    --primary-dark: #B59330;
    --accent: #ffc107;
    /* Subtle highlight (e.g. for CTAs) */

    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;

    --border-color: #dee2e6;

    /* Spacing */
    --spacer: 1rem;

    /* UI */
    --radius: 4px;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    font-size: 16px;
    /* 16px is standard for mobile readability */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* REUSABLE CLASSES */
.container {
    width: 100%;
    padding: 0 15px;
    /* Standard mobile padding */
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius);
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    /* Ensure touch target size */
    min-height: 48px;
    line-height: 1.2;
}

/* Full width buttons on mobile usually look better or stick to standard */
.btn-primary {
    background-color: var(--primary);
    color: #000;
    /* Black text for readability on Gold */
}

.btn-primary:active,
.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline:active,
.btn-outline:hover {
    color: var(--primary);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20BA56;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.section {
    padding: 3rem 0;
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* HEADER & NAV (Mobile First) */
.top-bar {
    display: none;
    /* Hidden on mobile */
    background-color: #111;
    /* Darker top bar */
    border-bottom: 1px solid #333;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    color: #ccc;
}

.main-header {
    background-color: #1a1a1a;
    /* Extremely subtle pattern */
    background-image: repeating-linear-gradient(45deg, #1a1a1a 0, #1a1a1a 20px, #1b1b1b 20px, #1b1b1b 40px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #2a2a2a;
}

.navbar {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

/* Mobile Menu Logic via Checkbox */
.nav-toggle {
    display: none;
}

/* Checkbox hidden */

.nav-burger {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: white;
    /* White burger menu */
}

.nav-menu {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    /* Dark menu background */
    border-top: 1px solid #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}

.nav-menu a {
    display: block;
    padding: 1rem 15px;
    border-bottom: 1px solid #333;
    font-weight: 500;
    color: #eee;
    /* Light text */
}

/* Open Menu State */
.nav-toggle:checked~.nav-menu {
    max-height: 400px;
    /* Adjust based on number of links */
}

/* HERO SECTION (Mobile) */
.hero {
    /* Black gradient */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    /* Stack buttons on mobile */
    gap: 1rem;
}

/* FEATURES / SERVICES */
.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* MODERN FOOTER */
.footer {
    background-color: #111;
    color: #aaa;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
    border-top: 4px solid var(--primary);
    position: relative;
    /* For absolute positioning of partner logo */
}

.footer-logo-fixed {
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 150px;
    /* Adjust size as needed, usually partner logos are small */
    height: auto;
    opacity: 0.8;
    z-index: 5;
    transition: opacity 0.3s;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.footer-logo-fixed:hover {
    opacity: 1;
    cursor: pointer;
}

/* Mobile Bottom Call Button Container */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    /* Hidden by default (Desktop) */
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 5px;
    font-weight: bold;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    gap: 5px;
    white-space: nowrap;
}

.mobile-sticky-btn:hover {
    color: #000;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
    }

    .footer-logo-fixed {
        position: static;
        display: block;
        margin: 1rem auto 0;
        width: 80px;
        padding-bottom: 70px;
        /* Increased space for the fixed bar */
    }

    /* Push WhatsApp button up */
    .floating-whatsapp {
        bottom: 90px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}

.footer-widget h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '›';
    margin-right: 8px;
    color: var(--primary);
    font-weight: bold;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-info {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* MEDIA QUERIES (Tablet & Desktop) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .top-bar {
        display: block;
        /* Show top bar */
    }

    .top-bar .container {
        display: flex;
        justify-content: space-between;
    }

    /* Navbar converts to horizontal */
    .nav-burger {
        display: none;
    }

    .nav-toggle:checked~.nav-menu,
    .nav-menu {
        position: static;
        max-height: none;
        background: transparent;
        border: none;
        box-shadow: none;
        display: flex;
        align-items: center;
        /* Vertically center items */
        gap: 1.5rem;
        width: auto;
    }

    .nav-menu a {
        padding: 0;
        border: none;
        color: rgba(255, 255, 255, 0.9);
        /* White text for dark header */
        font-weight: 500;
    }

    /* Ensure the button inside nav (WhatsApp) looks good */
    .nav-menu .btn {
        margin-top: 0 !important;
        /* Override inline style if any */
        color: white !important;
    }

    .nav-menu a:hover {
        color: var(--primary);
    }

    /* Hero */
    .hero {
        padding: 8rem 0;
        text-align: left;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-btns {
        flex-direction: row;
        justify-content: flex-start;
    }

    /* Grid Layouts */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        margin-bottom: 0;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* 4 Columns for Desktop */
        text-align: left;
        gap: 2rem;
    }

    .contact-item {
        justify-content: flex-start;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Ensure mobile bar is hidden on desktop (fail-safe) */
@media (min-width: 769px) {
    .mobile-sticky-bar {
        display: none !important;
    }
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 200px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}


/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    user-select: none;
}

.lightbox-close:hover {
    color: var(--primary);
}