/* ==========================================================================
   The Barber by Lacrim - Main Stylesheet
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   CRITICAL: Force NO horizontal scroll on ALL devices
   This must be at the top to override everything
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Force all direct children of body to not exceed viewport */
body > * {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

/* Ensure header doesn't cause overflow */
.header,
.header-container,
.nav-desktop,
.nav-mobile {
    max-width: 100vw !important;
}

/* Ensure footer doesn't cause overflow */
.footer,
.footer-container {
    max-width: 100vw !important;
}

/* Ensure main content doesn't cause overflow */
main,
main > *,
section {
    max-width: 100vw !important;
}

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
    --primary: #BA9C70;
    --background: #000000;
    --text-white: #FFFFFF;
    --text-gray: #8B8B8B;
    --text-light-gray: #ECECEC;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --font-family: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Main wrapper to prevent horizontal scroll */
main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.text-primary {
    color: var(--primary);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--primary);
}

.text-white {
    color: var(--text-white);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--text-white);
}

.text-gray {
    color: var(--text-gray);
}

.bg-primary {
    background-color: var(--primary);
}

.font-montserrat {
    font-family: var(--font-family);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo {
    position: relative;
    z-index: 60;
    display: flex;
    align-items: center;
}

.logo img {
    width: auto;
    height: 3rem;
}

@media (min-width: 768px) {
    .logo img {
        height: 3.5rem;
    }
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 3rem;
    }
}

.nav-link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
}

.nav-mobile-link.active {
    color: var(--primary);
}

/* CTA Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: black;
}

.btn-primary {
    background-color: white;
    color: black;
    border: none;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-ghost {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-ghost:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: black;
}

/* Franchise Link in Navbar */
.nav-link-franchise {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link-franchise:hover {
    background-color: var(--primary);
    color: black;
}

.nav-link-franchise-connected {
    background-color: var(--primary);
    color: black;
}

.nav-link-franchise-connected:hover {
    background-color: white;
    border-color: white;
    color: black;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
    width: 2.5rem;
    height: 2.5rem;
    position: relative;
    z-index: 60;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--primary);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background-color: var(--primary);
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    z-index: 55;
    background: #0a0a0a;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    visibility: hidden;
    overflow: hidden;
}

.nav-mobile.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

@media (min-width: 1024px) {
    .nav-mobile {
        display: none;
    }
}

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

.nav-mobile-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    transition: color 0.2s ease;
}

.nav-mobile-link:hover {
    color: var(--primary);
}

.nav-mobile-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Mobile menu decorative divider */
.nav-mobile-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.nav-mobile-divider-line {
    height: 1px;
    width: 3rem;
}

@media (min-width: 640px) {
    .nav-mobile-divider-line {
        width: 4rem;
    }
}

.nav-mobile-divider-line-left {
    background: linear-gradient(to right, transparent, rgba(186, 156, 112, 0.3));
}

.nav-mobile-divider-line-right {
    background: linear-gradient(to left, transparent, rgba(186, 156, 112, 0.3));
}

.nav-mobile-divider-dot {
    height: 0.375rem;
    width: 0.375rem;
    border-radius: 50%;
    background-color: rgba(186, 156, 112, 0.5);
}

.nav-mobile-brand {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-gray);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 1.25rem 2rem;
    min-height: 100vh;
    min-height: 100dvh;
}

@media (min-width: 640px) {
    .hero {
        padding: 6rem 1.5rem 2rem;
    }
}

@media (min-width: 768px) {
    .hero {
        padding: 7rem 1.5rem 3rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 2rem 3rem;
    }
}

