/* ========================================
   Six Pak Shop - Editorial Bakery Website
   Color Palette: Plum + Amber
   ======================================== */

:root {
    /* Plum Palette */
    --plum-dark: #2D1B35;
    --plum-primary: #4A2555;
    --plum-medium: #6B3A75;
    --plum-light: #9B6FA0;
    --plum-pale: #E8D5F0;
    --plum-bg: #F5EEF8;
    
    /* Amber Palette */
    --amber-dark: #B8860B;
    --amber-primary: #D4A017;
    --amber-medium: #E8B830;
    --amber-light: #F5D56E;
    --amber-pale: #FFF8E7;
    
    /* Neutrals */
    --white: #FFFFFF;
    --cream: #FDF9F3;
    --off-white: #FAF7F2;
    --gray-100: #F7F5F2;
    --gray-200: #EDE9E3;
    --gray-300: #D4CFC7;
    --gray-400: #A89F94;
    --gray-500: #7A7067;
    --gray-600: #5C534A;
    --gray-700: #3D3630;
    --gray-800: #2A2420;
    --gray-900: #1A1512;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 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);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    color: var(--plum-dark);
}

em {
    font-style: italic;
    color: var(--amber-dark);
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-dark);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.7;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 243, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(45, 27, 53, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-dark);
}

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

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-primary);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--plum-dark);
}

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

.nav-cta {
    background: var(--plum-primary);
    color: var(--white) !important;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: all var(--transition-fast) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--plum-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 37, 85, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--plum-dark);
    transition: all var(--transition-base);
}

.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);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu-btn {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--plum-dark);
    padding: var(--space-xs);
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: var(--space-lg);
}

.mobile-nav-links a {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--plum-dark);
}

.mobile-nav-links a:hover {
    color: var(--amber-dark);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--plum-bg) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    width: 100%;
}

.hero-content {
    padding: var(--space-xl) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--plum-medium);
    margin-bottom: var(--space-lg);
    box-shadow: 0 2px 8px rgba(45, 27, 53, 0.08);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    color: var(--plum-dark);
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 37, 85, 0.25);
}

.btn-primary:hover {
    background: var(--plum-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 37, 85, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--plum-dark);
    border: 2px solid var(--plum-primary);
}

.btn-secondary:hover {
    background: var(--plum-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--plum-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--cream);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--plum-dark);
    transform: translateY(-3px);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.stat {
    display: flex;
    flex-direction: column;
}

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

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: var(--space-xs);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(45, 27, 53, 0.2);
}

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

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--amber-primary);
    border-radius: 20px;
    z-index: -1;
}

.hero-floating-card {
    position: absolute;
    bottom: var(--space-xl);
    left: -40px;
    background: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: 0 10px 40px rgba(45, 27, 53, 0.15);
    animation: float 3s ease-in-out infinite;
}

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

.floating-card-icon {
    width: 48px;
    height: 48px;
    background: var(--plum-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-primary);
}

.floating-card-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 600;
    color: var(--plum-dark);
    font-size: 0.9375rem;
}

.card-subtitle {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ========================================
   About Section
   ======================================== */

.about {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content {
    padding-right: var(--space-xl);
}

.about-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--plum-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-primary);
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--plum-dark);
    display: block;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Image Stack */
.about-image {
    position: relative;
}

.image-stack {
    position: relative;
    height: 600px;
}

.main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(45, 27, 53, 0.15);
}

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

.accent-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: 0 15px 40px rgba(45, 27, 53, 0.12);
}

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

.experience-badge {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    background: var(--plum-primary);
    color: var(--white);
    padding: var(--space-lg);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(74, 37, 85, 0.3);
}

.exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--amber-light);
}

.exp-text {
    font-size: 0.875rem;
    margin-top: var(--space-xs);
    opacity: 0.9;
}

/* ========================================
   Products Section
   ======================================== */

.products {
    padding: var(--space-4xl) 0;
    background: var(--cream);
}

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

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

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

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(45, 27, 53, 0.06);
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(45, 27, 53, 0.12);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-overlay {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
}

.product-tag {
    background: var(--amber-primary);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.product-name {
    font-size: 1.375rem;
    margin-bottom: var(--space-xs);
}

.product-desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   Visit Section
   ======================================== */

.visit {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

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

.visit-content {
    padding-right: var(--space-xl);
}

.visit-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

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

.contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--plum-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-primary);
}

.contact-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.contact-value a {
    color: var(--plum-primary);
    font-weight: 500;
}

.contact-value a:hover {
    color: var(--amber-dark);
}

.phone-prefix {
    color: var(--gray-400);
}

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

/* Map */
.visit-map {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(45, 27, 53, 0.1);
}

.map-container {
    width: 100%;
    height: 100%;
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum-primary) 50%, var(--plum-medium) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.cta-headline em {
    color: var(--amber-light);
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    color: var(--amber-primary);
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-400);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

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

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

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

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.9375rem;
}

.footer-contact svg {
    color: var(--amber-primary);
    min-width: 16px;
    margin-top: 3px;
}

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

.footer-contact a:hover {
    color: var(--amber-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.copyright {
    font-size: 0.875rem;
}

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

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-container,
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .visit-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-3xl) 0;
    }
    
    .hero-floating-card {
        left: var(--space-md);
        bottom: var(--space-md);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .image-stack {
        height: 400px;
    }
    
    .experience-badge {
        right: 10%;
        padding: var(--space-md);
    }
    
    .exp-number {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .visit-map {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .visit-actions {
        flex-direction: column;
    }
    
    .cta-actions {
        flex-direction: column;
    }
}

/* ========================================
   Animations
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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