:root {
    --color-primary: #1A1A1A;
    --color-accent: #8B7355;
    --color-accent-hover: #6F5B43;
    --color-light-bg: #F8F8F8;
    --color-text: #2C2C2C;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* --- Navbar --- */
.navbar {
    padding: 1rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--color-primary);
    transition: color 0.4s ease;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text) !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent) !important;
}

/* Transparent navbar (hero pages) */
.navbar-transparent {
    background: transparent !important;
    border-bottom: none !important;
}

.navbar-transparent .brand-text {
    color: #fff;
}

.navbar-transparent .nav-link {
    color: rgba(255,255,255,0.85) !important;
}

.navbar-transparent .nav-link:hover,
.navbar-transparent .nav-link.active {
    color: #fff !important;
}

.navbar-transparent .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-transparent.scrolled {
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
}

.navbar-transparent.scrolled .brand-text {
    color: var(--color-primary);
}

.navbar-transparent.scrolled .nav-link {
    color: var(--color-text) !important;
}

.navbar-transparent.scrolled .nav-link:hover,
.navbar-transparent.scrolled .nav-link.active {
    color: var(--color-accent) !important;
}

.navbar-transparent.scrolled .navbar-toggler-icon {
    filter: none;
}

/* --- Video Hero --- */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.55) 50%,
        rgba(0,0,0,0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-video h1 {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.hero-lead {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.btn-hero-primary {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 16px 44px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.btn-hero-outline {
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    padding: 14px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: #fff;
}

.scroll-indicator span {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.scroll-indicator i {
    font-size: 1.2rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Mobile: static bg fallback */
@media (max-width: 768px) {
    .hero-video-bg {
        display: none;
    }
    .hero-video {
        background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    }
    .hero-video h1 {
        font-size: 2.2rem;
    }
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    .hero-cta .btn.me-3 {
        margin-right: 0 !important;
    }
}

/* --- Project Hero (full bg image) --- */
.project-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.65) 100%
    );
    z-index: 1;
}

.project-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}

.project-hero-lead {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}

.breadcrumb-light .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.breadcrumb-light .breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-light .breadcrumb-item.active {
    color: rgba(255,255,255,0.5);
}

.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* --- Hero Sections (inner pages) --- */
.page-hero {
    padding: 160px 0 80px;
    background-color: var(--color-light-bg);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* --- Buttons --- */
.btn-accent {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-accent {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 12px 36px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--color-light-bg);
}

.section-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* --- Project Cards --- */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: none;
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-card .card-img-top {
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .card-img-top {
    transform: scale(1.05);
}

.project-card .card-img-wrapper {
    overflow: hidden;
}

.project-card .card-body {
    padding: 1.5rem 0;
}

.project-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- Stats --- */
.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-item p {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

/* --- About Cards --- */
.about-card {
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}

.about-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.about-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* --- Vision / Mission --- */
.vm-card {
    padding: 3rem;
    background: var(--color-light-bg);
    height: 100%;
}

.vm-card h4 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

/* --- Gallery / Lightbox --- */
.gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

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

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

.gallery-item::after {
    content: '\F52A';
    font-family: 'bootstrap-icons';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* --- Contact Form --- */
.form-control {
    border-radius: 0;
    padding: 14px 16px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

.form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.15);
}

/* --- Footer --- */
.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-accent) !important;
}

/* --- Breadcrumb --- */
.breadcrumb-item a {
    color: var(--color-accent);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #999;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--color-primary);
    color: #fff;
    padding: 80px 0;
}

.cta-section h2 {
    color: #fff;
}

.cta-section .btn-accent {
    background-color: var(--color-accent);
}

.cta-section .btn-accent:hover {
    background-color: var(--color-accent-hover);
}

/* --- Image Placeholder --- */
.img-placeholder {
    background-color: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* --- Smooth scroll padding --- */
html {
    scroll-behavior: smooth;
}

/* --- Coming Soon Badge --- */
.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}
