/* =========================================================================
   PEPE'S BARBERSHOP - PREMIUM LANDING PAGE STYLES
   ========================================================================= */

:root {
    --bg-dark: #0f1011;
    --bg-darker: #080808;
    --bg-light: #f5f5f5;
    --bg-light-alt: #ebebeb;
    
    --text-light: #fdfdfd;
    --text-muted: #999999;
    --text-dark: #1a1a1a;
    --text-dark-muted: #555555;
    
    --gold: #d4af37;
    --gold-dark: #aa8c2c;
    --gold-muted: rgba(212, 175, 55, 0.5);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-medium: 0.3s ease;
}

/* =========================================================================
   BASE STYLES
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-medium);
}

ul {
    list-style: none;
}

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

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

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.text-muted { color: var(--text-muted); }
.small { font-size: 0.85rem; }
.gold-text { color: var(--gold) !important; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-medium);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-dark);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.btn-outline-full {
    display: block;
    width: 100%;
    text-align: center;
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(255,255,255,0.2);
}
.btn-outline-full:hover {
    background-color: var(--text-light);
    color: var(--bg-darker);
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-medium);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(15, 16, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition-medium);
}

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

.nav-logo, .footer-logo {
    text-align: center;
    border: 2px solid var(--text-light);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-medium);
    background-color: var(--bg-dark);
}

.navbar.scrolled .nav-logo {
    width: 80px;
    height: 80px;
}

.logo-inner h1, .logo-inner h2 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1;
}

.navbar.scrolled .logo-inner h1 {
    font-size: 1.2rem;
}

.logo-inner span {
    font-size: 0.5rem;
    color: var(--gold);
    letter-spacing: 2px;
    display: block;
}

.nav-social {
    display: flex;
    gap: 1rem;
}

.nav-social a {
    color: var(--text-light);
    opacity: 0.7;
}

.nav-social a:hover {
    opacity: 1;
    color: var(--gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-medium);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8,8,8,0.85) 0%, rgba(15,16,17,0.7) 100%);
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-hours {
    color: var(--gold);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* =========================================================================
   SECTIONS GENERAL
   ========================================================================= */
section {
    padding: 8rem 0;
}

.dark-section {
    background-color: var(--bg-darker);
    color: var(--text-light);
}

.dark-section h2 { color: var(--text-light); }
.dark-section p { color: var(--text-muted); }

.light-section {
    background-color: var(--bg-light);
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"/></svg>');
}
.light-section-alt {
    background-color: #fafafa;
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 { margin-bottom: 0.5rem; }

.image-wrapper {
    position: relative;
    padding: 1rem;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 60%;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    z-index: 1;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 60%;
    border-bottom: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    z-index: 1;
}

.about-image img {
    width: 100%;
    position: relative;
    z-index: 2;
    filter: grayscale(30%) contrast(1.1);
    transition: var(--transition-medium);
}

.about-image:hover img {
    filter: grayscale(0%) contrast(1.1);
}

.image-caption {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--gold);
    text-align: right;
    margin-top: 1rem;
    letter-spacing: 2px;
}

/* =========================================================================
   SERVICES AND PRICING
   ========================================================================= */
.menu-list {
    max-width: 800px;
    margin: 4rem auto 0;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-content {
    flex: 1;
    padding-right: 2rem;
}

.menu-item-content h4 {
    color: var(--gold-dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.menu-item-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark-muted);
}

.menu-item-price {
    text-align: right;
    min-width: 100px;
}

.menu-item-price .price {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.menu-item-price .time {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================================================
   VOUCHERS SECTION
   ========================================================================= */
.vouchers-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vouchers-image img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-cards {
    margin-top: 6rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-slow);
}

.dark-card {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.dark-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-muted);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card.featured {
    background-color: var(--bg-darker);
    border-color: var(--gold);
    position: relative;
    transform: scale(1.05);
}

.card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.card h4 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    min-height: 3.1rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    min-height: 80px;
}

.card-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* =========================================================================
   CONTACT & FOOTER
   ========================================================================= */
.contact-section {
    position: relative;
    background-color: var(--bg-darker);
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.05"/></svg>');
    color: var(--text-light);
    padding: 6rem 0 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4rem;
}

.contact-info .social-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-list strong {
    display: inline-block;
    width: 100px;
    font-family: var(--font-heading);
    color: var(--gold);
}

.contact-image img {
    border-radius: 4px;
    opacity: 0.8;
    filter: sepia(0.2) contrast(1.1);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
    width: 100px;
    height: 100px;
    border-color: var(--gold);
}

.footer-logo h2 {
    font-size: 1.5rem;
}

.copyright {
    margin-bottom: 0.5rem;
}

/* =========================================================================
   ANIMATIONS & REVEALS
   ========================================================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: var(--transition-slow);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: var(--transition-slow);
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 992px) {
    .about-container, .vouchers-intro, .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 3rem auto 0;
    }
    
    .card.featured {
        transform: scale(1);
    }
    .card.featured:hover {
        transform: translateY(-5px);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-social {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-logo {
        width: 80px;
        height: 80px;
    }
    
    .logo-inner h1 {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .menu-item {
        flex-direction: column;
    }
    
    .menu-item-price {
        text-align: left;
        margin-top: 1rem;
    }
}

/* Mobile Menu Active State */
body.menu-open {
    overflow: hidden;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-slow);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-light);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
