/* ========================================
   BLACK CROW COFFEE CT - STYLES
   Color Palette: Emerald Green + Cream
   ======================================== */

:root {
    --emerald-dark: #064e3b;
    --emerald: #059669;
    --emerald-light: #10b981;
    --cream: #f8f5f0;
    --cream-dark: #f0ebe3;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* ========================================
   UTILITY & BASE
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald);
    background: rgba(5, 150, 105, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 500px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--emerald);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--gray-light);
}

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

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

.btn-text {
    color: var(--emerald);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-text:hover {
    color: var(--emerald-dark);
    text-decoration: underline;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 245, 240, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

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

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

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

.logo-text {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

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

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, #e8f5e9 50%, var(--cream-dark) 100%);
}

/* Geometric Background Shapes */
.geometric-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--emerald);
    top: -200px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--emerald-light);
    bottom: 100px;
    left: -80px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--emerald);
    top: 40%;
    right: 10%;
    border-radius: var(--radius-lg);
    transform: rotate(45deg);
    animation: spin 12s linear infinite;
}

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

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

/* Hero Visual - Card-based with floating cards */
.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
}

.main-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card.card-1 {
    bottom: 40px;
    left: -30px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 40px;
    right: -20px;
    animation-delay: 2s;
}

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

.fc-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.fc-text {
    display: flex;
    flex-direction: column;
}

.fc-text strong {
    font-size: 1rem;
    color: var(--black);
    line-height: 1.2;
}

.fc-text span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Stats Bar */
.stats-bar {
    margin-top: 80px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    box-shadow: var(--shadow-md);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--emerald);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

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

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--emerald);
    border-radius: var(--radius-lg);
    bottom: -30px;
    right: -30px;
    z-index: 0;
    opacity: 0.15;
}

.about-content {
    max-width: 480px;
}

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

.about-features {
    list-style: none;
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

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

.feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ========================================
   MENU SECTION
   ======================================== */
.menu {
    padding: 120px 0;
    background: var(--cream);
    position: relative;
}

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

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

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

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.mc-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.mc-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--emerald);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 50px;
}

.mc-content {
    padding: 28px;
}

.mc-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
}

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

.menu-cta {
    text-align: center;
    padding: 40px;
    background: var(--emerald);
    border-radius: var(--radius-xl);
    color: var(--white);
}

.menu-cta p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    opacity: 0.9;
}

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

.menu-cta .btn-primary:hover {
    background: var(--cream);
}

/* ========================================
   LOCATION SECTION
   ======================================== */
.location {
    padding: 120px 0;
    background: var(--white);
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.location-info {
    max-width: 480px;
}

.info-cards {
    display: grid;
    gap: 20px;
    margin: 32px 0;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--cream);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(5, 150, 105, 0.05);
}

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

.info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--black);
}

.info-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

.info-card a {
    color: var(--emerald);
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

.map-placeholder {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Form */
.location-form-wrapper {
    max-width: 480px;
    margin-left: auto;
}

.form-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
}

.form-card > p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--black);
    background: var(--white);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-success {
    text-align: center;
    padding: 20px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: var(--radius-sm);
    color: var(--emerald);
    font-weight: 600;
    margin-top: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--emerald-dark);
    color: var(--white);
    padding: 60px 0 0;
}

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

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 12px;
    font-size: 0.95rem;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

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

.footer-contact p {
    font-size: 0.95rem;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        display: flex;
        justify-content: center;
    }
    
    .hero-card {
        max-width: 320px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        max-width: 100%;
        text-align: center;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .location-container {
        grid-template-columns: 1fr;
    }
    
    .location-form-wrapper {
        margin-left: 0;
        max-width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 80px;
    }
    
    .floating-card {
        display: none;
    }
    
    .stats-bar {
        padding: 24px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .form-card {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}
