/* ==========================================================
   La Frizerie by Classic Look
   Theme: light cream brick, gold signage, barber-pole accents
   ========================================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --gold: #d4af37;
    --gold-deep: #a8841c;   /* readable gold on light backgrounds */
    --gold-dark: #b8941f;
    --ink: #171412;
    --text: #2b2622;
    --text-muted: #5c554d;
    --panel: #ffffff;
    --panel-border: #e2dcd2;
    --pole-red: #c8102e;
    --pole-blue: #1e4b9b;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    /* Light cream brick wall, drawn as a tiling SVG - no image download needed */
    background-color: #eee7dc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Crect width='120' height='60' fill='%23d9d0c1'/%3E%3Crect x='0' y='0' width='57' height='27' fill='%23f2ebe1'/%3E%3Crect x='60' y='0' width='57' height='27' fill='%23ece5da'/%3E%3Crect x='-30' y='30' width='57' height='27' fill='%23efe8dd'/%3E%3Crect x='30' y='30' width='57' height='27' fill='%23f4ede3'/%3E%3Crect x='90' y='30' width='57' height='27' fill='%23eae3d7'/%3E%3C/svg%3E");
    background-size: 120px 60px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(20, 17, 15, 0.85);
    padding: 5px;
    border-radius: 25px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.lang-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.lang-btn.active {
    background: var(--gold);
    color: #1a1a1a;
}

.lang-btn:hover:not(.active) {
    background: rgba(255,255,255,0.2);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 1rem auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ Hero ============ */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 90px 20px 60px;
    /* Storefront photo with a soft dark overlay for text contrast */
    background:
        linear-gradient(rgba(15,12,10,0.35), rgba(15,12,10,0.65)),
        url('images/storefront.jpeg') center / cover no-repeat;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 8vw, 7rem);
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-eyebrow {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 5px;
    font-size: 1.1rem;
    color: var(--gold);
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    letter-spacing: 0;
    font-size: clamp(4rem, 10vw, 7rem);
    line-height: 1.1;
    color: var(--gold);
    text-shadow: 0 2px 6px rgba(0,0,0,0.8), 0 0 40px rgba(212,175,55,0.3);
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gold);
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* ============ Barber Pole (pure CSS, animated) ============ */
.barber-pole {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    filter: drop-shadow(0 14px 26px rgba(0,0,0,0.5));
    animation: fadeIn 1.2s ease-out both;
}

/* Glowing white globe on top */
.pole-globe {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%,
        #ffffff 0%, #fdfcf7 22%, #ece9df 55%, #c3c0b4 80%, #96938a 100%);
    box-shadow:
        0 0 26px rgba(255, 250, 220, 0.55),
        inset -5px -7px 12px rgba(0,0,0,0.18),
        inset 3px 4px 8px rgba(255,255,255,0.9);
    margin-bottom: -8px;
    z-index: 2;
}

/* Chrome end caps - domed, with a thin collar ring */
.pole-cap {
    width: 64px;
    height: 26px;
    border-radius: 50% / 42%;
    background: linear-gradient(180deg,
        #fafafa 0%, #d9d9d9 22%, #7e7e7e 48%, #b5b5b5 62%, #efefef 80%, #6a6a6a 100%);
    box-shadow:
        inset 0 2px 3px rgba(255,255,255,0.8),
        inset 0 -3px 5px rgba(0,0,0,0.4),
        0 2px 5px rgba(0,0,0,0.35);
    z-index: 1;
    position: relative;
}

.pole-cap::after {
    /* collar ring where the cap meets the glass */
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: -4px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(90deg, #5c5c5c, #e8e8e8 30%, #909090 55%, #dcdcdc 80%, #4f4f4f);
}

.pole-cap:last-child::after {
    bottom: auto;
    top: -4px;
}

.pole-glass {
    width: 46px;
    height: 230px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    /* Diagonal red / white / blue stripes... */
    background-image: repeating-linear-gradient(
        -45deg,
        var(--pole-red) 0 15px,
        #f6f5f2 15px 30px,
        var(--pole-blue) 30px 45px,
        #f6f5f2 45px 60px
    );
    /* ...one full stripe period along Y is 60px * sqrt(2) */
    background-size: 100% 84.85px;
    animation: pole-spin 4.5s linear infinite;
}

/* Cylinder shading: dark rolled-away edges, light facing side */
.pole-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.62) 0%,
        rgba(0,0,0,0.22) 14%,
        rgba(255,255,255,0.06) 32%,
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.10) 68%,
        rgba(0,0,0,0.30) 86%,
        rgba(0,0,0,0.62) 100%
    );
}

