/* ===================================
   High Clazz Country Barber — Styles
   =================================== */

/* CSS Custom Properties */
:root {
    --burgundy-950: #1a0a0e;
    --burgundy-900: #2d0f16;
    --burgundy-800: #4a1522;
    --burgundy-700: #6b1d30;
    --burgundy-600: #8b2540;
    --burgundy-500: #a83252;
    --burgundy-400: #c44d6e;
    --burgundy-300: #d4748e;
    --burgundy-200: #e8a0b0;
    --burgundy-100: #f5c4cc;
    --burgundy-50:  #fceaf0;

    --blush-900:  #5c1a2e;
    --blush-800:  #7a2540;
    --blush-700:  #9a3255;
    --blush-600:  #b84a6e;
    --blush-500:  #d46a8a;
    --blush-400:  #e08fa6;
    --blush-300:  #ebbbb0;
    --blush-200:  #f5d8d8;
    --blush-100:  #faecec;
    --blush-50:   #fdf6f6;

    --cream:      #fef9f4;
    --cream-dark: #f9f0ea;
    --warm-white: #fffcf9;
    --charcoal:   #2a2225;
    --warm-gray:  #6b5f64;
    --light-gray: #b8a8ad;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Nunito', 'Segoe UI', sans-serif;

    --shadow-sm:  0 1px 3px rgba(74, 21, 34, 0.08);
    --shadow-md:  0 4px 16px rgba(74, 21, 34, 0.10);
    --shadow-lg:  0 8px 32px rgba(74, 21, 34, 0.14);
    --shadow-xl:  0 16px 48px rgba(74, 21, 34, 0.16);

    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  22px;
    --radius-xl:  32px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Section Shared */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy-600);
    background: var(--burgundy-50);
    border: 1px solid var(--burgundy-100);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 540px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 252, 249, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(168, 50, 82, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 252, 249, 0.97);
    box-shadow: var(--shadow-md);
}

.nav-container {
    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;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--burgundy-700);
}

.nav-logo-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--charcoal);
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--burgundy-600);
    background: var(--burgundy-50);
}

.nav-cta {
    background: var(--burgundy-600) !important;
    color: white !important;
    padding: 10px 22px !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--burgundy-700) !important;
    color: white !important;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

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

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 15, 22, 0.82) 0%,
        rgba(74, 21, 34, 0.72) 50%,
        rgba(107, 29, 48, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--blush-300);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-trust-item svg {
    color: var(--blush-300);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce-scroll 2s ease-in-out infinite;
}

@keyframes bounce-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--burgundy-600);
    color: #ffffff;
    border-color: var(--burgundy-600);
}

.btn-primary:hover {
    background: var(--burgundy-700);
    border-color: var(--burgundy-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--burgundy-600);
    border-color: var(--burgundy-600);
}

.btn-outline:hover {
    background: var(--burgundy-600);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

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

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

.service-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(168, 50, 82, 0.08);
    transition: var(--transition);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--burgundy-100), var(--blush-100));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--burgundy-600);
}

.service-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 100px 0;
    background: var(--warm-white);
}

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

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--warm-white);
}

.about-image-accent img {
    width: 260px;
    height: 200px;
    object-fit: cover;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.about-value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--burgundy-100), var(--blush-100));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-600);
}

.about-value strong {
    display: block;
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.about-value span {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

/* ===================================
   Testimonial Section
   =================================== */
.testimonial {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--burgundy-800), var(--burgundy-600));
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonial-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote-mark {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: -20px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial-author-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-author-name {
    display: block;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
}

.testimonial-author-location {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

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

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 100px 0;
    background: var(--warm-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: stretch;
}

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

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(168, 50, 82, 0.06);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--burgundy-200);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--burgundy-600), var(--burgundy-400));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.contact-card a {
    color: var(--burgundy-600);
    font-weight: 600;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--burgundy-800);
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--burgundy-900), var(--burgundy-700));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-subheadline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.cta .btn-outline:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--burgundy-700);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--burgundy-950);
    padding: 60px 0 0;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-logo-icon {
    font-size: 1.4rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--blush-300);
}

.footer-contact li:not(:has(a)) {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===================================
   Reveal Animations
   =================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Default state for reduced-motion or no-JS */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        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);
    }

    .about-layout {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--warm-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-trust {
        gap: 16px;
    }

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

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-image-accent {
        right: 10px;
        bottom: -20px;
    }

    .about-image-accent img {
        width: 200px;
        height: 160px;
    }

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

    .gallery-item img {
        height: 200px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 300px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

    .gallery-item img {
        height: 240px;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
