/* ===================================
   KOBA CAFE - Modern Vibrant Theme
   Colors: Emerald Green (#059669) + Cream (#FDF6E3)
   =================================== */

:root {
    --color-emerald: #059669;
    --color-emerald-dark: #047857;
    --color-emerald-light: #d1fae5;
    --color-cream: #FDF6E3;
    --color-cream-dark: #f5e6c8;
    --color-text: #1f2937;
    --color-text-light: #4b5563;
    --color-white: #ffffff;
    --color-black: #111827;
    
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Geometric Background Shapes */
.geo-shape {
    position: fixed;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-emerald-light);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--color-cream-dark);
    border-radius: 50%;
    bottom: 20%;
    left: -50px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--color-emerald);
    top: 50%;
    right: 10%;
    opacity: 0.1;
    transform: rotate(45deg);
}

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

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.text-emerald {
    color: var(--color-emerald);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-emerald);
    color: var(--color-white);
}

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

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

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 227, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo .dot {
    color: var(--color-emerald);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-nav {
    background-color: var(--color-emerald);
    color: var(--color-white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.btn-nav:hover {
    background-color: var(--color-emerald-dark);
}

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-text);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    background: var(--color-emerald);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 24px;
    line-height: 1.05;
}

.hero-title .highlight {
    color: var(--color-emerald);
}

.hero-title .outline-text {
    -webkit-text-stroke: 2px var(--color-text);
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

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

.hero-visual {
    position: relative;
}

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

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

.secondary-img {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 6px solid var(--color-cream);
}

.floating-card {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--color-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fc-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

.fc-time {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-emerald);
}

.hero-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--color-emerald);
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Sections */
.section {
    padding: 100px 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.about-image-wrap .main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.accent-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-emerald);
    color: var(--color-white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.about-content .lead {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--color-text);
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-list .icon {
    width: 40px;
    height: 40px;
    background: var(--color-emerald-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-emerald);
    flex-shrink: 0;
}

/* Menu Section */
.menu {
    background: var(--color-white);
}

.section-header {
    margin-bottom: 60px;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu-column {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.menu-header-emerald {
    background: var(--color-emerald);
    color: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.menu-header-emerald h3,
.menu-header-dark h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.menu-header-emerald span,
.menu-header-dark span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.menu-header-dark {
    background: var(--color-black);
    color: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.menu-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-item:last-child {
    border-bottom: none;
}

.item-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.item-desc {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.link-text {
    color: var(--color-emerald);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--color-emerald);
}

.link-text:hover {
    color: var(--color-emerald-dark);
    border-color: var(--color-emerald-dark);
}

.mt-4 {
    margin-top: 32px;
}

.text-center {
    text-align: center;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--color-white);
    padding: 24px;
    font-family: var(--font-display);
    font-weight: 700;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.large {
    grid-column: span 5;
    grid-row: span 2;
}

.tall {
    grid-column: span 4;
    grid-row: span 2;
}

.square {
    grid-column: span 3;
}

.wide {
    grid-column: span 8;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .lead {
    margin-bottom: 40px;
    color: var(--color-text-light);
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-row {
    display: flex;
    gap: 16px;
}

.info-row svg {
    color: var(--color-emerald);
    flex-shrink: 0;
    margin-top: 4px;
}

.info-row strong {
    display: block;
    margin-bottom: 4px;
    color: var(--color-text);
}

.info-row p {
    color: var(--color-text-light);
    margin: 0;
}

.info-row a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-row a:hover {
    color: var(--color-emerald);
}

.form-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-cream-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--color-cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-emerald);
    background: var(--color-white);
}

.full-width {
    width: 100%;
}

.success-message {
    background: var(--color-emerald-light);
    color: var(--color-emerald-dark);
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 16px;
}

/* Map Section */
.map-section {
    border-top: 8px solid var(--color-emerald);
}

/* Footer */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-hours strong {
    display: block;
    margin-bottom: 12px;
    color: var(--color-white);
}

.footer-hours p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
}

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

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .secondary-img {
        width: 150px;
        height: 150px;
        left: 20px;
        bottom: -20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .large,
    .tall,
    .square,
    .wide {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 250px;
    }
    
    .wide {
        grid-column: span 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .wide {
        grid-column: span 1;
    }
    
    .accent-box {
        right: 0;
        bottom: -20px;
    }
}
