/* ===================================
   Flavors Dispensary - Custom Styles
   =================================== */

:root {
    --color-teal-900: #134e4a;
    --color-teal-800: #115e59;
    --color-teal-700: #0d9488;
    --color-teal-600: #0f766e;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-600: #475569;
    --color-slate-500: #64748b;
    --color-slate-400: #94a3b8;
    --color-slate-300: #cbd5e1;
    --color-slate-200: #e2e8f0;
    --color-slate-100: #f1f5f9;
    --color-slate-50: #f8fafc;
    --color-white: #ffffff;
    --color-cream: #faf9f6;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', system-ui, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-slate-700);
    line-height: 1.7;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-teal-600);
}

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

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

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

/* Eyebrow */
.eyebrow, .section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal-700);
    margin-bottom: 0.75rem;
}

.section-eyebrow.white {
    color: rgba(255, 255, 255, 0.8);
}

.section-desc {
    color: var(--color-slate-500);
    max-width: 600px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--color-teal-600);
    border-color: var(--color-teal-600);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-slate-700);
    border-color: var(--color-slate-300);
}

.btn-secondary:hover {
    border-color: var(--color-teal-700);
    color: var(--color-teal-700);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-slate-200);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-slate-900);
    text-decoration: none;
}

.logo:hover {
    color: var(--color-teal-700);
}

.logo svg {
    color: var(--color-teal-700);
}

#nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

#nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-slate-600);
}

#nav-menu a:hover {
    color: var(--color-teal-700);
}

#nav-menu .btn-primary {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-slate-700);
    transition: var(--transition);
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-slate-50) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(13, 148, 136, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content .eyebrow {
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--color-slate-900);
    margin-bottom: 1.25rem;
}

.hero-content h1 em {
    color: var(--color-teal-700);
    font-style: italic;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--color-slate-600);
    margin-bottom: 2rem;
    max-width: 520px;
}

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

.hero-visual {
    position: relative;
}

.hero-card-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.card-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate-800);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    color: var(--color-teal-700);
}

.floating-card {
    position: absolute;
    background-color: var(--color-white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.stat-card-1 {
    top: 10%;
    right: -2rem;
    animation-delay: 0s;
}

.stat-card-2 {
    bottom: 15%;
    left: -2rem;
    animation-delay: 1.5s;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-teal-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-slate-500);
    margin-top: 0.25rem;
}

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

/* Sections */
.section-light {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.section-dark {
    padding: 6rem 0;
    background-color: var(--color-slate-900);
}

.section-teal {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-teal-800) 0%, var(--color-teal-900) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-eyebrow {
    margin-bottom: 0.5rem;
}

.section-header h2 {
    color: var(--color-white);
}

.section-header .section-desc {
    color: var(--color-slate-400);
    margin: 0 auto;
}

.section-teal .section-eyebrow {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.section-teal h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.section-teal p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/5;
}

.about-content .section-eyebrow {
    margin-bottom: 0.75rem;
}

.about-content h2 {
    margin-bottom: 1.25rem;
}

.about-content p {
    color: var(--color-slate-600);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-slate-700);
}

.feature-list svg {
    color: var(--color-teal-700);
    flex-shrink: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(13, 148, 136, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    color: var(--color-teal-400);
}

.service-card h3 {
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-slate-400);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Location Section */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.location-info .section-eyebrow {
    margin-bottom: 0.75rem;
}

.location-info h2 {
    margin-bottom: 1rem;
}

.location-desc {
    color: var(--color-slate-600);
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-teal-700);
    border-radius: var(--radius-md);
    color: var(--color-white);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate-900);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--color-slate-600);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

.contact-item a {
    color: var(--color-teal-700);
}

.contact-item a:hover {
    color: var(--color-teal-600);
    text-decoration: underline;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    font-size: 1rem;
    text-decoration: none;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    text-decoration: none;
}

.contact-form-wrapper {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate-700);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-slate-300);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-slate-700);
    transition: var(--transition);
    background-color: var(--color-slate-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal-700);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
    background-color: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-slate-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: var(--color-teal-700);
}

.form-success svg {
    width: 48px;
    height: 48px;
}

.form-success span {
    font-size: 1rem;
    color: var(--color-slate-700);
}

/* Footer */
footer {
    background-color: var(--color-slate-900);
    padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-slate-400);
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-slate-300);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--color-slate-400);
    font-size: 0.9375rem;
}

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

.footer-contact p {
    color: var(--color-slate-400);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--color-slate-800);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--color-slate-500);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom .disclaimer {
    font-size: 0.8125rem;
    color: var(--color-slate-600);
    max-width: 400px;
    text-align: right;
}

/* Mobile Menu */
@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

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

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

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: var(--shadow-xl);
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    #nav-menu.active {
        right: 0;
    }

    #nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    #nav-menu a {
        font-size: 1.125rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }

    #hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .floating-card {
        display: none;
    }

    .section-light,
    .section-dark,
    .section-teal {
        padding: 4rem 0;
    }

    .about-grid,
    .services-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-wrapper {
        order: -1;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom .disclaimer {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
