/* ============================================
   KUTTING ROOM — Custom Styles
   Premium Dark Luxury | Forest Green + Gold
   ============================================ */

:root {
    --color-bg: #0A0F0C;
    --color-bg-light: #0D1410;
    --color-offwhite: #F5F0E8;
    --color-offwhite-dim: rgba(245, 240, 232, 0.7);
    --color-gold: #D4AF37;
    --color-gold-light: #E8C94A;
    --color-green-dark: #1A3A2A;
    --color-green-deeper: #0F2418;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Raleway', 'Helvetica Neue', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-offwhite);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
.font-playfair { font-family: var(--font-display); }
.font-raleway { font-family: var(--font-body); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-green-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* Selection */
::selection {
    background: var(--color-gold);
    color: var(--color-bg);
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
}

#navbar.scrolled {
    background: rgba(10, 15, 12, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 175, 55, 0.08);
    padding: 0;
}

#navbar.scrolled nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-gold);
}

/* ============================================
   MOBILE MENU
   ============================================ */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    position: relative;
}

/* ============================================
   HERO
   ============================================ */
.hero-gradient {
    background: radial-gradient(ellipse at 30% 50%, rgba(26, 58, 42, 0.8) 0%, rgba(10, 15, 12, 0.6) 50%, rgba(10, 15, 12, 0.95) 100%),
                radial-gradient(ellipse at 70% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
                linear-gradient(160deg, #0F2418 0%, #1A3A2A 30%, #0A0F0C 70%, #1A0F0A 100%);
}

/* Hero entrance animations */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-subtitle {
    animation: heroFadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-headline {
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-description {
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    animation: heroFadeUp 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--color-gold);
    color: var(--color-bg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    border: 1px solid var(--color-gold);
}

.cta-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--color-offwhite);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid rgba(245, 240, 232, 0.25);
    transition: all 0.4s ease;
}

.cta-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

/* ============================================
   SECTION ELEMENTS
   ============================================ */
.section-label {
    display: block;
}

.section-title {
    position: relative;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-bg-light);
    border: 1px solid rgba(245, 240, 232, 0.06);
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.06);
}

.service-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.08);
}

.service-card-content {
    padding: 1.75rem;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.4);
}

.service-card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-gold);
}

.service-card-title {
    position: relative;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 12, 0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

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

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-gradient {
    background: radial-gradient(ellipse at center, rgba(26, 58, 42, 0.6) 0%, rgba(10, 15, 12, 0.8) 60%, rgba(10, 15, 12, 0.95) 100%);
}

/* ============================================
   REVEAL ANIMATIONS (below-fold only)
   Progressive enhancement: content is visible by default,
   JS adds the animated state.
   ============================================ */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FORM STYLES
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1) !important;
}

select option {
    background: var(--color-bg);
    color: var(--color-offwhite);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.25rem;
    }

    .service-card-img {
        height: 180px;
    }

    .section-title {
        font-size: 2rem;
    }

    #about .relative > img {
        border-radius: 12px;
    }

    .gallery-item[style*="grid-column: span 2"] {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.875rem;
    }

    .cta-primary,
    .cta-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   FOCUS VISIBLE
   ============================================ */
:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}
