/**
 * HQ Men's Haircuts Theme Styles
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --color-bg: #100806;
    --color-text: #ffffff;
    --color-accent: #ff0000;
    --color-accent-hover: #cc0000;
    --max-width: 800px;
    --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(16, 8, 6, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 20px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link--left,
.nav-link--right {
    flex: 1;
}

.nav-link--right {
    text-align: right;
}

.nav-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo-img {
    height: 100px;
    width: auto;
}

.nav-logo-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.section--hero {
    padding: 0;
    margin-top: 80px;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a1210 0%, #2a1e1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
}

.cta-button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    color: var(--color-text);
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-text);
    transform: translateX(-50%) scale(1.05);
}

/* ==========================================================================
   Location Section
   ========================================================================== */
.section--location {
    padding-top: 80px;
}

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

.location-info {
    text-align: center;
}

.address-line {
    font-size: 1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phone {
    margin-top: 15px;
}

.phone a {
    color: var(--color-accent);
    font-size: 1.1rem;
    font-weight: 600;
}

.phone a:hover {
    text-decoration: underline;
}

.location-map {
    display: flex;
    justify-content: center;
}

.map-image {
    max-width: 100%;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.map-image:hover {
    opacity: 0.9;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background: #1a1210;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.map-placeholder a {
    color: var(--color-accent);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.section--about {
    text-align: center;
}

.about-logo {
    margin-bottom: 30px;
}

.about-logo img {
    max-width: 300px;
    margin: 0 auto;
}

.about-tagline {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: #ccc;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ddd;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.service-tags {
    margin-top: 40px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-text);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.section--gallery {
    padding: 40px 0;
    overflow: hidden;
}

.gallery-swiper {
    max-width: 100%;
    padding-bottom: 50px;
}

.gallery-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
    color: var(--color-text);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
    opacity: 1;
}

.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after {
    font-size: 1.5rem;
}

.gallery-swiper .swiper-pagination-bullet {
    background: var(--color-text);
    opacity: 0.5;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: var(--color-accent);
    opacity: 1;
}

/* ==========================================================================
   Price Menu Section
   ========================================================================== */
.section--price-menu {
    padding: 40px 0;
}

.price-menu-image {
    width: 100%;
    height: auto;
    display: block;
}

.price-menu-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #1a1210 0%, #2a1e1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #2a1e1a;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1210;
    color: var(--color-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--color-text);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.copyright {
    font-size: 0.875rem;
    color: #888;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }

    .section-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    /* Navigation */
    .nav-logo-img {
        height: 40px;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    /* Hero */
    .section--hero {
        margin-top: 70px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.875rem;
    }

    /* Location */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-info {
        order: 1;
    }

    .location-map {
        order: 2;
    }

    /* About */
    .about-logo img {
        max-width: 150px;
    }

    .about-tagline {
        font-size: 1rem;
    }

    .about-text {
        font-size: 0.9rem;
    }

    /* Gallery */
    .gallery-swiper .swiper-slide img {
        height: 250px;
    }

    .gallery-swiper .swiper-button-prev,
    .gallery-swiper .swiper-button-next {
        display: none;
    }
}

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

    .cta-button {
        padding: 10px 25px;
        font-size: 0.8rem;
        bottom: 20px;
    }

    .address-line {
        font-size: 0.9rem;
    }

    .service-tags {
        font-size: 0.875rem;
    }
}
