/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #fca311; /* Vibrant gold/orange */
    --primary-hover: #e89104;
    --dark-bg: #14213d; /* Deep Navy */
    --darker-bg: #0d162a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #e5e5e5;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Shadows & Radii */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center { text-align: center; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); }
.text-white { color: var(--white); }
.text-white-light { color: var(--text-light); }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-bg);
}

.bg-dark h2, .bg-dark h3, .bg-dark h4 {
    color: var(--white);
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.subtitle-light {
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
    gap: 8px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 163, 17, 0.3);
}

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

.btn-white:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
}

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

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

.btn-outline {
    background-color: transparent;
    border-color: var(--dark-bg);
    color: var(--dark-bg);
}

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

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    background-color: transparent;
    padding: 20px 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition-normal);
}

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

.logo-accent {
    color: var(--primary-color);
}

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

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

.header-ctas {
    display: flex;
    gap: 16px;
}

.header:not(.scrolled) .nav-cta-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.header:not(.scrolled) .nav-cta-outline:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-normal);
    position: absolute;
}

.header.scrolled .hamburger, 
.header.scrolled .hamburger::before, 
.header.scrolled .hamburger::after {
    background-color: var(--dark-bg);
}

.mobile-menu-btn.active .hamburger {
    background-color: transparent !important;
}

.mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
    background-color: var(--dark-bg) !important;
}

.mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
    background-color: var(--dark-bg) !important;
}

.hamburger::before { content: ''; top: -8px; }
.hamburger::after { content: ''; bottom: -8px; }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--white);
    z-index: 999;
    padding: 100px 40px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition-slow);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-bg);
    border-bottom: 1px solid var(--light-bg);
    padding-bottom: 12px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroZoom 18s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-img { animation: none; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(20, 33, 61, 0.9) 0%, rgba(20, 33, 61, 0.7) 50%, rgba(20, 33, 61, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text-wrapper {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(252, 163, 17, 0.2);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(252, 163, 17, 0.3);
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
}

.trust-item svg {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Emergency Bar
   ========================================================================== */
.emergency-bar {
    background-color: var(--primary-color);
    padding: 30px 0;
    position: relative;
    z-index: 10;
    margin-top: -10px;
}

.emergency-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.emergency-text {
    font-size: 1.5rem;
    color: var(--dark-bg);
    margin: 0;
}

.emergency-actions {
    display: flex;
    gap: 16px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-bg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(252, 163, 17, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-bg);
    font-weight: 600;
    font-family: var(--font-heading);
}

.service-link svg {
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--primary-color);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* ==========================================================================
   Featured Service
   ========================================================================== */
.featured-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-image-wrapper {
    position: relative;
}

.rounded-shadow {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.badge-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.badge-text strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--dark-bg);
    font-size: 1.1rem;
}

.badge-text span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 4px;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
}

.benefit-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--light-bg);
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.benefit-item:hover .benefit-number {
    -webkit-text-stroke: 2px var(--primary-color);
    transform: scale(1.1);
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    height: 600px;
    object-fit: cover;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 60px;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-bg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.process-step:hover .step-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.step-title {
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.process-line {
    flex: 1;
    height: 2px;
    background-color: rgba(20, 33, 61, 0.1);
    margin-top: 40px;
    z-index: 1;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--dark-bg);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-desc {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-items {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(252, 163, 17, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-content a, .info-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.info-content a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-bg);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.2);
}

.form-message {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    color: #28a745;
}

.form-message.error {
    color: #dc3545;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-desc {
    color: var(--text-light);
    margin-top: 20px;
    max-width: 300px;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-links li, .footer-contact li {
    margin-bottom: 12px;
    color: var(--text-light);
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        transition: none;
        transform: none;
    }
    .service-card:hover, .btn:hover {
        transform: none;
    }
    .floating-badge {
        animation: none;
    }
}

/* ==========================================================================
   Media Queries (Responsive Design)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .featured-container, .about-container, .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-line {
        display: none;
    }
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-ctas {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title { font-size: 2.8rem; }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .emergency-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .floating-badge {
        right: 10px;
        bottom: -20px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Before & After Slider
   ========================================================================== */
.before-after-section { background-color: var(--light-bg); }

.ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Placeholder before photos are added */
.ba-placeholder {
    grid-column: 1 / -1;
}

.ba-empty-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed #ddd;
    text-align: center;
    color: var(--text-muted);
}

.ba-empty-msg svg { color: var(--primary-color); }

/* The actual before/after slider card */
.ba-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    cursor: ew-resize;
    user-select: none;
}

.ba-card h4 {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 33, 61, 0.8);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    z-index: 10;
    white-space: nowrap;
}

.ba-before,
.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-before img,
.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-before {
    z-index: 1;
}

.ba-after {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.05s linear;
}

/* Before / After labels */
.ba-label {
    position: absolute;
    bottom: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    pointer-events: none;
}
.ba-label-before { left: 16px; background: rgba(0,0,0,0.6); color: #fff; }
.ba-label-after  { right: 16px; background: var(--primary-color); color: var(--dark-bg); }

/* Drag handle line */
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: var(--white);
    z-index: 6;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -2px;
}

/* ==========================================================================
   Project Gallery
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--light-bg);
    background: var(--white);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,33,61,0.85) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery-item-cat {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: capitalize;
}

.gallery-item-zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition-normal);
    border: 1px solid rgba(255,255,255,0.4);
}

.gallery-item:hover .gallery-item-zoom { opacity: 1; }

.gallery-item.hidden {
    display: none;
}

/* Empty state */
.gallery-empty-msg {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 80px 40px;
    text-align: center;
    color: var(--text-muted);
    border: 2px dashed #ddd;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.lightbox-content img {
    max-height: 75vh;
    width: auto;
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.lightbox-content p {
    color: rgba(255,255,255,0.8);
    margin-top: 16px;
    font-size: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 768px) {
    .ba-grid { grid-template-columns: 1fr; }
    .lightbox { padding: 60px 16px 20px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}
