@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Syne:wght@400;600;800&display=swap');

:root {
    --color-bg: #FAFAF8;
    --color-surface: #FFFFFF;
    --color-accent: #E8A020;
    --color-text-primary: #1A1814;
    --color-text-muted: #5C5850;
    --color-border: #E5E5E5;
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --transition-smooth: 0.25s ease;
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-smooth);
}

img, video {
    max-width: 100%;
    display: block;
}

/* --- Global Utilities --- */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 0; /* Brutalist/Minimal sharp edges */
    background: var(--color-accent);
    color: var(--color-surface);
    transition: transform var(--transition-smooth), background var(--transition-smooth);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.nav-logo-icon {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer .logo img {
    height: 60px;
    margin-bottom: 1rem;
}

/* Watermark Background */
.watermark-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    opacity: 0.4;
    filter: blur(8px);
    mix-blend-mode: luminosity; /* Helps it stand out on busy backgrounds */
    animation: watermarkPulse 12s infinite alternate ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}
.watermark-bg img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}
@keyframes watermarkPulse {
    0% { transform: translate(-50%, -50%) scale(1); filter: blur(6px); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.15); filter: blur(12px); opacity: 0.5; }
}

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

.nav-item {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
    color: var(--color-text-primary);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.nav-cta {
    display: none; /* Hide on mobile, show on desktop */
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-smooth);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform var(--transition-slow);
}
.mobile-nav-overlay.open {
    transform: translateY(0);
}
.mobile-nav-overlay a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1rem 0;
}

@media (min-width: 1024px) {
    .nav-cta { display: block; }
}
@media (max-width: 1023px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
}

/* --- Hero Slider --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 800ms ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-media-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
}

/* Parallax shift on background */
.slide-media {
    width: 110%;
    height: 110%;
    object-fit: cover;
    position: absolute;
    top: -5%; left: -5%;
    transition: transform 8s linear;
}

.slide.active .slide-media {
    transform: scale(1.05) translateX(-2%);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(250,250,248,0) 0%, rgba(250,250,248,0.8) 100%), rgba(232,160,32,0.06);
    z-index: 3;
}

.hero-content {
    position: absolute;
    bottom: 15%;
    left: 5%;
    z-index: 4;
    max-width: 800px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease 0.4s;
}

.slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-content h2 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(255,255,255,0.5); /* contrast against light gradient */
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Slide Counter */
.slide-counter {
    position: absolute;
    bottom: 5%;
    right: 5%;
    z-index: 4;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent);
}

/* Audio Toggle */
.audio-toggle {
    position: absolute;
    top: 100px;
    right: 5%;
    z-index: 10;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 50px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    font-size: 1.2rem;
    transition: transform var(--transition-smooth);
}
.audio-toggle:hover {
    transform: scale(1.1);
}

/* --- Dashboard --- */
.dashboard-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* A: Featured Work Horizontal Scroll */
.featured-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 5rem;
}
.featured-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    scrollbar-width: none; /* Firefox */
}
.featured-slider::-webkit-scrollbar { display: none; }
.featured-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
    position: relative;
}
@media (min-width: 768px) {
    .featured-card { flex: 0 0 60%; }
}
@media (min-width: 1024px) {
    .featured-card { flex: 0 0 45%; }
}
.featured-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #E5E5E5;
}
.featured-info {
    margin-top: 1rem;
}
.featured-tag {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.slider-btn {
    width: 60px; height: 40px;
    border-radius: 20px; /* Pill-shaped */
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-smooth);
}
.slider-btn:hover {
    background: var(--color-accent);
    color: var(--color-surface);
    border-color: var(--color-accent);
}

/* B: Photo Gallery Masonry */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #E5E5E5;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* C: Video Reel */
.video-reel {
    width: 100%;
    margin-bottom: 5rem;
}
.video-embed {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    background: #000;
}

/* --- Contact Page --- */
.contact-split {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
@media (min-width: 1024px) {
    .contact-split { flex-direction: row; }
}
.contact-brand {
    flex: 1;
    background: var(--color-text-primary);
    color: var(--color-surface);
    padding: 150px 5% 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-brand h1 {
    color: var(--color-surface);
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
}
.contact-brand p {
    color: #A09E9A;
    font-size: 1.25rem;
    max-width: 500px;
}
.contact-info {
    margin-top: 3rem;
    display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-info-item {
    display: flex; align-items: center; gap: 1rem;
    font-size: 1rem; color: #E5E5E5;
}

.contact-form-side {
    flex: 1;
    padding: 150px 5% 5rem;
    background: var(--color-surface);
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-smooth);
}
.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
}
.form-control.error {
    border-color: #ef4444;
}
.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}
.form-control.error + .error-msg {
    display: block;
}

/* Map Placeholder */
.map-embed {
    width: 100%;
    height: 400px;
    background: #E5E5E5;
    margin-top: 3rem;
}

/* --- Footer --- */
.footer {
    background: var(--color-text-primary);
    color: var(--color-surface);
    padding: 5rem 5% 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-col h4 {
    color: var(--color-surface);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li { margin-bottom: 0.75rem; color: #A09E9A; }
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: #A09E9A;
    font-size: 0.9rem;
}

/* Page Transitions */
.page-transition {
    animation: fadeSlideUp 0.6s ease forwards;
}

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