:root {
    --primary: #0077B6;
    --secondary: #90E0EF;
    --dark: #023E8A;
    --light: #CAF0F8;
    --gray: #f4f7f6;
    --text: #333;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

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

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

/* HERO */
.hero {
    background: linear-gradient(rgba(0,29,47,0.75), rgba(0,78,124,0.85)), url('https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* SEARCH */
.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.search-box input {
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    width: 100%;
    color: var(--text);
}

.search-box input::placeholder {
    color: #aaa;
}

.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text);
    border-top: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-result-type {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-empty {
    color: #999;
    justify-content: center;
    font-size: 0.9rem;
}

/* PHOTO GALLERY */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.photo-gallery .photo-item {
    overflow: hidden;
    height: 220px;
}

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

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

@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .photo-gallery .photo-item {
        height: 150px;
    }
}

/* CTA BANNER */
.cta-banner {
    padding: 80px 0;
}

/* CITY HERO */
.city-hero {
    background: linear-gradient(135deg, #001D2F 0%, #004E7C 100%);
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
}

.city-hero h1 {
    font-size: 3rem;
    margin: 20px 0;
}

.city-hero h1 span {
    color: var(--secondary);
}

.city-hero-desc {
    font-size: 1.2rem;
    max-width: 700px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-feature-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: var(--dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature-text h4 { margin: 0; font-size: 1rem; }
.hero-feature-text p { margin: 0; font-size: 0.8rem; opacity: 0.7; }

/* LAYOUT */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 60px 0;
}

@media (max-width: 992px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
    }
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* CARDS */
.card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--dark); }
.btn-secondary { background: var(--secondary); color: var(--dark); }
.btn-secondary:hover { opacity: 0.9; }

/* PLUMBER LIST */
.plumber-card {
    display: flex;
    gap: 20px;
}

.plumber-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0;
}

.plumber-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag {
    background: var(--light);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-right: 5px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

/* SIDEBAR */
.nearby-list {
    list-style: none;
    padding: 0;
}

.nearby-list li {
    margin-bottom: 12px;
}

.nearby-list a {
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nearby-list a:hover {
    color: var(--primary);
}

footer {
    background: #00121a;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    color: var(--secondary);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

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

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


.rating .star.filled {
    color: #f1c40f;
}