@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700;900&display=swap');

:root {
    --ev-blue: #00ffcc;
    --ev-blue-dim: rgba(0, 255, 204, 0.2);
    --bg-deep: #030712;
    --surface: #0f172a;
    --surface-light: #1e293b;
    --border: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: var(--ev-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--ev-blue);
}

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

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.1rem;
}

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

.btn-nav {
    padding: 10px 25px;
    background: var(--ev-blue);
    color: #000 !important;
    border-radius: 8px;
    font-weight: 700;
}
.btn-nav:hover {
    background: #fff;
    box-shadow: 0 0 15px var(--ev-blue-dim);
}

/* HERO SECTION */
.hero {
    min-height: 85vh;
    display: flex;
    background: var(--bg-deep);
}

.hero-content {
    flex: 1;
    padding: 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    text-align: left;
}

.hero-image {
    flex: 1;
    position: relative;
    background-image: url('electric_vehicle_charger.png');
    background-size: cover;
    background-position: center;
}

.hero-image-protection {
    flex: 1;
    position: relative;
    background-image: url('home_protection_hero.png');
    background-size: cover;
    background-position: center;
}

.hero-image::after, .hero-image-protection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-deep) 0%, transparent 60%);
}
@media (max-width: 900px) {
    .hero { flex-direction: column; }
    .hero-image, .hero-image-protection { min-height: 400px; width: 100%; }
    .hero-image::after, .hero-image-protection::after { background: linear-gradient(to bottom, var(--bg-deep) 0%, transparent 60%); }
    .hero-content { text-align: center; align-items: center; }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--ev-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: var(--ev-blue);
    color: #000 !important;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--ev-blue-dim);
    color: #000 !important;
}

/* SECTION STRUCTURE */
section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 800;
}

/* GRID LAYOUTS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--surface);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--ev-blue);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* FOOTER */
footer {
    background: var(--surface-light);
    padding: 60px 5% 30px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

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

.footer-col h4 {
    color: var(--ev-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 30px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; } /* Add burger menu for prod */
    section { padding: 60px 5%; }
}