/* Hero Video Background */
.hero-video-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* Mobile: adjust video position to show better content */
@media (max-width: 768px) {
    .hero-video {
        top: 40%;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-glow-circle {
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(186, 156, 112, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.hero-content > * + * {
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .hero-content > * + * {
        margin-top: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-content > * + * {
        margin-top: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-content > * + * {
        margin-top: 1.5rem;
    }
}

/* Badge */
.hero-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.hero-badge-inner {
    position: relative;
    display: inline-block;
}

.hero-badge-glow {
    position: absolute;
    overflow: hidden;
    border-radius: 9999px;
    inset: -2px;
}

.hero-badge-glow-inner {
    position: absolute;
    inset: 0;
    background-color: rgba(186, 156, 112, 0.6);
    border-radius: 9999px;
}

.hero-badge-glow-spin {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
    border-radius: 9999px;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-badge-content {
    position: relative;
    background-color: black;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
}

@media (min-width: 640px) {
    .hero-badge-content {
        padding: 0.625rem 1.25rem;
    }
}

@media (min-width: 768px) {
    .hero-badge-content {
        padding: 0.75rem 1.5rem;
    }
}

.hero-badge-text {
    color: white;
    font-size: 0.75rem;
    font-family: var(--font-family);
    font-weight: 400;
}

@media (min-width: 640px) {
    .hero-badge-text {
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .hero-badge-text {
        font-size: 1rem;
    }
}

/* Hero Subtitle */
.hero-subtitle {
    color: var(--text-gray);
    font-size: 0.75rem;
    font-family: var(--font-family);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Hero Title */
.hero-title {
    padding: 0 0.5rem 0.5rem;
    font-family: var(--font-family);
    font-weight: 500;
    letter-spacing: -0.025em;
    font-size: 1.75rem;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 6rem;
    }
}

/* Hero Description */
.hero-description {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 0.5rem;
    color: var(--text-gray);
    font-size: 0.75rem;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 0.875rem;
        padding: 0 2rem;
    }
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1rem;
        padding: 0 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 1.125rem;
        padding: 0;
    }
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0.5rem 0;
}

@media (min-width: 640px) {
    .hero-buttons {
        gap: 1rem;
        padding: 0.5rem 0 0;
    }
}

@media (min-width: 768px) {
    .hero-buttons {
        gap: 1.25rem;
        padding: 0.75rem 0 0;
    }
}

.hero-btn {
    min-height: 3rem;
    padding: 0.875rem 1rem;
    font-size: 0.75rem;
    border-radius: 9999px;
    font-family: var(--font-family);
    font-weight: 400;
    flex: 1;
    width: 100%;
}

@media (min-width: 640px) {
    .hero-btn {
        min-height: auto;
        padding: 1.25rem 2rem;
        font-size: 0.875rem;
        flex: none;
        width: auto;
    }
}

@media (min-width: 768px) {
    .hero-btn {
        padding: 1.5rem 2rem;
        font-size: 1rem;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    display: none;
    justify-content: center;
    padding-top: 3rem;
    animation: bounce 1s infinite;
}

@media (min-width: 1024px) {
    .scroll-indicator {
        display: flex;
    }
}

@media (min-width: 1280px) {
    .scroll-indicator {
        padding-top: 4rem;
    }
}

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

.scroll-indicator-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(186, 156, 112, 0.4);
    transition: color 0.3s ease;
    cursor: pointer;
}

.scroll-indicator-content:hover {
    color: rgba(186, 156, 112, 0.6);
}

.scroll-indicator-text {
    font-family: var(--font-family);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-indicator-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    position: relative;
    padding: 1.5rem 1rem 3rem;
}

@media (min-width: 640px) {
    .about {
        padding: 1rem 1.5rem 4rem;
    }
}

@media (min-width: 768px) {
    .about {
        padding: 1.5rem 1.5rem 5rem;
    }
}

@media (min-width: 1024px) {
    .about {
        padding: 1.5rem 2rem 6rem;
    }
}

.about-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, black, black, rgba(0, 0, 0, 0.95));
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
}

.about-content > * + * {
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .about-content > * + * {
        margin-top: 2.5rem;
    }
}

@media (min-width: 768px) {
    .about-content > * + * {
        margin-top: 3rem;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .section-header {
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 3rem;
    }
}

.section-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    margin-top: 0.75rem;
    color: var(--text-gray);
    font-size: 0.875rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .section-subtitle {
        margin-top: 1rem;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.125rem;
    }
}

.highlight-link {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.highlight-link:hover {
    color: white;
    text-decoration: underline;
}

/* Video Container */
.video-container {
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    height: 100%;
}

.video-glow {
    position: absolute;
    overflow: hidden;
    border-radius: 1.5rem;
    inset: -2px;
}

.video-glow-inner {
    position: absolute;
    inset: 0;
    background-color: rgba(186, 156, 112, 0.6);
    border-radius: 1.5rem;
}

.video-glow-spin {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
    border-radius: 1.5rem;
    animation: spin 3s linear infinite;
}

.video-inner {
    position: relative;
    background-color: black;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-gray), black);
}

.video-placeholder video,
.video-placeholder iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    z-index: 20;
}

@media (min-width: 640px) {
    .video-play-btn {
        width: 5rem;
        height: 5rem;
    }
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: white;
}

.video-play-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    color: black;
    margin-left: 0.25rem;
}

@media (min-width: 640px) {
    .video-play-btn svg {
        width: 2rem;
        height: 2rem;
    }
}

/* ==========================================================================
   Media Section
   ========================================================================== */
.media-section {
    padding: 2rem 1rem;
    background-color: black;
}

@media (min-width: 640px) {
    .media-section {
        padding: 3rem 1.5rem;
    }
}

@media (min-width: 768px) {
    .media-section {
        padding: 4rem 2rem;
    }
}

.media-container {
    max-width: 80rem;
    margin: 0 auto;
}

.media-title {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 640px) {
    .media-title {
        margin-bottom: 2.5rem;
    }
}

.media-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 640px) {
    .media-logos {
        gap: 3rem;
    }
}

