/* --- GLOBAL STYLES --- */
:root {
    --primary: #ff214f;
    --text-dark: #111;
    --text-light: #555;
    --bg-light: #f9f9f9;
    --bg-dark: #222;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: var(--text-dark); background: #fff; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: 15px; }
p { margin-bottom: 15px; color: var(--text-light); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 60px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: #fff; }
.bg-dark p { color: #ccc; }

/* --- HEADER & NAVIGATION --- */
header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; flex-wrap: wrap; }
.logo img { height: 75px; object-fit: contain; } /* <-- Changed to 75px */
.main-nav { display: flex; align-items: center; gap: 20px; }
.nav-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav-links li a { font-weight: 600; color: var(--text-dark); transition: color 0.3s; font-size: 0.95rem; }
.nav-links li a:hover { color: var(--primary); }
.btn-call { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-dark); font-size: 1rem; }
.btn-call svg { fill: var(--primary); width: 18px; height: 18px; }
.menu-toggle { display: none; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--text-dark); line-height: 1; }

@media (max-width: 991px) {
    .menu-toggle { display: block; }
    .btn-call { display: none; }
    .main-nav { display: none; width: 100%; flex-direction: column; padding-top: 20px; text-align: center; }
    .main-nav.active { display: flex; }
    .nav-links { flex-direction: column; width: 100%; gap: 15px; }
    .nav-links li { border-bottom: 1px solid #eee; padding-bottom: 10px; }
    .nav-links li:last-child { border-bottom: none; }
}

/* --- HERO & BACKGROUND SECTIONS --- */
.hero-section, .page-hero { 
    background-size: cover; 
    background-position: center; 
    color: #fff; 
    padding: 120px 5%; 
    text-align: center; 
}
.hero-section { text-align: left; }
.hero-section h5, .page-hero h5 { color: var(--primary); text-transform: uppercase; letter-spacing: 1px; font-size: 1.2rem; }
.hero-section h1 { font-size: 3.5rem; max-width: 800px; color: #fff; }
.page-hero h1 { font-size: 3rem; color: #fff; max-width: 800px; margin: 0 auto; }
.page-hero p { color: #ddd; font-size: 1.2rem; max-width: 600px; margin: 20px auto 0; }

/* --- SERVICES GRID --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.card { border: 1px solid #eee; padding: 30px; text-align: center; border-radius: 8px; transition: transform 0.3s; background: #fff; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.card img { width: 100px; height: 100px; object-fit: contain; margin: 0 auto 20px auto; display: block; }
.card h4 { font-size: 1.2rem; margin-bottom: 10px; }

/* --- SPLIT CONTENT (Image + Text) & BLOCKS --- */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split-content { flex: 1; min-width: 300px; }
.split-image { flex: 1; min-width: 300px; min-height: 400px; border-radius: 8px; background-size: cover; background-position: center; }
.split-4-blocks { display: flex; flex-wrap: wrap; }
.block-item { flex: 1; min-width: 250px; min-height: 350px; display: flex; flex-direction: column; justify-content: center; padding: 40px; background-size: cover; background-position: center; }
.service-block { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; margin-bottom: 60px; }
.service-block.reverse { flex-direction: row-reverse; }
.service-content { flex: 1; min-width: 300px; }
.service-image { flex: 1; min-width: 300px; }
.service-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* --- IMAGE GALLERY --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 15px; margin-top: 40px; }
.gallery-img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: opacity 0.3s; }
.gallery-img:hover { opacity: 0.8; }

/* --- FEATURES & LISTS --- */
.feature-item { display: flex; gap: 20px; margin-top: 30px; }
.feature-icon svg { width: 40px; height: 40px; fill: var(--primary); }
.custom-list { padding-left: 20px; margin-top: 20px; }
.custom-list li { margin-bottom: 10px; color: var(--text-light); }
.custom-list li b { color: var(--text-dark); }

/* --- CONTACT & FOOTER --- */
.contact-section { display: flex; flex-wrap: wrap; }
.contact-info { flex: 1; padding: 60px 5%; min-width: 300px; }
.contact-map { flex: 1; min-width: 300px; min-height: 400px; }
.contact-map iframe { width: 100%; height: 100%; border: none; }
footer { background: #1a1a1a; color: #aaa; padding: 60px 5% 20px; margin-top: auto; }
footer h3 { color: #fff; margin-bottom: 20px; }
footer a:hover { color: var(--primary); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; text-align: center; }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 0.9rem; }

/* --- MODALS & 404 --- */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: #222; color: #fff; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; z-index: 1000; }
.cookie-banner p { color: #ccc; margin: 0; }
.btn-confirm { background: var(--primary); color: #fff; padding: 10px 30px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; margin-top: 10px; }
.dialog-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; z-index: 1001; }
.dialog-box { background: #fff; padding: 40px; border-radius: 8px; max-width: 500px; text-align: center; position: relative; }
.dialog-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #888; }
.btn-round { background: var(--primary); color: #fff; padding: 12px 40px; border-radius: 50px; display: inline-block; margin-top: 20px; font-weight: bold; transition: opacity 0.3s; }
.btn-round:hover { opacity: 0.9; }

/* --- 404 SPECIFIC --- */
.error-section { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/techbench.jpg') center/cover; color: #fff; text-align: center; padding: 60px 5%; }
.error-section h1 { font-size: 6rem; color: var(--primary); margin-bottom: 10px; line-height: 1; }
.error-section h2 { font-size: 2rem; margin-bottom: 20px; }
.error-section p { font-size: 1.2rem; max-width: 500px; margin-bottom: 40px; color: #ddd; }