/* styles/landing.css */

/* Fix conflict between Tailwind and Bootstrap */
.collapse {
    visibility: visible !important;
}

:root {
    /* Brand Colors */
    --color-primary: #1B4332;       /* Deep Green */
    --color-primary-light: #2D6A4F;
    --color-accent: #FFD23F;        /* Vibrant Yellow */
    --color-accent-soft: #FFEEAF;   /* Soft Yellow */
    
    /* Neutral / Apple-like Palette */
    --bg-main: #FBFBFB;             /* Off-white background */
    --bg-secondary: #F2F2F7;        /* Light Gray for sections */
    --text-main: #1D1D1F;           /* Near Black */
    --text-muted: #86868B;          /* Gray text */
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --blur-strength: 20px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Glass Navbar */
.navbar-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

.btn-primary-custom {
    background-color: var(--color-primary);
    border: none;
    color: white;
    border-radius: 999px; /* Pill shape */
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-primary-custom:hover {
    background-color: var(--color-primary-light);
    transform: scale(1.02);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../landing/hero.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--color-accent-soft);
    color: var(--color-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.bg-secondary-custom {
    background-color: var(--bg-secondary);
}

.about-img {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: none;
}

.stars {
    color: var(--color-accent);
}

/* Contact Form */
.contact-form-container {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-control {
    border-radius: 12px;
    padding: 0.8rem 1rem;
    border: 1px solid #e1e1e1;
    background-color: #f9f9f9;
}

.form-control:focus {
    background-color: white;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(27, 67, 50, 0.1);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.open-now-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-open {
    background-color: #d1fae5;
    color: #065f46;
}

.status-closed {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Footer */
.footer {
    background-color: #111;
    color: #888;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

/* Mobile Adjustments */
@media (max-width: 991px) { /* Changed from 768px to 991px to cover tablet/mobile menu breakpoint */
    .hero-title {
        font-size: 2.5rem;
    }
    .glass-card {
        margin-bottom: 1rem;
    }
    
    /* Ensure navbar background is solid white on mobile when expanded for readability */
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 0.5rem;
    }

    .nav-link {
        color: var(--text-main) !important; /* Force dark text on mobile white background */
    }
}
