/* Modern Minimalist Reset & Typography Base */
:root {
    --primary: #1a1a1a;
    --accent: #c5a880; /* Subtle Gold/Brass construction accent */
    --bg-light: #f9f9f9;
    --text-dark: #2d2d2d;
    --text-muted: #666666;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* ==========================================
       LOGO CONFIGURATION CONFIG
       ========================================== */
    --logo-height: 45px; /* Adjust this value to perfectly scale your logo height */
}

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

body {
    font-family: var(--font-stack);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

/* Fixed Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eaeaea;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--logo-height) * 0.3) 2rem;
}

/* Responsive Branding Layout */
.logo-wrapper {
    display: flex;
    align-items: center;
    height: var(--logo-height);
}

.logo-wrapper img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Section Global Settings */
section {
    padding: 6rem 2rem 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

/* Hero Layout - Media Heavy */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('../img/home02.jpg') center/cover no-repeat;
    color: #ffffff;
    padding-top: 6rem;
    max-width: 100%;
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: #e5e5e5;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: #ffffff;
    padding: 0.85rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

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

/* Full-Screen About Layout */
.about-full-screen {
    max-width: 100% !important; /* Overrides the standard container constraint */
    background-color: var(--bg-light); /* Floods the entire screen width with light gray */
    min-height: 70vh; /* Gives it distinct structural height presence */
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
}

/* Interior Centering Wrapper */
.about-content-wrapper {
    max-width: 1200px; /* Aligns perfectly with your header and hero alignment */
    margin: 0 auto;
    width: 100%;
}

/* Minimalist Clean Text Card */
.about-card-clean {
    max-width: 800px; /* Prevents long-line reading fatigue */
    margin-top: 2rem;
}

.about-card-clean h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.about-card-clean p {
    color: var(--text-dark);
    font-size: 1.15rem; /* Slightly larger type scaling for high-end feel */
    line-height: 1.8;
}

/* Wide-Aspect Minimalist Text Layout */
.about-card-wide {
    max-width: 100%; /* Breaks the text free so it fills the available screen space */
    margin-top: 2rem;
}

.about-card-wide h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.about-card-wide p {
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Portfolio / Showroom Grid Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    background-color: #000;
}

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

.portfolio-item:hover img {
    transform: scale(1.05);
    opacity: 0.7;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #ffffff;
}

.portfolio-overlay h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.portfolio-overlay p {
    font-size: 0.85rem;
    color: #ccc;
}

/* Contact Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-content h1 { font-size: 2.25rem; }
    .nav-links { display: none; }
}

.info-details h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.info-item p {
    font-size: 1.1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
}

.form-group input, .form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    font-family: var(--font-stack);
    font-size: 1rem;
    background-color: var(--bg-light);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
}

footer {
    background-color: var(--primary);
    color: #ffffff;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Lightbox Master Overlay */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

/* Content Frame */
.lightbox-content {
    position: relative;
    max-width: 85vw;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Caption Block styling */
.lightbox-caption {
    color: #ffffff;
    text-align: center;
    margin-top: 1.5rem;
    font-family: var(--font-stack);
}

.lightbox-caption h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.lightbox-caption p {
    color: #aaa;
    font-size: 0.9rem;
}

#lightboxCounter {
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

/* Structural UI Controls */
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2100;
}

.lightbox-close:hover { color: var(--accent); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    padding: 2rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2100;
}
.lightbox-nav:hover { color: var(--accent); }
.prev { left: 1rem; }
.next { right: 1rem; }

/* Hide nav arrows if project only has 1 image */
.lightbox.single-image .lightbox-nav {
    display: none;
}