/* ========================================
   406 Smoke Shop Mexico - Styles
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Primary - Lime Green from logo */
    --primary: #7CB518;
    --primary-hover: #6BA015;
    --primary-dark: #5A8A12;
    --primary-light: #F4F9E8;

    /* Gold accent from logo */
    --gold: #D4A84B;
    --gold-hover: #C49A40;
    --gold-dark: #B8923F;

    /* Neutrals */
    --black: #1A1A1A;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-800: #1F2937;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    font-weight: 700;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 181, 24, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-gold {
    background: var(--gold);
    color: var(--black);
}

.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 75, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background: var(--gray-100);
    padding: 0.625rem 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
}

.top-bar-item svg {
    color: var(--primary);
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.logo img {
    height: 60px;
    width: auto;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.nav-cta {
    padding: 0.625rem 1.25rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

/* ========================================
   Hero
   ======================================== */
.hero {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-800);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(26, 26, 26, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

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

/* ========================================
   Stats
   ======================================== */
.stats {
    background: var(--primary);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Products Slider
   ======================================== */
.products {
    padding: var(--section-padding);
    background: var(--white);
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

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

.product-slide {
    flex: 0 0 280px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    text-align: center;
    padding-bottom: 1.5rem;
}

.product-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.product-slide .product-img {
    height: 200px;
    overflow: hidden;
    background: var(--gray-50);
}

.product-slide .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-slide:hover .product-img img {
    transform: scale(1.05);
}

.product-slide h3 {
    font-size: 1.1rem;
    margin: 1rem 1rem 0.5rem;
    color: var(--black);
}

.product-slide p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0 1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    color: var(--gray-600);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* ========================================
   Features Strip
   ======================================== */
.features-strip {
    padding: 3rem 0;
    background: var(--primary);
}

.features-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-number svg {
    color: var(--white);
}

.feature-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   CTA Banner
   ======================================== */
.cta-banner {
    background: var(--black);
    padding: 4rem 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-text h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

/* ========================================
   Contact
   ======================================== */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

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

.contact-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--gray-50);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.contact-icon svg {
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--black);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-400);
    max-width: 300px;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    color: var(--gray-400);
}

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

.footer-contact p {
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

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

    .product-slide {
        flex: 0 0 240px;
    }

    .feature-divider {
        display: none;
    }

    .features-row {
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .hero {
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
        white-space: normal;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    .slider-container {
        padding: 0 1rem;
    }

    .slider-btn {
        display: none;
    }

    .product-slide {
        flex: 0 0 260px;
    }

    .features-row {
        gap: 1.5rem;
    }

    .feature-number {
        font-size: 2rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

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

    .stat-card {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .product-slide {
        flex: 0 0 220px;
    }

    .features-row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .feature-item {
        flex-direction: row;
        gap: 1rem;
    }

    .feature-number {
        font-size: 1.75rem;
    }
}
