/* ============================================
   Natural High Coffee Co — Stylesheet
   ============================================ */

/* CSS Custom Properties */
:root {
    --terracotta: #C65D3E;
    --terracotta-dark: #A84B30;
    --terracotta-light: #D4846A;
    --sand: #F5E6D3;
    --sand-light: #FDF6EE;
    --sand-dark: #E8D5C0;
    --cream: #FFFAF5;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #8B7E74;
    --warm-gray-light: #B8A99E;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.08);
    --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.12);
    --shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 238, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-dark);
    transition: box-shadow 0.3s ease;
}

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

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--charcoal-light);
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a:not(.nav-cta):hover {
    color: var(--terracotta);
}

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

.nav-cta {
    background: var(--terracotta);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
}

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 72px 24px 0;
    position: relative;
    overflow: hidden;
    background: var(--sand-light);
}

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

.geo-circle {
    position: absolute;
    border-radius: 50%;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    background: var(--sand);
    top: -150px;
    right: -100px;
    opacity: 0.6;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: var(--terracotta-light);
    opacity: 0.1;
    bottom: 10%;
    left: -80px;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--terracotta);
    opacity: 0.06;
    top: 20%;
    left: 5%;
    transform: rotate(15deg);
}

.geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: 10%;
    background-image: radial-gradient(circle, var(--terracotta) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.2;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding: 40px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(198, 93, 62, 0.1);
    color: var(--terracotta);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

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

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

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.headline-accent {
    color: var(--terracotta);
    position: relative;
}

.headline-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--sand);
    z-index: -1;
    border-radius: 3px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.938rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--terracotta);
    color: #fff;
    box-shadow: 0 4px 16px rgba(198, 93, 62, 0.3);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(198, 93, 62, 0.4);
}

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

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
}

.stat-label {
    font-size: 0.813rem;
    color: var(--warm-gray);
    font-weight: 500;
}

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

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

.image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/750;
}

.image-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--terracotta);
    border-radius: 50%;
    opacity: 0.15;
    bottom: -40px;
    left: -40px;
    z-index: -1;
}

/* ============================================
   Section Shared Styles
   ============================================ */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.title-accent {
    color: var(--terracotta);
}

.section-subtitle {
    font-size: 1.063rem;
    color: var(--warm-gray);
    max-width: 560px;
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 100px 24px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-geometric {
    position: relative;
    height: 500px;
}

.geo-block {
    position: absolute;
    border-radius: var(--radius-lg);
}

.geo-block-1 {
    width: 280px;
    height: 320px;
    background: var(--sand);
    top: 0;
    left: 0;
    border-radius: var(--radius-xl);
}

.geo-block-2 {
    width: 200px;
    height: 200px;
    background: var(--terracotta);
    opacity: 0.12;
    top: 60px;
    right: 20px;
    border-radius: 50%;
}

.geo-block-3 {
    width: 140px;
    height: 140px;
    background: var(--terracotta-light);
    opacity: 0.15;
    bottom: 20px;
    left: 60px;
    border-radius: var(--radius-md);
    transform: rotate(30deg);
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-text {
    font-size: 1.063rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: var(--sand-light);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--sand-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--terracotta);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.813rem;
    color: var(--warm-gray);
    line-height: 1.5;
}

/* ============================================
   Menu Section
   ============================================ */
.menu {
    padding: 100px 24px;
    background: var(--sand-light);
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light), var(--sand-dark));
}

.menu-container {
    max-width: 1280px;
    margin: 0 auto;
}

.menu-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.menu-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--sand-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.menu-card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--terracotta);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.688rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.938rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.card-link:hover {
    gap: 8px;
}

.menu-cta {
    text-align: center;
    padding: 40px;
    background: var(--cream);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--sand-dark);
}

.menu-cta p {
    font-size: 1rem;
    color: var(--warm-gray);
    margin-bottom: 20px;
}

/* ============================================
   Visit Section
   ============================================ */
.visit {
    padding: 100px 24px;
    background: var(--cream);
}

.visit-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.visit-content {
    padding: 40px 0;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--sand-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--sand-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--terracotta);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.info-card h4 {
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.info-card p {
    font-size: 0.875rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.info-card a {
    color: var(--terracotta);
    font-weight: 600;
    transition: color 0.2s ease;
}

.info-card a:hover {
    color: var(--terracotta-dark);
}

.visit-map {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 450px;
}

.visit-map iframe {
    position: relative;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    inset: 0;
    border: 4px solid var(--sand-dark);
    border-radius: var(--radius-xl);
    pointer-events: none;
    z-index: 2;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--charcoal);
    color: var(--sand);
    padding: 60px 24px 24px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(245, 230, 211, 0.15);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--sand);
    margin-bottom: 12px;
}

.footer-logo-icon {
    color: var(--terracotta-light);
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.footer-links h5,
.footer-contact h5 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-dark);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.875rem;
    color: var(--warm-gray);
    padding: 4px 0;
    transition: color 0.2s ease;
}

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

.footer-contact p {
    font-size: 0.875rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--terracotta-light);
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: var(--warm-gray);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .about-container {
        gap: 48px;
    }
    
    .about-geometric {
        height: 360px;
    }
    
    .geo-block-1 {
        width: 200px;
        height: 240px;
    }
    
    .geo-block-2 {
        width: 140px;
        height: 140px;
    }
    
    .geo-block-3 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 246, 238, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--sand-dark);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero {
        padding-top: 72px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
        padding: 20px 0;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .image-accent {
        width: 120px;
        height: 120px;
    }
    
    /* About */
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-geometric {
        height: 280px;
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Menu */
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-card-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    /* Visit */
    .visit-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .menu-cta {
        padding: 28px 20px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
