/* =========================================
   A Cutting Breed Barbershop - Stylesheet
   Premium Black, Red, and White Theme
========================================= */

/* --- CSS Variables --- */
:root {
    /* Color Palette */
    --color-bg-dark: #0a0a0a;
    --color-bg-darker: #050505;
    --color-bg-card: #141414;
    --color-primary-red: #d32f2f;
    --color-primary-red-hover: #b71c1c;
    --color-text-white: #f5f5f5;
    --color-text-muted: #a0a0a0;
    --color-border: #222;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-accent: 'Playfair Display', serif;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

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

.section {
    padding: 6rem 0;
}

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

.text-red {
    color: var(--color-primary-red);
}

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

.mt-3 {
    margin-top: 3rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary-red);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid var(--color-border);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

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

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-accent);
    letter-spacing: 1px;
}

.section-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary-red);
    margin: 0 auto 1.5rem;
}

.section-desc {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo-icon {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-banner-img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-red {
    color: var(--color-primary-red);
    font-family: var(--font-accent);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--color-text-white);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary-red);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-white);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-bg-card);
    z-index: 2000;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid var(--color-border);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

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

/* --- Hero Section --- */
.hero-scroll-container {
    height: 400vh;
    /* Determines how long the scroll animation lasts before moving to next section */
    position: relative;
    width: 100%;
}

.hero {
    height: calc(100vh - 86px);
    margin-top: 86px;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Optional: uncomment if image looks too bright with overlay, or just keep overlay doing the job */
    /* filter: brightness(80%); */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.7) 50%, rgba(5, 5, 5, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    margin-left: 5%;
}

.hero-title {
    font-size: 4.5rem;
    font-family: var(--font-accent);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* --- Services Section --- */
.services-primary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;

    /* Animation defaults */
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-in-out, opacity 0.5s ease-in-out, margin-top 0.4s ease;
}

.services-secondary.expanded {
    max-height: 3000px;
    /* High enough to fit 8 tiles stacked on mobile */
    opacity: 1;
    margin-top: 2rem;
}

.services-secondary-inner {
    /* Wrapping inner contents ensures padding doesn't interfere with max-height 0 */
    padding-bottom: 2rem;
}

