/* Eden's Garden Cafe — Custom Styles */

:root {
    --teal-900: #0f4c5c;
    --teal-800: #1a5f7a;
    --teal-700: #247a9a;
    --teal-600: #2e9ab8;
    --teal-500: #38b5d2;
    --teal-400: #4fcce3;
    --teal-300: #7dd8eb;
    --teal-200: #aee8f2;
    --teal-100: #d5f4f8;
    --teal-50: #eef9fb;
    --slate-850: #1e293b;
    --slate-900: #0f172a;
    --cream: #f8f6f3;
    --cream-light: #faf9f7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--cream);
    color: var(--slate-850);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Space Grotesk', sans-serif;
}

/* Navigation */
.nav-link {
    position: relative;
    color: var(--slate-900);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-700);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--teal-700);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/2159074/pexels-photo-2159074.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(26, 95, 122, 0.7) 50%, rgba(15, 23, 42, 0.85) 100%);
}

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

/* Accent line */
.accent-line {
    width: 80px;
    height: 2px;
    background: var(--teal-500);
}

/* Section spacing */
section {
    padding: 100px 0;
}

/* Service cards */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

/* Image grid */
.image-grid-item {
    overflow: hidden;
}

.image-grid-item img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Buttons */
.btn-primary {
    background: var(--teal-700);
    color: white;
    padding: 16px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(36, 122, 154, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--slate-900);
    padding: 16px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--slate-900);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--slate-900);
    color: white;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-900);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Form styles */
input, textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--slate-850);
    padding: 12px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--slate-900);
    width: 100%;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-bottom-color: var(--teal-700);
}

input::placeholder, textarea::placeholder {
    color: #94a3b8;
}

/* Footer */
footer {
    background: var(--slate-900);
    color: rgba(255, 255, 255, 0.7);
}

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

footer a:hover {
    color: var(--teal-400);
}

/* Success message */
.success-message {
    display: none;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    color: var(--teal-900);
    padding: 16px 24px;
    margin-top: 16px;
    font-size: 0.9rem;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .font-serif.text-5xl {
        font-size: 2.5rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .hero, .mobile-menu, .hamburger {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    section {
        padding: 40px 0;
    }
}
