/* ========================================
   Kunzman Photography - Premium Dark Theme
   ======================================== */

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

:root {
    --bg: #0a0a0a;
    --bg-card: #141414;
    --bg-elevated: #1a1a1a;
    --gold: #c8a97e;
    --gold-light: #e0c9a6;
    --gold-dark: #a68b5b;
    --text: #f0ece4;
    --text-muted: #8a8580;
    --text-dim: #5a5550;
    --white: #ffffff;
    --glass: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(200, 169, 126, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

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

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}
.nav.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}
.logo-k {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 6px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-admin {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--white);
    transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease, transform 8s ease;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,0.5) 0%,
        rgba(10,10,10,0.3) 40%,
        rgba(10,10,10,0.7) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: heroFadeIn 1.5s ease 0.3s both;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    background: rgba(200,169,126,0.08);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
}
.hero-title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 7rem);
    color: var(--white);
}
.hero-title-line.accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}
.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 48px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 2;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s infinite;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200,169,126,0.3);
    color: var(--bg);
}
.btn-outline {
    background: transparent;
    border: 1px solid rgba(200,169,126,0.4);
    color: var(--gold-light);
}
.btn-outline:hover {
    background: rgba(200,169,126,0.1);
    border-color: var(--gold);
    color: var(--gold-light);
}
.btn-full { width: 100%; justify-content: center; }

/* ========== SECTIONS ========== */
.section {
    padding: 120px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.15;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ========== GALLERY ========== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    grid-auto-flow: dense;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item.wide {
    grid-column: span 2;
}
.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: auto;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-light);
}
.gallery-zoom {
    font-size: 1.5rem;
    color: var(--white);
}
.gallery-item.hidden {
    display: none;
}

/* ========== ABOUT ========== */
.about { background: var(--bg-card); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 3/4;
}
.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.3;
}
.about-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}
.stat { text-align: center; }
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.stat-number::after { content: '+'; }
.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    display: block;
}

/* ========== SERVICES ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition);
    animation-delay: calc(var(--delay) * 0.1s);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-dark);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    transition: border-color 0.4s, transform 0.4s;
}
.service-card:hover .service-icon {
    border-color: var(--gold);
    transform: scale(1.05);
}
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-icon img {
    transform: scale(1.15);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== CONTACT ========== */
.contact { background: var(--bg-card); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-details { margin-top: 40px; }
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-item-icon {
    font-size: 1.5rem;
    margin-top: 2px;
}
.contact-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.contact-form-wrap {
    background: var(--bg-elevated);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
}
.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8580' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
.form-group select option {
    background: var(--bg-card);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
}
.footer-copy {
    color: var(--text-dim);
    font-size: 0.8rem;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========== LIGHTBOX ========== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}
.lightbox.open {
    opacity: 1;
    pointer-events: all;
}
.lb-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}
.lb-close, .lb-prev, .lb-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 2rem;
    z-index: 10;
    padding: 16px;
    transition: all 0.3s;
    opacity: 0.6;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 20px; right: 20px; font-size: 2.5rem; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lb-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== KEYFRAMES ========== */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.open {
        max-height: 400px;
    }
    .nav-links li {
        border-top: 1px solid var(--glass-border);
    }
    .nav-links a {
        display: block;
        padding: 16px 24px;
    }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.wide, .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
    .section { padding: 80px 0; }
    .hero-actions { flex-direction: column; align-items: center; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .stat-number { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-title-line { font-size: 2.5rem; }
}