.services-expand-wrapper {
    text-align: center;
    margin: 2rem 0 0 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.expand-services-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid var(--color-primary-red);
    color: var(--color-text-white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.expand-services-btn i {
    transition: transform 0.4s ease;
}

.expand-services-btn.active i {
    transform: rotate(180deg);
}

.expand-services-btn:hover {
    background-color: var(--color-primary-red);
    color: #fff;
}

.service-card {
    background-color: var(--color-bg-card);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary-red);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: #333;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary-red);
    margin-bottom: 1.5rem;
}

.service-name {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-details {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-price {
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 4px;
}

.services-cta {
    text-align: center;
    margin-top: 4rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* --- Barbers Section --- */
.barbers-flex {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.barber-card {
    width: 320px;
    text-align: center;
}

.barber-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    filter: grayscale(30%);
    transition: var(--transition-fast);
    border: 3px solid var(--color-border);
    aspect-ratio: 1 / 1;
}

.barber-card:hover .barber-img-wrapper {
    filter: grayscale(0%);
    border-color: var(--color-primary-red);
}

.barber-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.barber-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transition: bottom var(--transition-fast);
    display: flex;
    justify-content: center;
}

.barber-card:hover .barber-overlay {
    bottom: 0;
}

.barber-name {
    font-size: 1.5rem;
    font-family: var(--font-accent);
    margin-bottom: 0.25rem;
}

.barber-role {
    color: var(--color-primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Gallery Section --- */
.gallery {
    background-color: var(--color-bg-darker);
    background-image: url("assets/Hexagons black bkg.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.82);
    /* Dark overlay for text legibility */
    z-index: 0;
}

.gallery .container {
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-zoom:hover .gallery-img {
    transform: scale(1.1);
}

.hover-zoom::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background var(--transition-fast);
}

.hover-zoom:hover::after {
    background: rgba(0, 0, 0, 0);
}

/* --- Reviews Section --- */
.reviews-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-slide {
    min-width: 100%;
    background-color: var(--color-bg-dark);
    padding: 3rem 4rem;
    border-radius: 4px;
    border-left: 3px solid var(--color-primary-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0.5;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.review-slide.active-slide {
    opacity: 1;
    transform: scale(1);
}

.review-stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: #d0d0d0;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.review-author {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--color-primary-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.review-source {
    color: #a0a0a0;
    font-size: 0.75rem;
    font-weight: 400;
}

.review-source i {
    color: #4285F4;
    /* Google Blue */
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
}

.slider-btn {
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.slider-btn:hover {
    color: var(--color-primary-red);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.dot.active {
    background-color: var(--color-primary-red);
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: #333;
}

.faq-item.active {
    border-color: var(--color-primary-red);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary-red);
}

.faq-icon {
    color: var(--color-primary-red);
    transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.contact-info {
    padding: 4rem;
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: var(--font-accent);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-primary-red);
    margin-top: 0.25rem;
}

.info-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

.info-item a:hover {
    color: var(--color-primary-red);
}

.hours-list {
    list-style: none;
    color: var(--color-text-muted);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

/* --- Footer --- */
.footer {
    background-color: #030303;
    padding: 4rem 0 2rem;
    border-top: 1px solid #111;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid #111;
    margin-bottom: 2rem;
}

.footer-logo {
    color: var(--color-primary-red);
    font-family: var(--font-accent);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-card);
    color: #fff;
    border: 1px solid var(--color-border);
}

.footer-social a:hover {
    background-color: var(--color-primary-red);
    border-color: var(--color-primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}

/* =========================================
   SCROLL ANIMATIONS (INTERSECTION OBSERVER)
========================================= */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

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

/* Left Slide Animation */
.left-slide {
    transform: translateX(-50px);
}

.left-slide.active {
    transform: translateX(0);
}

/* Right Slide Animation */
.right-slide {
    transform: translateX(50px);
}

.right-slide.active {
    transform: translateX(0);
}

/* Stagger Delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

/* =========================================
   RESPONSIVE DESIGN (Media Queries)
========================================= */

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:last-child {
        display: none;
    }

    /* Hide 3rd image to keep grid even on tablet */
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 3rem 2rem;
    }

    .contact-map {
        height: 400px;
    }
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .nav-actions {
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:last-child {
        display: block;
    }
}

/* --- Chatbot Elements --- */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary-red);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: var(--transition-fast);
    display: flex;
    justify-content: center;
    align-items: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background-color: var(--color-primary-red-hover);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 80vh;
}

.chatbot-window.active {
    transform: scale(1);
}

.chatbot-header {
    background-color: var(--color-primary-red);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chatbot-close:hover {
    transform: rotate(90deg);
}

.chatbot-messages {
    padding: 1rem;
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Custom Scrollbar for messages */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}
.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chatbot-messages::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.message {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.bot-message {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-white);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-message {
    background-color: var(--color-primary-red);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-options {
    padding: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-option-btn {
    background-color: transparent;
    border: 1px solid var(--color-primary-red);
    color: var(--color-text-white);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: left;
    transition: var(--transition-fast);
}

.chat-option-btn:hover {
    background-color: var(--color-primary-red);
    color: white;
}

.chatbot-input-area {
    display: flex;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    gap: 10px;
}

.chatbot-input-area input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 0.8rem 1rem;
    color: white;
    font-family: var(--font-main);
    outline: none;
    font-size: 0.95rem;
}

.chatbot-input-area input:focus {
    border-color: var(--color-primary-red);
}

.chatbot-input-area button {
    background-color: var(--color-primary-red);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chatbot-input-area button:hover {
    background-color: var(--color-primary-red-hover);
    transform: scale(1.05);
}

/* Fallback Lead Form Styles */
.lead-form-container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.lead-form-container input {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    padding: 0.6rem;
    border-radius: 4px;
    color: white;
    font-family: var(--font-main);
    font-size: 0.9rem;
    width: 100%;
}

.lead-form-container input:focus {
    outline: none;
    border-color: var(--color-primary-red);
}

.lead-form-container button {
    background-color: var(--color-primary-red);
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    transition: var(--transition-fast);
}

.lead-form-container button:hover {
    background-color: var(--color-primary-red-hover);
}

/* Responsive Chatbot */
@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 70px;
    }
}