/* ============================================
   BUCK'S SPORTS & CBD — CLASSIC & ELEGANT
   ============================================ */

/* CSS Custom Properties */
:root {
    --forest-green: #2C5F2D;
    --forest-green-dark: #1A3C1B;
    --forest-green-light: #3D7A3F;
    --off-white: #F5F2EB;
    --cream: #FAF8F4;
    --warm-gray: #6B6560;
    --dark-text: #1A1A18;
    --light-text: #F5F2EB;
    --gold-accent: #C9A962;
    --gold-light: #E8D5A0;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(26, 26, 24, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 26, 24, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 26, 24, 0.16);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-text);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--forest-green);
    color: var(--light-text);
}

.btn-primary:hover {
    background: var(--forest-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 1px solid rgba(245, 242, 235, 0.5);
}

.btn-secondary:hover {
    background: rgba(245, 242, 235, 0.1);
    border-color: var(--light-text);
}

.btn-nav {
    background: var(--forest-green);
    color: var(--light-text);
    padding: 0.75rem 1.5rem;
}

.btn-nav:hover {
    background: var(--forest-green-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 248, 244, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--light-text);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.navbar.scrolled .logo {
    color: var(--dark-text);
}

.logo-accent {
    color: var(--gold-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-text);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--dark-text);
}

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

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--light-text);
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--dark-text);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, 
            #1a3c1b 0%, 
            #2C5F2D 25%, 
            #3D7A3F 50%, 
            #528a4e 75%, 
            #6b9b5f 100%
        );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/5490970/pexels-photo-5490970.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    opacity: 0.25;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(245, 242, 235, 0.85);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(245, 242, 235, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest-green);
    margin-bottom: 1rem;
    position: relative;
    padding: 0 1rem;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gold-accent);
}

.section-tag::before {
    right: calc(100% + 10px);
}

.section-tag::after {
    left: calc(100% + 10px);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--warm-gray);
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--gold-accent);
    z-index: -1;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--forest-green);
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--dark-text);
    font-weight: 500;
}

/* Sports Section */
.sports {
    background: var(--off-white);
}

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

.product-card {
    background: var(--cream);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    overflow: hidden;
    height: 300px;
}

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

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

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

/* CBD Section */
.cbd {
    background: var(--forest-green-dark);
    color: var(--light-text);
}

.cbd .section-tag {
    color: var(--gold-accent);
}

.cbd .section-tag::before,
.cbd .section-tag::after {
    background: var(--gold-accent);
}

.cbd .section-title {
    color: var(--light-text);
}

.cbd .section-desc {
    color: rgba(245, 242, 235, 0.7);
}

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

.cbd-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.cbd-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.cbd-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--gold-accent);
}

.cbd-item h3 {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.cbd-item p {
    font-size: 0.9rem;
    color: rgba(245, 242, 235, 0.7);
    line-height: 1.6;
}

.cbd-cta {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cbd-cta p {
    font-size: 1.1rem;
    color: rgba(245, 242, 235, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cbd-cta .btn-primary {
    background: var(--gold-accent);
    color: var(--dark-text);
}

.cbd-cta .btn-primary:hover {
    background: var(--gold-light);
}

/* Location Section */
.location {
    background: var(--cream);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.info-item svg {
    width: 32px;
    height: 32px;
    color: var(--forest-green);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-item h4 {
    font-size: 1.25rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--warm-gray);
    line-height: 1.6;
}

.info-item a {
    color: var(--forest-green);
}

.info-item a:hover {
    color: var(--forest-green-dark);
    text-decoration: underline;
}

.location-map {
    min-height: 450px;
    box-shadow: var(--shadow-md);
}

.location-map iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: var(--light-text);
    padding: 5rem 0 2rem;
}

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

.footer-logo {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.footer-logo span {
    color: var(--gold-accent);
}

.footer-brand p {
    color: rgba(245, 242, 235, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-links a {
    color: rgba(245, 242, 235, 0.7);
    font-size: 0.9rem;
}

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

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

.footer-contact a {
    color: rgba(245, 242, 235, 0.7);
    font-size: 0.9rem;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 242, 235, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(245, 242, 235, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid,
    .cbd-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--dark-text) !important;
        font-size: 1rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .hero-title {
        font-style: normal;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .products-grid,
    .cbd-grid {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .product-image {
        height: 250px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .hero-bg {
        animation: none;
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .cbd-item:hover {
        transform: none;
    }
}