@media (min-width: 768px) {
    .media-logos {
        gap: 4rem;
    }
}

.media-logo {
    opacity: 0.4;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(0.8);
}

.media-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.media-logo img {
    height: 2.5rem;
    width: auto;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .media-logo img {
        height: 3rem;
    }
}

@media (min-width: 768px) {
    .media-logo img {
        height: 3.5rem;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    position: relative;
    padding: 2rem 0 4rem;
    background-color: black;
}

@media (min-width: 640px) {
    .services {
        padding: 3rem 0 5rem;
    }
}

@media (min-width: 768px) {
    .services {
        padding: 4rem 0 6rem;
    }
}

@media (min-width: 1024px) {
    .services {
        padding: 4rem 0 8rem;
    }
}

.services-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .services-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .services-container {
        padding: 0 2rem;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Make first two items larger on desktop */
    .services-grid .service-card:nth-child(1),
    .services-grid .service-card:nth-child(2) {
        min-height: 450px;
    }
}

@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Service Card */
.service-card {
    position: relative;
    background: linear-gradient(135deg, var(--dark-gray), black);
    border-radius: 1rem;
    padding: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 640px) {
    .service-card {
        padding: 2rem;
        border-radius: 1.5rem;
    }
}

.service-card:hover {
    border-color: rgba(186, 156, 112, 0.3);
    transform: translateY(-5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Service Card with Image */
.service-card-image {
    min-height: 300px;
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
}

@media (min-width: 640px) {
    .service-card-image {
        min-height: 350px;
    }
}

@media (min-width: 1024px) {
    .service-card-image {
        min-height: 400px;
    }
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.2) 100%);
    transition: background 0.3s ease;
}

.service-card-image:hover .service-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.service-card-content {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .service-card-content {
        padding: 2rem;
    }
}

.service-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

@media (min-width: 640px) {
    .service-icon {
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: 1.25rem;
    }
}

.service-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .service-title {
        font-size: 1.5rem;
    }
}

.service-description {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .service-description {
        font-size: 1rem;
    }
}

