/* 
 * Lost Angeles Barber - Streetstyle
 * Colors: Charcoal Black, Electric Cobalt Blue, Stark White
 */

:root {
    --bg-black: #0a0a0a;
    --text-white: #ffffff;
    --electric-blue: #0044ff; /* Cobalt electric blue */
    --concrete-gray: #1a1a1a;
    --border-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

/* Global Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--electric-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 10px var(--electric-blue);
}

.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 68, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background 0.2s;
}

/* Three.js Canvas */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none; /* Let clicks pass through to sections */
}

/* Typography */
h1, h2, h3 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
}

.graffiti {
    font-family: 'Permanent Marker', cursive;
    color: var(--electric-blue);
    text-transform: none;
    letter-spacing: normal;
}

/* Containers */
.smooth-scroll-wrapper {
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Section 1: Manifesto */
.section-manifesto {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cinematic-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    opacity: 0.6;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.8) 80%, var(--bg-black) 100%);
    z-index: 1;
}

.manifesto-text {
    font-size: 8vw;
    line-height: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.manifesto-text .graffiti {
    position: absolute;
    font-size: 10vw;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -30%) rotate(-5deg);
    text-shadow: 0 0 20px rgba(0, 68, 255, 0.5);
    z-index: 2;
}

/* Section 2: The Menu */
.section-menu {
    position: relative;
}

.menu-wrapper {
    width: 100%;
    max-width: 800px;
    margin-left: 10vw;
}

.menu-item {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-dark);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.menu-item-header {
    display: flex;
    align-items: center;
}

.menu-item-content {
    height: 0;
    overflow: hidden;
    padding-left: 60px; /* Aligns with title */
    opacity: 0;
}

.menu-item-content p {
    font-size: 16px;
    color: #888;
    margin-bottom: 20px;
    max-width: 600px;
}

.menu-item-content p strong {
    color: var(--text-white);
}

.book-now-btn {
    background: transparent;
    border: 1px solid var(--electric-blue);
    color: var(--electric-blue);
    padding: 10px 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: bold;
    cursor: none;
    text-transform: uppercase;
    transition: all 0.3s;
}

.book-now-btn:hover {
    background: var(--electric-blue);
    color: var(--text-white);
    box-shadow: 0 0 15px var(--electric-blue);
}

.menu-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    color: var(--electric-blue);
    margin-right: 30px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 68, 255, 0.4);
}

.menu-title {
    font-size: 3vw;
    transition: color 0.3s, text-shadow 0.3s;
}

.menu-price {
    margin-left: auto;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-white);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.menu-item:hover .menu-price {
    opacity: 1;
    color: var(--electric-blue);
}

.menu-item:hover .menu-title {
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.menu-action {
    margin-top: 60px;
}

.menu-book-btn .btn-text {
    font-size: 20px;
    padding: 20px 40px;
    background: transparent;
    border: 2px solid var(--electric-blue);
    color: var(--electric-blue);
}

.menu-book-btn:hover .btn-text {
    background: var(--electric-blue);
    color: var(--text-white);
}

/* Section 3: Meet the Crew */
.section-crew {
    overflow: hidden;
    padding: 150px 0;
}

/* Section 3: Meet the Crew */
.section-crew {
    padding: 100px 0;
    overflow: hidden; /* For carousel */
}

.section-title {
    font-size: 6vw;
    margin-left: 5vw;
    margin-bottom: 60px;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-white);
}

.crew-carousel-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: visible;
    cursor: grab;
}

.crew-carousel-wrapper:active {
    cursor: grabbing;
}

.crew-carousel {
    display: flex;
    gap: 12vw;
    padding: 0 5vw;
    width: max-content;
}

.crew-card {
    width: 300px;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border-dark);
}

.crew-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.3);
    transition: transform 0.5s, filter 0.5s;
}

.crew-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.1);
}

.crew-info {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    transition: transform 0.3s, opacity 0.4s;
    opacity: 0;
}

.crew-card:hover .crew-info {
    transform: translateY(-20px);
    opacity: 1;
}

.crew-info h3 {
    font-size: 40px;
    color: var(--text-white);
    margin-bottom: 5px;
}

.crew-info .graffiti {
    font-size: 24px;
}

/* Hype Ticker */
.hype-ticker {
    width: 100vw;
    overflow: hidden;
    padding: 30px 0;
    background: #050505; /* Deep rich dark */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 20;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.ticker-1 {
    transform: rotate(-2deg) scale(1.05);
    margin-top: -80px; /* Moved higher up, overlapping the previous section slightly */
    margin-bottom: 80px;
}

.ticker-2 {
    transform: rotate(2deg) scale(1.05);
    margin-top: 0px;
    margin-bottom: -50px;
}

.marquee {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 15s linear infinite;
}

