/* ============================================
   FOG HOG VAPORS — Stylesheet
   Classic & Elegant | Emerald + Cream
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --emerald-900: #022c22;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #059669;
    --emerald-400: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;

    --cream-50:  #faf9f6;
    --cream-100: #f5f3ee;
    --cream-200: #ebe7dd;
    --cream-300: #e0dbd0;

    --charcoal:  #1a1a1a;
    --slate:     #2d2d2d;
    --stone:     #5c5c5c;
    --stone-light: #8a8a8a;
    --white:     #ffffff;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Lato', 'Segoe UI', system-ui, sans-serif;

    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
    --shadow-xl:  0 20px 60px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.10);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--charcoal);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

a:hover {
    color: var(--emerald-700);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-800);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(4, 120, 87, 0.08);
    transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
    background: rgba(250, 249, 246, 0.97);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--emerald-800);
}

.logo--light {
    color: var(--white);
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-accent {
    color: var(--emerald-500);
    font-style: italic;
}

.logo--light .logo-accent {
    color: var(--emerald-300);
}

/* --- Navigation --- */
.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--slate);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-menu li a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-cta {
    background: var(--emerald-700) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
    background: var(--emerald-600) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--emerald-900) 0%,
        var(--emerald-700) 30%,
        #0a6e52 50%,
        var(--emerald-600) 70%,
        #0d8a64 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(4, 120, 87, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(16, 185, 129, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: var(--emerald-100);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--emerald-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--emerald-200);
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.60);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.hero-scroll svg {
    width: 20px;
    height: 20px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-700);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.3);
}

.btn-primary:hover {
    background: var(--emerald-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4, 120, 87, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* --- Section Shared --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 16px;
    position: relative;
    padding: 0 0 8px;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--emerald-400);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--stone);
    line-height: 1.7;
}

/* --- Products --- */
.products {
    background: var(--cream-50);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-200);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-img {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.product-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 44, 34, 0.25) 0%, transparent 50%);
}

.product-body {
    padding: 24px;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.product-desc {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--slate);
    font-weight: 500;
}

.product-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--emerald-500);
    border-radius: 50%;
    flex-shrink: 0;
}

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

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

.about-image-wrap {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.about-img-main-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(to top, rgba(2, 44, 34, 0.15) 0%, transparent 40%);
}

.about-img-float {
    position: absolute;
    bottom: -32px;
    right: -24px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream-100);
}

.about-img-float-overlay {
    position: absolute;
    inset: 0;
    border-radius: calc(var(--radius-lg) - 4px);
    background: linear-gradient(to top, rgba(2, 44, 34, 0.2) 0%, transparent 50%);
}

.about-badge {
    position: absolute;
    top: -16px;
    right: 40px;
    background: var(--emerald-700);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.about-badge-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    opacity: 0.85;
}

.about-content {
    padding: 16px 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--stone);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--emerald-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

.value-icon svg {
    width: 22px;
    height: 22px;
}

.value-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.value-item span {
    font-size: 0.92rem;
    color: var(--stone);
    line-height: 1.6;
}

/* --- Why Us --- */
.why-us {
    background: linear-gradient(
        135deg,
        var(--emerald-900) 0%,
        var(--emerald-700) 50%,
        #0a6e52 100%
    );
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.section-header--light {
    position: relative;
    z-index: 1;
}

.section-tag--light {
    color: var(--emerald-300);
}

.section-tag--light::after {
    background: var(--emerald-400);
}

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

.section-desc--light {
    color: rgba(255, 255, 255, 0.70);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: background var(--transition), transform var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.why-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    color: var(--emerald-300);
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.why-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* --- Visit --- */
.visit {
    background: var(--cream-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.visit-info {
    padding: 16px 0;
}

.visit-desc {
    font-size: 1.05rem;
    color: var(--stone);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

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

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.6;
}

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

.visit-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.visit-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 420px;
    border: 1px solid var(--cream-200);
}

/* --- Footer --- */
.footer {
    background: var(--emerald-900);
    color: rgba(255, 255, 255, 0.70);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a,
.footer-col ul li span {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--emerald-300);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.40);
}

.footer-legal {
    font-size: 0.82rem !important;
    font-style: italic;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-float {
        right: 16px;
        bottom: -20px;
        width: 160px;
        height: 160px;
    }

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

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        align-items: stretch;
        padding: 88px 24px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu li a {
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav-cta {
        text-align: center;
        margin-top: 12px;
    }

    .hero-content {
        padding: 100px 20px 80px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

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

    .visit-cta-group {
        flex-direction: column;
    }

    .visit-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
