/* Variables for easy color changes */
:root {
    --primary: #0056b3; 
    --accent: #ffb700;
    --dark: #333;
    --light: #f4f4f4;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--dark); background-color: var(--light); padding-bottom: 60px; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

/* --- NAVIGATION & LOGO UPDATES --- */
.navbar { background: var(--white); padding: 10px 0; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }

/* Logo: Default (Desktop) Size */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { 
    height: auto;           /* Let width drive the size if needed, or... */
    max-height: 40px;       /* CONSTANT CAP: Limits height on desktop */
    width: auto;            /* Keeps aspect ratio perfect */
    max-width: 200px;       /* Prevents it from getting too wide if the image is wide */
}

.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; }

/* Mobile Adjustments */
@media(max-width: 600px) { 
    .nav-links { display: none; } 
    
    /* Logo: Automatically smaller on Mobile */
    .logo img {
        max-height: 30px; /* Shrinks logo on phones */
    }
}
/* --------------------------------- */

/* Hero */
.hero { background: linear-gradient(rgba(0,86,179,0.8), rgba(0,86,179,0.9)), url('https://source.unsplash.com/random/1200x600?car,traffic') no-repeat center/cover; color: var(--white); text-align: center; padding: 100px 20px; }
.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border: none; border-radius: 5px; cursor: pointer; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: #e5a500; }
.btn-secondary { background: var(--primary); color: var(--white); }

/* Checker Widget */
.checker-section { padding: 40px 0; background: var(--white); }
.checker-box { background: #e9f5ff; padding: 30px; border-radius: 10px; text-align: center; border: 1px solid #d0e7ff; }
.checker-controls { margin-top: 20px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
select { padding: 12px; border-radius: 5px; border: 1px solid #ccc; font-size: 1rem; }
.result-message { margin-top: 20px; font-weight: bold; font-size: 1.2rem; padding: 10px; border-radius: 5px; }
.hidden { display: none; }
.result-yes { background-color: #ffe6e6; color: #cc0000; }
.result-no { background-color: #e6ffe6; color: #006600; }

/* Features */
.features { padding: 50px 0; text-align: center; }
.feature-card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: var(--shadow); }
.feature-card i { font-size: 3rem; color: var(--primary); margin-bottom: 15px; }

/* Locations Grid */
.locations-section { padding: 40px 0; }
.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }
.location-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.location-info { padding: 20px; flex-grow: 1; }
.location-card h3 { color: var(--primary); margin-bottom: 10px; }
.location-card .address { color: #666; font-size: 0.95rem; margin-bottom: 10px; }
.location-card .tag { display: inline-block; background: #e0f7fa; color: #006064; padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; margin-bottom: 10px; font-weight: 600; }
.location-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #eee; }
.action-btn { padding: 15px; text-align: center; text-decoration: none; color: var(--primary); font-weight: 600; transition: 0.2s; }
.action-btn:hover { background: #f9f9f9; }
.action-btn.map { border-left: 1px solid #eee; }

/* Mobile Sticky Bar */
.mobile-sticky-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 2000; }
.sticky-btn { flex: 1; text-align: center; padding: 15px; text-decoration: none; font-weight: bold; font-size: 1rem; }
.sticky-btn.primary { background: var(--primary); color: var(--white); }
.sticky-btn.secondary { background: var(--white); color: var(--primary); }
@media(max-width: 768px) { .mobile-sticky-bar { display: flex; } }