.ticker-text {
    font-family: 'Anton', sans-serif;
    font-size: 80px;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
    padding-right: 30px;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.ticker-text:hover {
    color: var(--text-white);
    -webkit-text-stroke: 0;
}

.electric-slash {
    color: var(--electric-blue);
    -webkit-text-stroke: 0;
    font-style: italic;
    margin: 0 30px;
    text-shadow: 0 0 20px rgba(0, 68, 255, 0.4);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section: Master Barber */
.section-master-barber {
    padding: 100px 5vw 150px 5vw;
    background: radial-gradient(circle at 70% 50%, rgba(0, 68, 255, 0.08) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

/* Subtle separator line top to blend sections seamlessly */
.section-master-barber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10vw;
    right: 10vw;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

.master-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 5vw;
}

.master-content {
    max-width: 600px;
}

.master-title {
    font-size: 5vw;
    line-height: 1;
    margin-bottom: 30px;
}

.electric-text {
    color: var(--electric-blue);
    text-shadow: 0 0 15px rgba(0, 68, 255, 0.5);
}

.master-bio {
    font-size: 20px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 50px;
    font-family: 'Space Grotesk', sans-serif;
}

.master-bio strong {
    color: var(--text-white);
}

.master-book-btn .btn-text {
    font-size: 24px;
    padding: 20px 50px;
    background: var(--electric-blue);
    color: var(--text-white);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 68, 255, 0.4);
}

.master-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.blue-spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 68, 255, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(40px);
}

.master-portrait {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    border: 1px solid var(--border-dark);
}

/* Section: The Atmosphere */
.section-atmosphere {
    padding: 100px 5vw;
    background-color: var(--bg-black);
    position: relative;
}

.atmosphere-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 5vw;
}

.atmosphere-image-container {
    display: flex;
    justify-content: center;
}

.scroll-mask-wrapper {
    width: 90%;
    max-width: 500px;
    height: 600px;
    overflow: hidden;
    clip-path: inset(20% 20% 20% 20% round 20px); /* Starts masked with rounded corners */
    border: 1px solid var(--border-dark);
    border-radius: 20px;
}

.atmosphere-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.5); /* Starts zoomed in */
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.scroll-mask-wrapper:hover .atmosphere-image {
    filter: grayscale(0%);
}



/* Section 4: The Cult (Social Proof) */
.section-cult {
    padding: 150px 0;
    background: var(--bg-black); /* Melt seamlessly with the atmosphere section */
    position: relative;
}

.cult-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 5vw;
}

.cult-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px; /* Instagram-like grid gaps */
}

.cult-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.cult-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.4s, transform 0.6s ease;
}

.cult-item:hover img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.1);
}

/* Section 5: The Ultimate Footer */
.section-footer {
    padding: 150px 5vw 50px 5vw;
    background-color: #050505;
    position: relative;
    border-top: 1px solid rgba(0, 68, 255, 0.2);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.footer-cta {
    text-align: center;
    padding-bottom: 100px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-title {
    font-size: 10vw;
    line-height: 0.9;
    margin-bottom: 40px;
    letter-spacing: -2px;
    z-index: 1;
}

.cta-action-box {
    margin-top: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-subtitle {
    font-size: 16px;
    color: #888;
    letter-spacing: 4px;
    margin-bottom: 30px;
    font-weight: bold;
}

.sharp-btn .btn-text {
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--electric-blue);
    color: var(--electric-blue);
    font-size: 24px;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.sharp-btn .arrow {
    transition: transform 0.3s;
}

.sharp-btn:hover .btn-text {
    background: var(--electric-blue);
    color: var(--text-white);
}

.sharp-btn:hover .arrow {
    transform: translateX(10px);
}

.btn-glow-sharp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--electric-blue);
    filter: blur(40px);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s;
    pointer-events: none;
}

.sharp-btn:hover .btn-glow-sharp {
    opacity: 0.3;
}

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

.footer-col p {
    font-size: 18px;
    color: #888;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-heading {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
    cursor: none;
}

.footer-link:hover {
    color: var(--electric-blue);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: #555;
    font-size: 14px;
}

.footer-bottom .graffiti {
    font-size: 32px;
    color: var(--electric-blue);
    opacity: 0.5;
}

.magnetic-btn {
    position: relative;
    background: transparent;
    border: none;
    cursor: none;
    outline: none;
}

.btn-text {
    position: relative;
    display: inline-block;
    padding: 30px 60px;
    font-family: 'Anton', sans-serif;
    font-size: 40px;
    color: var(--text-white);
    background: var(--electric-blue);
    border-radius: 100px;
    z-index: 2;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--electric-blue);
    border-radius: 100px;
    filter: blur(30px);
    opacity: 0.5;
    z-index: 1;
    transition: opacity 0.3s;
}

.magnetic-btn:hover .btn-glow {
    opacity: 1;
}

/* Sudden Spray Mist Effect */
.neon-spray-burst {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 5vw;
    height: 5vw;
    background: var(--electric-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    filter: blur(60px);
    z-index: 9998;
    pointer-events: none;
    animation: sprayBurst 1.8s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
    mix-blend-mode: screen;
}

@keyframes sprayBurst {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    40% { transform: translate(-50%, -50%) scale(25); opacity: 0.8; filter: blur(80px); }
    100% { transform: translate(-50%, -50%) scale(40); opacity: 0; filter: blur(100px); }
}

/* Responsive */
@media (max-width: 768px) {
    .manifesto-text { font-size: 15vw; }
    .manifesto-text .graffiti { font-size: 18vw; }
    .menu-title { font-size: 8vw; }
    .menu-wrapper { margin-left: 0; }
    .crew-card { width: 280px; height: 420px; }
    .master-grid { grid-template-columns: 1fr; }
    .atmosphere-grid { grid-template-columns: 1fr; }
    .cult-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .master-title { font-size: 10vw; }
    .footer-title { font-size: 12vw; }
    .master-portrait { max-width: 300px; }
    .btn-text { font-size: 24px; padding: 20px 40px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 60px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
