/* ============================================
   Amyx Barber Shop & North — Custom Styles
   Palette: Deep Navy (#0f172a) + Warm Gold (#b8860b)
   ============================================ */

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

:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --navy-mid: #334155;
    --gold: #b8860b;
    --gold-light: #d4a017;
    --gold-pale: #fef3c7;
    --cream: #f5f0eb;
    --cream-light: #faf7f4;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-muted: #64748b;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.14);
    --shadow-gold: 0 8px 30px rgba(184, 134, 11, 0.25);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--navy); }

a { color: inherit; text-decoration: none; }

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

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

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.938rem;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Section Shared ─── */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle { margin: 0 auto; }
.text-gold { color: var(--gold); }

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}
.logo-icon { color: var(--gold); }
.logo-accent { color: var(--gold); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }

.btn-nav {
    background: var(--gold);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition) !important;
}
.btn-nav:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.mobile-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--white);
    transition: color var(--transition);
}
.mobile-link:hover { color: var(--gold); }
.mobile-book { margin-top: 8px; }

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(184, 134, 11, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 10% 80%, rgba(30, 41, 59, 0.6) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 134, 11, 0.12);
    border: 1px solid rgba(184, 134, 11, 0.25);
    color: var(--gold-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Floating Stat Cards */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
}
.stat-card:hover { transform: translateX(6px); }

.stat-card--primary {
    background: var(--white);
    border-left: 4px solid var(--gold);
}
.stat-card--accent {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--white);
}
.stat-card--navy {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stat-card--primary .stat-card-icon { background: var(--gold-pale); color: var(--gold); }
.stat-card--accent .stat-card-icon { background: rgba(255,255,255,0.2); color: var(--white); }
.stat-card--navy .stat-card-icon { background: rgba(255,255,255,0.08); color: var(--gold-light); }

.stat-card-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
}
.stat-card-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 2px;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ─── Services ─── */
.services {
    background: var(--cream);
    padding: 100px 0;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card-img {
    overflow: hidden;
    height: 220px;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--gold-pale);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
}
.service-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── About ─── */
.about {
    background: var(--cream-light);
    padding: 100px 0;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--cream-light);
}
.about-img-secondary img { width: 100%; height: 240px; object-fit: cover; }

.about-accent-box {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--gold);
    color: var(--white);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    z-index: 2;
}
.about-accent-box svg { flex-shrink: 0; }

.about-content { padding: 10px 0; }

.about-text {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.about-feature-icon.gold {
    background: var(--gold-pale);
    color: var(--gold);
}

/* ─── CTA Banner ─── */
.cta-banner {
    background: var(--navy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(184,134,11,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-content { flex: 1; min-width: 280px; }
.cta-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--white);
    margin-bottom: 14px;
}
.cta-text {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ─── Gallery ─── */
.gallery {
    background: var(--cream);
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 18px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item--large { grid-column: 1 / 8; grid-row: 1 / 2; }
.gallery-item--large img { height: 380px; }
.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img { height: 260px; }
.gallery-item--wide { grid-column: 1 / 13; grid-row: 2 / 3; }
.gallery-item--wide img { height: 260px; }

/* ─── Contact ─── */
.contact {
    background: var(--cream-light);
    padding: 100px 0;
}

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

.contact-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--gold-pale);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
}
.contact-detail p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}
.contact-detail a {
    color: var(--text-dark);
    transition: color var(--transition);
}
.contact-detail a:hover { color: var(--gold); }

/* Contact Form */
.contact-form-wrapper { max-width: 100%; }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.form-hint {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-light);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.form-success.show { display: block; }
.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold-pale);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.form-success h4 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); font-size: 0.95rem; }

/* ─── Footer ─── */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.6);
    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);
}

.logo-light { color: var(--white); margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 280px; }

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.92rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }

.footer-contact p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 4px; }
.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 48px; }
    .hero-cards { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .stat-card { flex: 1; min-width: 180px; }
    .about-grid { grid-template-columns: 1fr; gap: 80px; }
    .about-images { max-width: 520px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    
    .hero { padding: 100px 0 100px; min-height: auto; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; width: 100%; }
    
    .stat-card { min-width: 140px; padding: 16px 18px; }
    .stat-card-icon { width: 40px; height: 40px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .service-card-img { height: 200px; }
    
    .about-img-secondary { right: -10px; bottom: -24px; }
    .about-img-main img { height: 300px; }
    .about-img-secondary img { height: 180px; }
    .about-accent-box { right: 20px; top: -14px; font-size: 0.82rem; padding: 14px 18px; }
    .about-features { grid-template-columns: 1fr; }
    
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    
    .gallery-item--large { grid-column: 1 / -1; }
    .gallery-item--large img,
    .gallery-item--wide img { height: 240px; }
    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img { height: 200px; }
    
    .contact-form-card { padding: 28px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero { padding: 90px 0 90px; }
    .services, .about, .gallery, .contact { padding: 70px 0; }
    .section-header { margin-bottom: 40px; }
    .hero-cards { flex-direction: column; }
    .stat-card { min-width: auto; }
}
