/* ============================================
   EMBERS GUITAR REPAIR STATION
   Deep Navy + Warm Gold | Confident Corporate
   ============================================ */

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

:root {
    --navy-950: #0a1628;
    --navy-900: #1a2f5a;
    --navy-800: #1e3a6e;
    --navy-700: #254a82;
    --gold-500: #c8a45e;
    --gold-400: #d4b46e;
    --gold-300: #e0c480;
    --neutral-50: #f8f7f4;
    --neutral-100: #f0eeea;
    --neutral-200: #e2dfd8;
    --neutral-600: #6b6560;
    --neutral-700: #4a4540;
    --neutral-800: #2d2a27;
    --white: #ffffff;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(26, 47, 90, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 47, 90, 0.10);
    --shadow-lg: 0 8px 32px rgba(26, 47, 90, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 47, 90, 0.14);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background: var(--neutral-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 47, 90, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 164, 94, 0.15);
    transition: var(--transition);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.nav__logo:hover {
    color: var(--gold-400);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: var(--gold-500);
    color: var(--navy-950);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.nav__cta:hover {
    background: var(--gold-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.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);
}

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

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(26, 47, 90, 0.88) 50%,
        rgba(30, 58, 110, 0.85) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 164, 94, 0.15);
    border: 1px solid rgba(200, 164, 94, 0.35);
    color: var(--gold-400);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero__accent {
    color: var(--gold-500);
    display: block;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
}

.btn--gold {
    background: var(--gold-500);
    color: var(--navy-950);
}

.btn--gold:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 94, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
    border-color: var(--gold-500);
    color: var(--gold-400);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   HERO SCROLL INDICATOR
   ============================================ */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(200, 164, 94, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-500);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--navy-900);
    border-color: var(--navy-900);
}

.service-card:hover .service-card__icon svg {
    stroke: var(--gold-500);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card__text {
    font-size: 0.925rem;
    color: var(--neutral-600);
    line-height: 1.65;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--neutral-50);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: var(--shadow-xl);
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--gold-500);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__text {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.75;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.stat {
    text-align: center;
    padding: 20px 12px;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-sm);
}

.stat--divider {
    border-left: 2px solid var(--gold-500);
    border-right: 2px solid var(--gold-500);
}

.stat__number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.stat__number svg {
    width: 24px;
    height: 24px;
    fill: var(--gold-500);
}

.stat__label {
    font-size: 0.78rem;
    color: var(--neutral-600);
    line-height: 1.4;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

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

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 5/4;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery__item-overlay span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--navy-900);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact .section__title {
    color: var(--white);
}

.contact .section__subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.contact__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.contact__item:hover {
    color: var(--gold-400);
}

.contact__item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 164, 94, 0.12);
    border: 1px solid rgba(200, 164, 94, 0.25);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact__item-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 4px;
}

.contact__item span:last-child {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Form */
.contact__form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.contact__form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--neutral-700);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--neutral-800);
    background: var(--neutral-50);
    transition: var(--transition);
    outline: none;
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--gold-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--neutral-600);
    opacity: 0.6;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form__success svg {
    color: var(--gold-500);
}

.form__success h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
}

.form__success p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* ============================================
   MAP
   ============================================ */
.map-section {
    background: var(--neutral-200);
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 380px;
    filter: grayscale(30%) contrast(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-950);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.footer__logo:hover {
    color: var(--gold-400);
}

.footer__tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.footer__heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer__contact-item:hover {
    color: var(--gold-400);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.5s; }
.reveal[data-reveal-delay="6"] { transition-delay: 0.6s; }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(26, 47, 90, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: var(--transition);
        border-bottom: 1px solid rgba(200, 164, 94, 0.15);
    }
    
    .nav__menu.open {
        transform: translateY(0);
    }
    
    .nav__link {
        font-size: 1rem;
    }
    
    .nav__cta {
        justify-content: center;
    }
    
    .hero__content {
        padding: 100px 24px 60px;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image img {
        height: 350px;
    }
    
    .about__image-accent {
        display: none;
    }
    
    .about__stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact__form-wrapper {
        padding: 28px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .services,
    .about,
    .gallery,
    .contact {
        padding: 72px 0;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .about__stats {
        grid-template-columns: 1fr;
    }
    
    .stat--divider {
        border-left: none;
        border-right: none;
        border-top: 2px solid var(--gold-500);
        border-bottom: 2px solid var(--gold-500);
    }
}
