/* ===================================
   Exmoor Vape - Stylesheet
   Mobile-first responsive design
   Breakpoints: 480px / 768px / 1024px / 1280px
   =================================== */

/* --- CSS Variables --- */
:root {
    --cyan: #22d3ee;
    --cyan-light: #67e8f9;
    --blue: #2563eb;
    --blue-hover: #1d4ed8;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.2);
    --section-bg: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #ffffff;
    min-height: 100vh;
    background-color: #111;
    line-height: 1.6;
    font-size: 14px;
}

.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-image: url('vapeBG.webp');
    background-position: center center;
    background-size: 100% auto;
    background-repeat: repeat-y;
    z-index: -1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

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

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

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

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

.site-logo {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.site-logo:hover {
    opacity: 0.8;
}

.site-logo-img {
    height: 40px;
    width: auto;
}

.nav-desktop {
    display: none;
    gap: 1.25rem;
}

.nav-desktop a {
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

.nav-desktop a:hover {
    color: var(--cyan);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.nav-mobile {
    display: none;
    padding-bottom: 1rem;
}

.nav-mobile.open {
    display: block;
}

.nav-mobile a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-mobile a:hover {
    color: var(--cyan);
}

/* --- Hero --- */
.hero {
    padding: 2.5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-bottom: 0.75rem;
}

.hero-text {
    font-size: 0.9375rem;
    color: var(--gray-400);
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* --- Section Box --- */
.section-box {
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.section-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* --- Product Sections --- */
.product-section {
    padding: 1.5rem 0;
}

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

.brand-grid-3 {
    max-width: 48rem;
    margin: 0 auto;
}

/* --- Brand Card --- */
.brand-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.brand-card:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
}

.brand-logo {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.brand-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.brand-card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
}

.brand-card p {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.375rem;
}

/* --- About Section --- */
.about-section {
    padding: 2rem 0;
}

.about-content {
    max-width: 48rem;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* --- Opening Hours --- */
.hours-section {
    padding: 2rem 0;
}

.hours-box {
    max-width: 36rem;
    margin: 0 auto;
}

.hours-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9375rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.today {
    background: rgba(34, 211, 238, 0.15);
    border-radius: 0.375rem;
    color: var(--cyan);
    font-weight: 600;
}

.hours-day {
    font-weight: 500;
}

.hours-time {
    color: var(--gray-300);
}

.hours-row.today .hours-time {
    color: var(--cyan-light);
}

/* --- Gallery --- */
.gallery-section {
    padding: 2rem 0;
}

.gallery-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-empty {
    text-align: center;
    color: var(--gray-400);
    font-size: 1rem;
    padding: 2rem 0;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 0.5rem;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* --- Contact Section --- */
.contact-section {
    padding: 2rem 0;
}

.contact-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--cyan);
}

.contact-detail {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    align-items: flex-start;
}

.contact-detail .icon {
    flex-shrink: 0;
    font-size: 1.125rem;
}

.contact-detail a {
    color: var(--cyan);
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: var(--cyan-light);
}

.contact-address {
    line-height: 1.8;
}

.contact-map {
    border-radius: 0.5rem;
    overflow: hidden;
    min-height: 250px;
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    transition: background 0.3s;
}

.social-btn:hover {
    background: var(--blue-hover);
}

.directions-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 700;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    transition: background 0.3s;
}

.directions-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* --- Footer --- */
.site-footer {
    background: var(--section-bg);
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
}

.site-footer p {
    margin-bottom: 0.5rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin: 0 auto 1rem;
}

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

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

.footer-credit {
    color: var(--gray-600);
    font-size: 0.6875rem;
}

.footer-credit a {
    transition: color 0.3s;
}

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

/* --- Age Verification Modal --- */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.age-overlay.hidden {
    display: none;
}

.age-modal {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 28rem;
    width: 100%;
    text-align: center;
}

.age-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.age-modal > p {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.age-form {
    margin-top: 1.25rem;
}

.age-selects {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.age-selects select {
    flex: 1;
    padding: 0.5rem 0.25rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
}

.age-selects select option {
    background: #1a1a2e;
    color: #fff;
}

.age-form button {
    width: 100%;
    padding: 0.75rem;
    background: var(--cyan);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.3s;
}

.age-form button:hover {
    background: var(--cyan-light);
}

.age-error {
    color: #f87171;
    margin-top: 1rem;
    font-size: 0.875rem;
    min-height: 1.25em;
}


/* ===================================
   RESPONSIVE BREAKPOINTS
   =================================== */

/* --- Large phones (480px+) --- */
@media (min-width: 480px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 3rem 0;
    }

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

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

    .hero-text {
        font-size: 1rem;
    }

    .section-box {
        padding: 1.5rem;
    }

    .section-box h2,
    .about-content h2,
    .hours-box h2,
    .gallery-section h2,
    .contact-section h2 {
        font-size: 1.75rem;
    }

    .brand-grid {
        gap: 1rem;
    }

    .brand-card {
        padding: 1.25rem;
    }

    .brand-logo {
        height: 6rem;
    }

    .brand-card h3 {
        font-size: 1rem;
    }

    .brand-card p {
        font-size: 0.8125rem;
    }

    .gallery-grid {
        gap: 0.75rem;
    }

    .age-modal {
        padding: 2rem;
    }

    .age-modal h2 {
        font-size: 1.625rem;
    }

    .age-selects {
        gap: 0.5rem;
    }

    .age-selects select {
        font-size: 0.9375rem;
        padding: 0.625rem;
    }
}

/* --- Tablets (768px+) --- */
@media (min-width: 768px) {
    body {
        font-size: 16px;
    }

    html {
        scroll-padding-top: 80px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .header-inner {
        padding: 1rem 0;
    }

    .site-logo-img {
        height: 48px;
    }

    .nav-desktop {
        display: flex;
        gap: 1.5rem;
    }

    .nav-toggle {
        display: none;
    }

    .hero {
        padding: 4rem 0;
    }

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

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

    .hero-text {
        font-size: 1.125rem;
    }

    .section-box {
        padding: 2rem;
    }

    .section-box h2,
    .about-content h2,
    .hours-box h2,
    .gallery-section h2,
    .contact-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .product-section {
        padding: 2.5rem 0;
    }

    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .brand-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .brand-card {
        padding: 1.5rem;
    }

    .brand-logo {
        height: 7rem;
    }

    .brand-card h3 {
        font-size: 1.0625rem;
    }

    .brand-card p {
        font-size: 0.875rem;
    }

    .about-section,
    .hours-section,
    .gallery-section,
    .contact-section {
        padding: 3rem 0;
    }

    .about-content p {
        font-size: 1.0625rem;
    }

    .hours-row {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

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

    .gallery-item {
        border-radius: 0.5rem;
    }

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

    .contact-map {
        min-height: 300px;
    }

    .contact-map iframe {
        height: 300px;
    }

    .contact-info h3 {
        font-size: 1.25rem;
    }

    .contact-detail {
        font-size: 1rem;
    }

    .social-btn,
    .directions-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .site-footer {
        padding: 2rem 0;
        margin-top: 3rem;
    }

    .footer-copyright {
        font-size: 1rem;
    }

    .footer-age {
        font-size: 0.875rem;
    }

    .footer-credit {
        font-size: 0.75rem;
    }

    .age-modal {
        padding: 2.5rem;
    }

    .age-modal h2 {
        font-size: 1.75rem;
    }
}

/* --- Desktop (1024px+) --- */
@media (min-width: 1024px) {
    .nav-desktop {
        gap: 2rem;
    }

    .nav-desktop a {
        font-size: 1rem;
    }

    .hero {
        padding: 5rem 0;
    }

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

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

    .hero-text {
        font-size: 1.25rem;
    }

    .section-box h2,
    .about-content h2,
    .hours-box h2,
    .gallery-section h2,
    .contact-section h2 {
        font-size: 2.25rem;
        margin-bottom: 3rem;
    }

    .product-section {
        padding: 4rem 0;
    }

    .brand-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .brand-logo {
        height: 8rem;
    }

    .brand-card h3 {
        font-size: 1.125rem;
    }

    .about-section,
    .hours-section,
    .gallery-section,
    .contact-section {
        padding: 4rem 0;
    }

    .about-content p {
        font-size: 1.125rem;
    }

    .hours-row {
        font-size: 1.0625rem;
    }

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

    .contact-map {
        min-height: 350px;
    }

    .contact-map iframe {
        height: 350px;
    }

    .site-footer {
        margin-top: 4rem;
    }
}

/* --- Wide desktop (1280px+) --- */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
        padding: 0 2rem;
    }

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

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

    .brand-grid {
        gap: 1.5rem;
    }

    .gallery-grid {
        gap: 1.25rem;
    }
}


/* ===========================
   Hero CTA Button
   =========================== */
.hero-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.85rem 2.5rem;
    background: var(--cyan);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover {
    background: var(--cyan-light);
    transform: translateY(-2px);
}


/* ===========================
   About Us Highlights
   =========================== */
.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem;
}

.about-item h3 {
    color: var(--cyan);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.about-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ===========================
   Back to Top Button
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--cyan);
    color: #000;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--cyan-light);
    transform: translateY(-2px);
}

/* Push up when cookie banner is visible */
.cookie-banner[style*="block"] ~ .back-to-top,
body:has(.cookie-banner[style*="block"]) .back-to-top.visible {
    bottom: 6rem;
}


/* ===========================
   Cookie Consent Banner
   =========================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid var(--cyan);
    padding: 1rem;
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.cookie-banner-inner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-inner a {
    color: var(--cyan);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-accept {
    background: var(--cyan);
    color: #000;
}

.cookie-accept:hover {
    background: var(--cyan-light);
}

.cookie-decline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cookie-decline:hover {
    border-color: #fff;
}

@media (min-width: 768px) {
    .cookie-banner-inner {
        flex-direction: row;
        text-align: left;
    }

    .cookie-banner-inner p {
        flex: 1;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }
}


/* ===========================
   Privacy Policy Page
   =========================== */
.privacy-page {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.privacy-page h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.privacy-updated {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.privacy-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-section h2 {
    color: var(--cyan);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.privacy-section h3 {
    color: #fff;
    font-size: 1.05rem;
    margin: 1rem 0 0.5rem;
}

.privacy-section p,
.privacy-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

.privacy-section ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.privacy-section li {
    margin-bottom: 0.4rem;
}

.privacy-section a {
    color: var(--cyan);
    text-decoration: underline;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.9rem;
}

.privacy-table th,
.privacy-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.privacy-table th {
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.privacy-table code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

.footer-links {
    margin: 0.5rem 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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