/* ============================================
   DJ Photography - Hotel & Architecture
   ============================================ */

:root {
    --bg-dark: #0d0d0d;
    --bg-card: #141414;
    --bg-elevated: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #c9a962;
    --accent-hover: #dfc07a;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.logo-dj {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(201, 169, 98, 0.05) 0%, transparent 50%);
    animation: bgPulse 10s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 24px;
}

.hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.3s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.5s; }
.title-line:nth-child(2) { animation-delay: 0.7s; }

.title-line.accent {
    color: var(--accent);
    font-style: italic;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.05em;
    max-width: 400px;
    margin: 0 auto 48px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.9s;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.1s;
}

.btn {
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    border-color: var(--text-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.3s;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

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

/* ============================================
   Categories Section
   ============================================ */
.categories {
    padding: 100px 0;
    background: var(--bg-card);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
}

.category-img {
    width: 100%;
    height: 100%;
    background-color: var(--bg-elevated);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.category-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 8px;
}

.category-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
}

/* ============================================
   Preview Section
   ============================================ */
.preview {
    padding: 100px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
}

.view-all {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--accent);
}

.preview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.preview-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
    transition: transform 0.4s ease;
}

.preview-card.large {
    grid-row: span 2;
    aspect-ratio: auto;
}

.preview-card:hover {
    transform: translateY(-4px);
}

.preview-img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background-color: var(--bg-elevated);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.preview-card:hover .preview-img {
    transform: scale(1.03);
}

.preview-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.preview-tag {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.preview-info h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--bg-card);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.service-card {
    text-align: center;
}

.service-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
    gap: 32px;
}

.social-links a {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

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

/* ============================================
   Works Page
   ============================================ */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    background: var(--bg-card);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Works Filter */
.works-filter {
    padding: 48px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.filter-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--text-primary);
}

.filter-btn.active::after {
    width: 100%;
}

/* Works Grid */
.works-section {
    padding: 60px 0 120px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.work-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.work-img {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-elevated);
    background-size: cover;
    background-position: center;
}

.work-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0.3;
}

.work-content {
    padding: 24px;
}

.work-tag {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.work-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.work-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.work-meta {
    display: flex;
    gap: 24px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ============================================
   About Page
   ============================================ */
.about-section {
    padding: 160px 0 100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.about-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    opacity: 0.3;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.about-lead {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--accent);
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Services Section (About) */
.services-section {
    padding: 80px 0;
    background: var(--bg-card);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.service-card {
    padding: 32px;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent);
}

/* Gear Section */
.gear-section {
    padding: 80px 0;
}

.gear-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.gear-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
}

.gear-icon {
    font-size: 1.5rem;
}

.gear-item span:last-child {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-card);
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 32px;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--accent);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item span:last-child {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 968px) {
    .nav {
        padding: 16px 24px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 100px 40px;
        gap: 32px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border-subtle);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-card.large {
        grid-row: span 1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-stats {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer .container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 28px;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        gap: 16px;
        flex-wrap: wrap;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    /* Mobile optimizations for work detail */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .project-nav .container {
        flex-direction: column;
        gap: 24px;
    }

    .project-nav-link.next {
        text-align: left;
    }
}
