:root {
    --bg-navy: #FAF8F5;
    --bg-charcoal: #FFFFFF;
    --accent-gold: #C5A017;
    --accent-gold-hover: #E2BB31;
    --accent-wine: #F0EDE5;
    --text-primary: #2C3338;
    --text-muted: #6B7280;
    
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(197, 160, 23, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-ui: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-navy);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Audio Control */
.audio-control {
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    border: 1px solid var(--accent-gold);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    color: var(--accent-gold);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-control:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.audio-control.playing {
    background: var(--accent-gold);
    color: var(--bg-navy);
}

/* Glassmorphism Card System */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.1), 0 0 20px rgba(197, 160, 23, 0.15);
}

/* Typography & Flow */
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 1rem auto 0;
    opacity: 0.5;
}

.btn-gold {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-gold:hover {
    background: var(--accent-gold);
    color: var(--bg-navy);
    box-shadow: 0 0 20px rgba(197, 160, 23, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 60px 5%;
    position: relative;
    background: transparent;
}

.hero-layout-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: fit-content;
    width: 100%;
    z-index: 1;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}

.hero-subject-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 40px rgba(197, 160, 23, 0.15);
    animation: floatImage 6s ease-in-out infinite;
    display: block;
}

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

.hero-text {
    flex: 1;
    text-align: left;
    max-width: 550px;
    background: rgba(255, 255, 255, 0.85);
    position: relative;
}

.hero .title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-weight: 700;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* About Section */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-image-placeholder {
    padding: 0;
    overflow: hidden;
    display: flex;
}
.shimmer {
    position: absolute;
    top: 0; left: -100%; height: 100%; width: 50%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    animation: shimmer 5s infinite;
}

@keyframes shimmer {
    100% { left: 200%; }
}

/* Works Section */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-item {
    text-align: center;
}

.work-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.work-item h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.work-item p {
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.gallery-item {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(250, 248, 245, 0.4);
    box-shadow: var(--glass-shadow);
    border-radius: 8px;
}

.gallery-item::before {
    content: 'Empty Photo Slot';
    position: absolute;
    color: var(--accent-gold);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    opacity: 0.5;
    z-index: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
    z-index: 1;
    position: relative;
    font-family: var(--font-ui);
    color: transparent; /* hides alt text when image fails if browser allows */
}

/* Fallback for broken images giving it a nice bg */
.gallery-item img:after {
    content: attr(alt);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--glass-bg);
    color: var(--accent-gold);
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

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


/* Animations */
.fade-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    background: var(--bg-charcoal);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-layout-centered {
        gap: 3rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .hero .title { font-size: 3rem; }
    .nav-links { display: none; }
}
