/* ============================================
   NORTHERN LATITUDES DISTILLERY
   Vibrant Modern | Plum & Amber | Geometric
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --plum-50: #faf5f7;
    --plum-100: #f5e9ee;
    --plum-200: #ebd0dc;
    --plum-300: #d9a9bb;
    --plum-400: #c47d96;
    --plum-500: #a85574;
    --plum-600: #8e3d5c;
    --plum-700: #74304a;
    --plum-800: #5e283c;
    --plum-900: #4d2231;
    --plum-950: #2a1119;

    --amber-50: #fffbeb;
    --amber-100: #fff3cd;
    --amber-200: #ffeaa7;
    --amber-300: #ffd166;
    --amber-400: #ffc233;
    --amber-500: #f5a623;
    --amber-600: #e08a1a;
    --amber-700: #b86510;
    --amber-800: #8f4d0c;
    --amber-900: #733d09;

    --dark: #1a0f14;
    --dark-soft: #2d1f26;
    --light: #fef9fb;
    --light-soft: #fdf0f4;

    --font-display: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(42, 17, 25, 0.08);
    --shadow-md: 0 8px 24px rgba(42, 17, 25, 0.12);
    --shadow-lg: 0 16px 48px rgba(42, 17, 25, 0.16);
}

/* --- 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-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--plum-700);
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}

.skip-link:focus {
    top: var(--space-sm);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.1;
    font-weight: 800;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-700);
    background: var(--amber-100);
    padding: 0.4em 1em;
    border-radius: 100px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--dark);
    margin-bottom: var(--space-md);
}

.section-body {
    font-size: 1.125rem;
    color: var(--plum-800);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 560px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    padding: 0.875em 1.75em;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber-500);
    color: var(--dark);
    border-color: var(--amber-500);
}

.btn-primary:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--plum-700);
    border-color: var(--plum-700);
}

.btn-outline:hover {
    background: var(--plum-700);
    color: #fff;
    transform: translateY(-2px);
}

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

.btn-sm {
    padding: 0.6em 1.25em;
    font-size: 0.8125rem;
}

.btn-nav {
    background: var(--amber-500);
    color: var(--dark);
    border-color: var(--amber-500);
}

.btn-nav:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 249, 251, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(168, 85, 116, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(254, 249, 251, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--dark);
}

.logo--light {
    color: #fff;
}

.logo-icon {
    color: var(--plum-600);
}

.logo--light .logo-icon {
    color: var(--amber-400);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a:not(.btn) {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--plum-800);
    position: relative;
    padding: 0.25em 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-500);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--dark);
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-800) 30%, var(--plum-700) 60%, #7a3d5e 100%);
    padding: var(--space-3xl) var(--space-md) var(--space-2xl);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--amber-500);
    top: -15%;
    right: -10%;
    opacity: 0.35;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--plum-400);
    bottom: -5%;
    left: -5%;
    opacity: 0.5;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: var(--amber-300);
    top: 40%;
    left: 15%;
    opacity: 0.25;
}

.geo-shape {
    position: absolute;
    opacity: 0.12;
}

.shape-1 {
    width: 120px;
    height: 120px;
    border: 3px solid var(--amber-400);
    transform: rotate(45deg);
    top: 15%;
    left: 8%;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: var(--amber-400);
    border-radius: 50%;
    bottom: 20%;
    right: 12%;
}

.shape-3 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid var(--amber-300);
    top: 25%;
    right: 20%;
    opacity: 0.15;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: var(--amber-200);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5em 1.25em;
    border-radius: 100px;
    margin-bottom: var(--space-lg);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber-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.3); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: #fff;
    margin-bottom: var(--space-md);
    line-height: 1.0;
}

.text-accent {
    color: var(--amber-400);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.3125rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.hero-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-actions .btn-secondary:hover {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--amber-400);
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

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

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Section Shared --- */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(168, 85, 116, 0.08);
}

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

.product-image {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 17, 25, 0.6), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
}

.product-badge {
    background: var(--amber-500);
    color: var(--dark);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35em 0.875em;
    border-radius: 100px;
}

.product-info {
    padding: var(--space-md);
}

.product-name {
    font-size: 1.375rem;
    color: var(--dark);
    margin-bottom: 0.5em;
}

.product-desc {
    font-size: 0.9375rem;
    color: var(--plum-700);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.8125rem;
    color: var(--plum-500);
    font-weight: 600;
}

.meta-dot {
    color: var(--amber-500);
}

/* --- Experience --- */
.experience {
    background: var(--plum-950);
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: var(--plum-800);
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

.experience .section-tag {
    background: rgba(245, 166, 35, 0.15);
    color: var(--amber-400);
}

.experience .section-title {
    color: #fff;
}

.experience .section-body {
    color: rgba(255, 255, 255, 0.7);
}

.experience-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.experience-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-block {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-400);
}

.feature-title {
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 0.25em;
}

.feature-block p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.experience-visual {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.visual-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visual-card--main {
    width: 75%;
    height: 85%;
    top: 0;
    right: 0;
}

.visual-card--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-card--accent {
    width: 55%;
    height: 45%;
    bottom: 0;
    left: 0;
    border: 4px solid var(--plum-950);
}

.visual-card--accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- About --- */
.about {
    background: var(--light-soft);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--plum-200);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-visual {
    position: relative;
}

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

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent-shape {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--amber-400);
    border-radius: var(--radius-md);
    bottom: -30px;
    right: -30px;
    z-index: -1;
    opacity: 0.6;
}

.about-content .section-body {
    margin-bottom: var(--space-lg);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.value-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--amber-500);
    min-width: 48px;
}

.value-text {
    font-size: 0.9375rem;
    color: var(--plum-800);
    font-weight: 600;
}

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

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: var(--space-xl);
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.info-block {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md);
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(168, 85, 116, 0.08);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--plum-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
}

.info-block h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--plum-500);
    margin-bottom: 0.25em;
    font-weight: 700;
}

.info-block p {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
}

.info-block a {
    color: var(--plum-700);
    font-weight: 700;
    transition: color 0.2s ease;
}

.info-block a:hover {
    color: var(--amber-600);
}

.visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 450px;
    border: 4px solid #fff;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    margin-top: var(--space-sm);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-col h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--amber-400);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.footer-col a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

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

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        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; }
}

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

    .experience-layout,
    .about-grid,
    .visit-layout {
        grid-template-columns: 1fr;
    }

    .experience-visual {
        min-height: 400px;
        order: -1;
    }

    .visual-card--main {
        width: 80%;
        height: 70%;
    }

    .visual-card--accent {
        width: 55%;
        height: 50%;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 249, 251, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid rgba(168, 85, 116, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-stats {
        gap: var(--space-md);
    }

    .stat-divider {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-lg);
    }

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

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