/* --- MODERN RESET & VARIABLES --- */
:root {
    --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --text-light: #64748b;
    --primary: #4f46e5; /* Aurora Moru */
    --secondary: #06b6d4; /* Aurora Mavisi */
    --accent: #f43f5e; /* Vurgu */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --radius: 16px;
    --container: 1200px;
    --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- AURORA MESH BACKGROUND --- */
body::before, body::after {
    content: '';
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.6;
    animation: auroraMove 15s infinite alternate;
}
body::before {
    top: -10%; left: -10%;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}
body::after {
    bottom: -10%; right: -10%;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    animation-delay: -5s;
}

@keyframes auroraMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, 40px) scale(1.1); }
}

/* --- TYPOGRAPHY & LAYOUT --- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; color: #0f172a; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }

.container { width: 92%; max-width: var(--container); margin: 0 auto; }
.section-padding { padding: 80px 0; }

/* --- GLASSMORPHISM COMPONENTS --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --- HEADER & NAV --- */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}
.main-header.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--shadow);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Hamburger Menu */
.hamburger-btn {
    display: flex; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1100;
    background: none; border: none; padding: 10px;
}
.bar { width: 30px; height: 3px; background-color: var(--text-color); border-radius: 3px; transition: 0.3s; }
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    padding: 100px 30px; transition: 0.4s ease; z-index: 1050;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; gap: 20px;
}
.mobile-menu.active { right: 0; }
.mobile-menu a { font-size: 1.25rem; font-weight: 500; }
.overlay {
    position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.3);
    z-index:1040; opacity:0; visibility:hidden; transition:0.3s;
}
.overlay.active { opacity:1; visibility:visible; }

/* --- HERO SECTION --- */
.hero {
    min-height: 80vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; padding-top: var(--header-height);
}
.hero-content { max-width: 800px; z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.hero p { font-size: 1.25rem; color: var(--text-light); margin-bottom: 40px; }
.search-wrapper {
    position: relative; max-width: 600px; margin: 0 auto;
}
.search-input {
    width: 100%; padding: 20px 25px; border-radius: 50px; border: 1px solid var(--glass-border);
    font-size: 1.1rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    outline: none; transition: 0.3s;
}
.search-input:focus { ring: 4px solid rgba(79, 70, 229, 0.2); border-color: var(--primary); }

/* --- GRIDS --- */
.grid-layout {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px; margin-top: 40px;
}

/* --- CARDS (City & Company) --- */
.city-card { overflow: hidden; position: relative; cursor: pointer; height: 300px; }
.city-card img { width: 100%; height: 100%; transition: 0.5s; }
.city-card:hover .city-img-normal { opacity: 0; }
.city-card .city-img-hover { position: absolute; top: 0; left: 0; opacity: 0; z-index: 1; }
.city-card:hover .city-img-hover { opacity: 1; transform: scale(1.1); }
.city-info {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #fff; z-index: 2;
}

.company-card { padding: 25px; display: flex; flex-direction: column; gap: 15px; }
.company-header { display: flex; align-items: center; gap: 15px; }
.company-logo { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.rating-badge { background: #ecfdf5; color: #059669; padding: 4px 8px; border-radius: 6px; font-weight: 700; font-size: 0.9rem; }
.btn-group { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: auto; }
.btn {
    padding: 10px; border-radius: 8px; font-size: 0.9rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #22c55e; color: #fff; }
.btn-outline { border: 1px solid var(--text-light); color: var(--text-color); }

/* --- DETAIL PAGE SPECIFICS --- */
.detail-hero { height: 400px; width: 100%; object-fit: cover; border-radius: var(--radius); margin-bottom: 30px;}
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.services-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.services-table td { padding: 12px; border-bottom: 1px solid rgba(0,0,0,0.05); }

/* --- MOBILE STICKY FOOTER --- */
.mobile-sticky-footer {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1); z-index: 1200; transform: translateY(100%); transition: 0.3s;
}
.mobile-sticky-footer.visible { transform: translateY(0); }
.sticky-btn { padding: 15px; text-align: center; color: white; font-weight: bold; font-size: 1.1rem; }
.sticky-call { background: var(--primary); }
.sticky-wp { background: #25D366; }

/* --- FOOTER --- */
.main-footer { margin-top: 100px; padding: 50px 0; background: #fff; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 20px; font-size: 0.9rem; color: var(--text-light); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .detail-grid { grid-template-columns: 1fr; }
    .btn-group { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}
@media (min-width: 769px) {
    .mobile-sticky-footer { display: none !important; }
}