/* Glass specular highlight streak */
.pole-glass::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 22%;
    width: 16%;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.5) 50%,
        rgba(255,255,255,0) 100%
    );
}

@keyframes pole-spin {
    to { background-position: 0 84.85px; }
}

/* Poles sit at the far edges of the hero, vertically centered */
.pole-left,
.pole-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.pole-left  { left: 5vw; }
.pole-right { right: 5vw; }

/* ============ Sections ============ */
.section {
    padding: 80px 0;
    position: relative;
    background: rgba(255, 252, 246, 0.55);
}

.section:nth-of-type(odd) {
    background: rgba(255, 252, 246, 0.3);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.about-text p:nth-child(2) {
    animation-delay: 0.2s;
}

.about-image {
    position: relative;
    height: 400px;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.3s forwards;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    box-shadow: 0 10px 30px rgba(60, 50, 35, 0.18);
}

.about-image-right {
    animation-name: fadeInRight;
}

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

/* ============ Services Menu ============ */
.menu-panel {
    max-width: 720px;
    margin: 0 auto;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
    box-shadow: 0 10px 30px rgba(60, 50, 35, 0.14);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.menu-item {
    padding: 0.9rem 0;
}

.menu-line {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.menu-name {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    color: var(--text);
    font-size: 1.75rem;
    line-height: 1.15;
}

.menu-dots {
    flex: 1;
    border-bottom: 2px dotted #cfc6b8;
    transform: translateY(-4px);
}

.menu-price {
    font-weight: 700;
    color: var(--gold-deep);
    font-size: 1.1rem;
    white-space: nowrap;
}

.menu-desc {
    margin-top: 0.4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.menu-item.featured {
    margin-top: 1rem;
    padding: 1.2rem 1.2rem 1rem;
    background: rgba(212, 175, 55, 0.09);
    border: 1px solid var(--gold);
    border-radius: 10px;
}

.menu-item.featured .menu-name {
    color: var(--gold-deep);
    font-size: 2rem;
}

/* ============ Gallery Carousel ============ */
.carousel {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(60, 50, 35, 0.22);
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.carousel-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 72vh;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(20, 17, 15, 0.55);
    color: var(--gold);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.carousel-btn:hover {
    background: rgba(20, 17, 15, 0.8);
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(60, 50, 35, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--gold);
    transform: scale(1.25);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-item {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold-deep);
}

.info-item p {
    color: var(--text-muted);
}

.phone-link {
    color: var(--text);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--gold-deep);
}

.phone-link.secondary {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-muted);
}

.nav-buttons,
.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 9px 18px;
    border: 2px solid var(--gold);
    border-radius: 999px;
    color: var(--gold-deep);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.6);
}

.nav-btn:hover {
    background: var(--gold);
    color: #1a1a1a;
    transform: translateY(-2px);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(60, 50, 35, 0.25);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(60, 50, 35, 0.35);
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

.hours-table {
    width: 100%;
    margin-top: 0.5rem;
    color: var(--text-muted);
}

.hours-table td {
    padding: 0.5rem 0;
}

.hours-table td:first-child {
    font-weight: 700;
    color: var(--text);
}

.hours-table td:last-child {
    text-align: right;
}

.hours-table .closed {
    color: var(--pole-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.map-container {
    height: 400px;
    border: 3px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.5s forwards;
    box-shadow: 0 10px 30px rgba(60, 50, 35, 0.18);
}

/* Footer */
.footer {
    background: var(--ink);
    color: #b5aea3;
    text-align: center;
    padding: 2rem 0;
    border-top: 3px solid var(--gold);
}

.social-link {
    color: var(--gold);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--gold-dark);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 50px;
    }

    .hero {
        /* left edge of the frame cuts the big barrel in half */
        background-position: 45% center;
    }

    /* Two small poles hugging the screen edges */
    .pole-left  { left: 8px; }
    .pole-right { right: 8px; }

    .pole-globe { width: 22px; height: 22px; margin-bottom: -5px; }
    .pole-cap   { width: 34px; height: 15px; }
    .pole-cap::after { left: 5px; right: 5px; height: 6px; }
    .pole-glass { width: 24px; height: 104px; border-radius: 7px; }

    /* Keep the title clear of the edge poles */
    .hero-content {
        padding: 0 40px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 240px;
    }

    .menu-panel {
        padding: 1.75rem 1.25rem;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
    }

    .map-container {
        height: 300px;
    }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .pole-glass {
        animation: none;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
    }
}

/* Scroll reveal elements */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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