/* Featured Service (last item centered when odd) */
@media (min-width: 640px) {
    .services-grid {
        justify-items: center;
    }

    .service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.625rem);
    }
}

@media (min-width: 1024px) {
    .service-card:last-child:nth-child(odd) {
        max-width: calc(50% - 0.75rem);
    }
}

@media (min-width: 1280px) {
    .service-card:last-child:nth-child(odd) {
        max-width: calc(50% - 1rem);
    }
}

/* Services CTA Button */
.services-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .services-cta {
        margin-top: 3rem;
    }
}

@media (min-width: 768px) {
    .services-cta {
        margin-top: 3.5rem;
    }
}

.services-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #d4b896 100%);
    color: black;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(186, 156, 112, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
}

.services-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 156, 112, 0.4);
    background: linear-gradient(135deg, #d4b896 0%, var(--primary) 100%);
}

@media (min-width: 640px) {
    .services-cta-btn {
        padding: 1.25rem 2rem;
        font-size: 1rem;
        width: auto;
        max-width: none;
    }
}

@media (min-width: 768px) {
    .services-cta-btn {
        padding: 1.25rem 2.5rem;
    }
}

.services-cta-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.services-cta-btn:hover svg {
    transform: scale(1.1);
}

/* ==========================================================================
   Salons Section
   ========================================================================== */
.salons {
    position: relative;
    padding: 2rem 1rem 4rem;
    background-color: black;
}

@media (min-width: 640px) {
    .salons {
        padding: 3rem 1.5rem 5rem;
    }
}

@media (min-width: 768px) {
    .salons {
        padding: 4rem 1.5rem 6rem;
    }
}

@media (min-width: 1024px) {
    .salons {
        padding: 4rem 2rem 8rem;
    }
}

.salons-container {
    max-width: 80rem;
    margin: 0 auto;
}

