/* Color Variables */
:root {
    --primary-dark: #1a1a1a;
    --gold-accent: #c5a059;
    --text-grey: #666;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--primary-dark);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}
.navbar-brand {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 600;
}
.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-left: 1.5rem;
}
.btn-contact {
    border: 1px solid white;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s;
}
.btn-contact:hover {
    background: white;
    color: black !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('images/home.jpg') no-repeat center center/cover;
    position: relative;
    background-attachment: fixed; /* Parallax effect */
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}
.hero-title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    line-height: 1.1;
}
.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--gold-accent);
}

/* Typography & Elements */
.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 1rem;
}
.line-accent {
    width: 60px;
    height: 3px;
    background-color: var(--gold-accent);
    margin-bottom: 2rem;
}

/* Projects */
.project-img {
    height: 500px;
    background-size: cover;
    background-position: center;
    box-shadow: 20px 20px 0px rgba(0,0,0,0.05);
    transition: transform 0.5s ease;
}
.project-img:hover {
    transform: scale(1.02);
}
.project-name {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-top: 1rem;
}
.project-location {
    text-transform: uppercase;
    color: var(--gold-accent);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.read-more {
    text-decoration: none;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--gold-accent);
    padding-bottom: 2px;
    font-size: 0.9rem;
    transition: 0.3s;
}
.read-more:hover {
    color: var(--gold-accent);
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-dark);
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold-accent);
}

/* Apply pointer and effect to Carousel AND Zoomable images */
.carousel-item img, .zoomable {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.carousel-item img:active, .zoomable:active {
    transform: scale(0.98);
}

/* DESKTOP (Width > 992px): Fluid scaling */
@media (min-width: 992px) {
    .carousel-inner img {
        height: auto; /* Turn off fixed height */
        aspect-ratio: 16/10; /* Sets a "Cinematic" shape that grows/shrinks with window */
    }
}

/* --- Additions for Project Page --- */

/* Specs Grid Dividers */
.divide-cols > div {
    border-right: 1px solid rgba(255,255,255,0.1);
}
.divide-cols > div:last-child {
    border-right: none;
}

/* Typography helper */
.font-serif {
    font-family: var(--font-serif);
}

/* Forms */
.form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 1rem;
}
.form-control:focus {
    border-color: var(--gold-accent);
    box-shadow: none;
}
.btn-dark {
    background-color: var(--primary-dark);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* --- Philosophy Page Additions --- */

.manifesto-text {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-style: italic;
    line-height: 1.6;
    color: #e0e0e0;
}

.text-gold {
    color: var(--gold-accent);
}

.leading-loose {
    line-height: 2;
}

.pillar-card {
    transition: background-color 0.3s ease;
}

.pillar-card:hover {
    background-color: rgba(197, 160, 89, 0.05); /* Very subtle gold tint on hover */
    border-color: var(--gold-accent) !important;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* --- Mobile Menu Overrides --- */

@media (max-width: 991px) {
    /* 1. The Menu Drawer Background */
    .navbar-collapse {
        background-color: #000000; /* Solid black background */
        padding: 1.5rem;
        margin-top: 1rem;
        border-top: 1px solid var(--gold-accent); /* A luxury gold line at the top */
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    /* 2. Link Typography */
    .navbar-nav .nav-link {
        color: #ffffff !important; /* Force pure white text */
        font-family: var(--font-serif); /* Use the elegant Serif font */
        font-size: 1.2rem; /* Make text larger for touch screens */
        margin-left: 0; /* Remove desktop spacing */
        padding: 15px 0; /* Add vertical spacing for fingers */
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Subtle divider lines */
    }

    /* 3. Link Hover/Active State */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--gold-accent) !important;
        padding-left: 10px; /* Slight movement effect on tap */
    }

    /* 4. The 'Inquire' Button on Mobile */
    .btn-contact {
        margin-top: 20px;
        display: block;
        width: 100%;
        text-align: center;
        background-color: var(--gold-accent);
        border-color: var(--gold-accent);
        color: #000000 !important; /* Black text on Gold button for high contrast */
    }
}

/* Dark Dividers for Light Sections */
.divide-cols-dark > div {
    border-right: 1px solid rgba(0,0,0,0.1);
}
.divide-cols-dark > div:last-child {
    border-right: none;
}

/* --- Collection Page Styles --- */

.text-gold { color: var(--gold-accent); }

.portfolio-item {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    transition: transform 0.6s ease;
    display: block;
}

/* Hover Effect: Zoom Image */
.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Overlay Styling */
.portfolio-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); /* Darkens image */
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Hover Effect: Show Overlay */
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-text {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

/* Hover Effect: Slide text up */
.portfolio-item:hover .portfolio-text {
    transform: translateY(0);
}

/* Badges (Sold Out / Coming Soon) */
.badge-status {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--gold-accent);
    color: black;
    padding: 5px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 3;
}

/* --- Logo Styling --- */
.nav-logo {
    height: 60px; /* Sets a standard navbar height */
    width: auto;  /* Maintains the aspect ratio so it doesn't stretch */
    object-fit: contain;
}

/* Optional: Removes the text styling we added earlier since it's an image now */
.navbar-brand {
    font-family: inherit !important;
    letter-spacing: 0 !important;
}