/* 
 * Interior Design Portfolio - Design System 
 * Aesthetic: Modern Editorial
 * Palette: Ivory, Charcoal, Bronze
 */

:root {
    /* Color Palette */
    --color-ivory: #FDFBF7;
    --color-charcoal: #1A1A1A;
    --color-bronze: #A87B5D;
    --color-bronze-light: #C49A7E;
    --color-text-body: #333333;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-slow: 0.8s ease-in-out;
    --transition-medium: 0.4s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-ivory);
    color: var(--color-text-body);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-charcoal);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-medium);
}

img {
    max-width: 100%;
    display: block;
}

/* Typography Utilities */
.text-bronze {
    color: var(--color-bronze);
}

.text-charcoal {
    color: var(--color-charcoal);
}

.font-serif {
    font-family: var(--font-heading);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: padding 0.3s ease, background-color 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 4rem;
    background-color: var(--color-ivory);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--color-charcoal);
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-charcoal);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-bronze);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-bronze);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Align content to the right */
    text-align: right;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Simulate Ken Burns effect setup */
    transform: scale(1);
    transition: transform 10s ease-out;
}

.hero.animate .hero-bg {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* increased opacity for readability */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    width: 100%;
    max-width: 900px;
    background-color: rgba(0, 0, 0, 0.45);
    /* Dark transparent bg */
    padding: 4rem 4rem 4rem 8rem;
    padding-right: 10%;
    margin-right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.3);

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--color-charcoal);
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    background-color: var(--color-charcoal);
    color: var(--color-ivory);
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu simplified for now */
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    margin-bottom: 1rem;
    border: 1px solid #333;
}

.lightbox-controls {
    display: flex;
    gap: 2rem;
    color: #fff;
    margin-top: 1rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-body);
}

.lightbox-nav-btn {
    background: none;
    border: 1px solid #555;
    color: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.lightbox-nav-btn:hover {
    background: #fff;
    color: #000;
}

.lightbox-caption {
    color: #ccc;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.hero-title {
    color: #FFFFFF !important;
    text-shadow: 0 4px 6px rgba(0,0,0,0.8);
}
.hero-subtitle {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