/* Salons Grid */
.salons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .salons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .salons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Salon Card */
.salon-card {
    background: linear-gradient(135deg, var(--dark-gray), black);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.salon-card:hover {
    border-color: rgba(186, 156, 112, 0.3);
    transform: translateY(-3px);
}

/* Salon card with image */
.salon-card-with-image {
    padding: 0;
}

.salon-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

@media (min-width: 640px) {
    .salon-image {
        height: 200px;
    }
}

.salon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.salon-card:hover .salon-image img {
    transform: scale(1.05);
}

.salon-card-body {
    padding: 1.25rem;
}

@media (min-width: 640px) {
    .salon-card-body {
        padding: 1.5rem;
    }
}

.salon-name {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

@media (min-width: 640px) {
    .salon-name {
        font-size: 1.125rem;
    }
}

.salon-address {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.salon-actions {
    display: flex;
    gap: 0.75rem;
}

.salon-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .salon-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }
}

.salon-btn svg {
    width: 1rem;
    height: 1rem;
}

.salon-btn-call {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.salon-btn-call:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.salon-btn-rdv {
    background-color: var(--primary);
    color: black;
    border: none;
}

.salon-btn-rdv:hover {
    background-color: white;
}

/* Coming soon card */
.salon-card-coming {
    opacity: 0.7;
}

.salon-coming-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background-color: rgba(186, 156, 112, 0.1);
    border: 1px solid rgba(186, 156, 112, 0.3);
    border-radius: 9999px;
    margin-top: 0.5rem;
}

.salon-coming-badge span {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

/* Salon CTA Card - Ouvre ton salon */
.salon-card-cta {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(186, 156, 112, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Effet de gradient animé au hover */
.salon-card-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(186, 156, 112, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.salon-card-cta:hover::before {
    opacity: 1;
}

.salon-card-cta:hover {
    border-color: rgba(186, 156, 112, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.salon-cta-content {
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.salon-cta-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: rgba(186, 156, 112, 0.1);
    border: 1px solid rgba(186, 156, 112, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.salon-card-cta:hover .salon-cta-icon {
    background: rgba(186, 156, 112, 0.2);
    border-color: rgba(186, 156, 112, 0.4);
    transform: scale(1.05);
}

.salon-cta-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.salon-cta-title {
    font-size: 1.75rem;
    font-weight: 300;
    color: white;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.salon-cta-subtitle {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.salon-cta-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.salon-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.salon-cta-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.salon-card-cta:hover .salon-cta-link {
    color: white;
}

.salon-card-cta:hover .salon-cta-link svg {
    transform: translateX(5px);
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team {
    position: relative;
    padding: 2rem 1rem 4rem;
    background-color: black;
}

@media (min-width: 640px) {
    .team {
        padding: 3rem 1.5rem 5rem;
    }
}

@media (min-width: 768px) {
    .team {
        padding: 4rem 1.5rem 6rem;
    }
}

@media (min-width: 1024px) {
    .team {
        padding: 4rem 2rem 8rem;
    }
}

.team-container {
    max-width: 80rem;
    margin: 0 auto;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Team Member Card */
.team-member {
    text-align: center;
}

.team-member-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--dark-gray), black);
}

@media (min-width: 640px) {
    .team-member-image {
        margin-bottom: 1rem;
    }
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .team-member-overlay {
    opacity: 1;
}

.team-member-name {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 500;
    color: white;
}

@media (min-width: 640px) {
    .team-member-name {
        font-size: 1.125rem;
    }
}

.team-member-role {
    font-size: 0.75rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

@media (min-width: 640px) {
    .team-member-role {
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
    position: relative;
    padding: 2rem 1rem 4rem;
    background-color: black;
}

@media (min-width: 640px) {
    .testimonials {
        padding: 3rem 1.5rem 5rem;
    }
}

@media (min-width: 768px) {
    .testimonials {
        padding: 4rem 1.5rem 6rem;
    }
}

@media (min-width: 1024px) {
    .testimonials {
        padding: 4rem 2rem 8rem;
    }
}

.testimonials-container {
    max-width: 80rem;
    margin: 0 auto;
}

/* Testimonials Swiper */
.testimonials-swiper {
    padding-bottom: 3rem;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

.testimonials-swiper .swiper-pagination-bullet {
    background-color: var(--text-gray);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

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

/* Testimonial Card */
.testimonial-card {
    background: linear-gradient(135deg, var(--dark-gray), black);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .testimonial-card {
        padding: 1.5rem;
    }
}

.testimonial-card:hover {
    border-color: rgba(186, 156, 112, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: black;
}

@media (min-width: 640px) {
    .testimonial-avatar {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 500;
    font-size: 0.875rem;
    color: white;
}

@media (min-width: 640px) {
    .testimonial-name {
        font-size: 1rem;
    }
}

.testimonial-rating {
    display: flex;
    gap: 0.125rem;
    margin-top: 0.25rem;
}

.testimonial-star {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--primary);
    fill: var(--primary);
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ==========================================================================
   Recruitment Section
   ========================================================================== */
/* ==========================================================================
   Franchise Section
   ========================================================================== */
.franchise {
    position: relative;
    padding: 2rem 1rem 4rem;
    background-color: black;
}

@media (min-width: 640px) {
    .franchise {
        padding: 3rem 1.5rem 5rem;
    }
}

@media (min-width: 768px) {
    .franchise {
        padding: 4rem 1.5rem 6rem;
    }
}

@media (min-width: 1024px) {
    .franchise {
        padding: 4rem 2rem 8rem;
    }
}

.franchise-container {
    max-width: 72rem;
    margin: 0 auto;
}

/* Stats */
.franchise-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .franchise-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.franchise-stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, var(--dark-gray), black);
    border-radius: 1rem;
    border: 1px solid rgba(186, 156, 112, 0.2);
}

.franchise-stat-number {
    display: block;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
}

@media (min-width: 640px) {
    .franchise-stat-number {
        font-size: 2.5rem;
    }
}

.franchise-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .franchise-stat-label {
        font-size: 0.875rem;
    }
}

/* Main */
.franchise-main {
    text-align: center;
    margin-bottom: 3rem;
}

.franchise-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .franchise-title {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .franchise-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .franchise-title {
        font-size: 3rem;
    }
}

.franchise-title .highlight {
    color: var(--primary);
}

.franchise-subtitle {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-top: 1rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .franchise-subtitle {
        font-size: 1rem;
    }
}

/* Benefits */
.franchise-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .franchise-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .franchise-benefits {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.franchise-benefit {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--dark-gray), black);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.franchise-benefit:hover {
    border-color: rgba(186, 156, 112, 0.3);
    transform: translateY(-3px);
}

.franchise-benefit-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    background-color: rgba(186, 156, 112, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.franchise-benefit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.franchise-benefit-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    color: white;
    margin-bottom: 0.5rem;
}

.franchise-benefit-text {
    font-size: 0.8125rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Testimonial */
.franchise-testimonial {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(186, 156, 112, 0.1), transparent);
    border-radius: 1rem;
    border: 1px solid rgba(186, 156, 112, 0.2);
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .franchise-testimonial {
        padding: 2.5rem 3rem;
    }
}

.franchise-quote {
    font-style: italic;
    font-size: 1rem;
    color: white;
    line-height: 1.6;
    max-width: 40rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .franchise-quote {
        font-size: 1.125rem;
    }
}

.franchise-quote-author {
    margin-top: 1.5rem;
}

.franchise-quote-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
}

/* CTA */
.franchise-cta {
    text-align: center;
}

.franchise-cta-urgency {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.franchise-cta-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .franchise-cta-btn {
        padding: 1.25rem 2.5rem;
        font-size: 1.125rem;
    }
}

.franchise-cta-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.franchise-cta-btn:hover svg {
    transform: translateX(4px);
}

.franchise-cta-note {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: linear-gradient(to bottom, black, var(--dark-gray));
    padding: 3rem 1rem 1.5rem;
}

@media (min-width: 640px) {
    .footer {
        padding: 4rem 1.5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 5rem 2rem 2rem;
    }
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        margin-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* Footer Grid 3 columns */
.footer-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid-3 {
        grid-template-columns: 1fr 1fr auto;
        gap: 3rem;
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-address {
    color: var(--text-gray);
    font-size: 0.875rem;
    font-style: normal;
    line-height: 1.6;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo-column {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .footer-logo-column {
        justify-content: flex-end;
    }
}

.footer-logo {
    height: 3rem;
    width: auto;
}

@media (min-width: 640px) {
    .footer-logo {
        height: 3.5rem;
    }
}

@media (min-width: 768px) {
    .footer-logo {
        height: 4rem;
    }
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-top: auto;
}

.footer-section-title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.125rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-link {
    display: block;
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social:hover {
    background-color: var(--primary);
}

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.footer-social:hover svg {
    color: black;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .footer-copyright {
        font-size: 0.875rem;
    }
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-separator {
    color: var(--text-gray);
    opacity: 0.5;
}

.footer-legal a,
.footer-legal-link {
    color: var(--text-gray);
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

@media (min-width: 640px) {
    .footer-legal a {
        font-size: 0.875rem;
    }
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 280px;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.cookie-title {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cookie-description {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.5;
}

.cookie-description a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-description a:hover {
    color: var(--text-light);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cookie-btn-primary {
    background: var(--primary);
    color: #000;
}

.cookie-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
    .cookie-banner {
        padding: 0.75rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .cookie-banner-text {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-icon {
        display: none;
    }

    .cookie-banner-actions {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
/* Fade-in animations removed to prevent dark transition on page navigation */
.fade-in {
    opacity: 1;
    transform: none;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* Smooth scrolling for all anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: var(--primary);
    color: black;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: black;
}

::-webkit-scrollbar-thumb {
    background: var(--dark-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   Badge Animations
   ========================================================================== */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(186, 156, 112, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(186, 156, 112, 0.8);
    }
}
