/* CSS Variables based on GM Electronics Neon/Dark theme */
:root {
    --primary-cyan: #00d2ff;
    --primary-cyan-hover: #00a8cc;
    --primary-blue: #092c5e;
    --bg-darkest: #05070a;
    --bg-dark: #0a0f18;
    --bg-card: #111a28;
    --white: #ffffff;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --border-light: rgba(0, 210, 255, 0.15);
    --glow-effect: 0 0 20px rgba(0, 210, 255, 0.25);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Accessibility Fundamentals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

html, body {
    overflow-x: hidden; 
    width: 100%;
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-dark);
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Orbitron', 'Inter', sans-serif;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.prominent-heading {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    color: var(--primary-cyan);
}

.cyan-gradient-text {
    background: linear-gradient(90deg, #00d2ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Utility */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.bg-darker {
    background-color: var(--bg-darkest);
}

/* Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--primary-cyan);
    color: var(--bg-darkest);
    box-shadow: var(--glow-effect);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-cyan-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 210, 255, 0.45);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

.btn-outline:hover, .btn-outline:focus {
    background-color: rgba(0, 210, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--glow-effect);
}

/* SVG Icons Utility */
.icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Header & Navigation Container */
header {
    background-color: rgba(5, 7, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

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

.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

/* Update Logo & Brand Name Styling */
.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-name {
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-shadow: var(--glow-effect);
    line-height: 1.2;
    text-align: left; /* Aligns text cleanly against the logo */
}

/* Force image to the left of the text on Desktop */
.brand-link img {
    order: 1;
}
.brand-link .brand-name {
    order: 2;
}

/* Shift desktop navigation to the right */
.desktop-nav {
    margin-left: auto;
    padding-right: 40px; 
}

/* Desktop Nav */
.desktop-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.desktop-nav a:hover {
    color: var(--primary-cyan);
    text-shadow: var(--glow-effect);
}

.desktop-ctas {
    display: flex;
    gap: 15px;
}

/* Mobile Nav Elements */
.mobile-actions { display: none; align-items: center; gap: 10px; }
.mobile-icon-btn { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: var(--transition); text-decoration: none; }
.mobile-icon-btn.outline { border: 2px solid var(--primary-cyan); color: var(--primary-cyan); background-color: transparent; }
.hamburger { display: none; width: 32px; height: 22px; position: relative; background: transparent; border: none; cursor: pointer; }
.hamburger span { display: block; position: absolute; height: 3px; width: 100%; background: var(--primary-cyan); border-radius: 3px; left: 0; transition: .25s ease-in-out; transform-origin: left center; }
.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: -1px; left: 3px; }
.hamburger.active span:nth-child(2) { width: 0%; opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 22px; left: 3px; }

.mobile-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--bg-darkest); padding: 20px; flex-direction: column; gap: 12px; border-top: 1px solid var(--border-light); box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.mobile-nav.active { display: flex; }
.mobile-nav a.mobile-link { text-decoration: none; color: var(--text-main); font-weight: 600; display: block; text-align: center; background-color: var(--bg-card); border: 1px solid var(--border-light); border-radius: 8px; padding: 14px; text-transform: uppercase; font-family: 'Orbitron', sans-serif; letter-spacing: 0.5px; transition: var(--transition); }
.mobile-nav a.mobile-link:active { background-color: rgba(0, 210, 255, 0.1); }

/* Highlight Mobile Menu Link */
.mobile-nav a.mobile-nav-highlight {
    background-color: var(--primary-cyan);
    color: var(--bg-darkest);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-effect);
    margin-top: 5px;
}

/* Asymmetric Refreshed Hero Section */
.hero {
    background: radial-gradient(circle at top left, rgba(9, 44, 94, 0.3) 0%, var(--bg-dark) 70%);
    padding: 160px 0 100px; /* Increased top padding */
    border-bottom: 1px solid var(--border-light);
}

.hero-layout-split {
    max-width: 900px;
    margin: 0 auto;
}

.hero-text-panel {
    text-align: center;
}

.hero-text-panel h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.hero-lead {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-main);
}

.grid-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: left;
}

.highlight-item {
    background-color: rgba(17, 26, 40, 0.6);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-cyan);
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-item p {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.highlight-icon {
    color: var(--primary-cyan);
    font-weight: bold;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Asymmetric Reversed Grid (eBay Layout Swap) */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reversed-grid .equipment-image {
    grid-column: 1;
}

.reversed-grid .equipment-text {
    grid-column: 2;
}

.tech-spec-list {
    margin-top: 25px;
}

.spec-row {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.spec-row strong {
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    display: inline-block;
    width: 160px;
}

.equipment-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    border: 1px solid var(--border-light);
}

/* Modernized Asymmetric Service Cards with SVGs */
.services-grid-asymmetric {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-modern {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center; /* Ensures text is naturally centered beneath icon */
}

.service-card-modern.featured-card {
    border: 1px solid var(--border-light);
    box-shadow: var(--glow-effect);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(9, 44, 94, 0.2) 100%);
}

.service-card-modern:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-effect);
}

.card-icon-container {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 210, 255, 0.06);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto; /* Centered with auto margins */
    color: var(--primary-cyan);
    border: 1px solid var(--border-light);
}

.service-icon {
    width: 30px;
    height: 30px;
}

.service-card-modern h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Book Now Callout Card */
.book-now-card {
    background: linear-gradient(135deg, var(--bg-darkest) 0%, var(--primary-blue) 100%);
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 80px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--primary-cyan);
}

.book-now-card p { color: var(--text-main); font-size: 1.15rem; }
.book-now-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 35px; }

/* Contact Platform Configuration */
.contact-wrapper { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }
.contact-info { padding: 45px; background-color: var(--bg-card); border-radius: 8px; border: 1px solid var(--border-light); }
.contact-info h2 { font-size: 2rem; color: var(--primary-cyan); }
.contact-info a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.2rem; transition: var(--transition); }
.contact-info a:hover { color: var(--primary-cyan); }
.contact-form { width: 100%; background-color: var(--bg-card); padding: 45px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.03); }
.form-group { margin-bottom: 24px; }
label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; font-family: 'Orbitron', sans-serif; letter-spacing: 0.5px; color: var(--text-muted); }
input, select, textarea { width: 100%; padding: 14px 18px; background-color: var(--bg-darkest); color: var(--white); border: 1px solid rgba(255,255,255,0.06); border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 0.95rem; transition: var(--transition); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary-cyan); box-shadow: 0 0 12px rgba(0, 210, 255, 0.2); }
textarea { resize: vertical; min-height: 140px; }

/* Footer Engine */
footer { background-color: var(--bg-darkest); padding: 60px 0 40px; border-top: 1px solid rgba(255,255,255,0.03); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 40px; }
.footer-brand h4 { color: var(--primary-cyan); margin-bottom: 8px; letter-spacing: 0.5px; }
.social-links { display: flex; gap: 15px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background-color: rgba(255,255,255,0.02); color: var(--text-main); border-radius: 4px; transition: var(--transition); border: 1px solid rgba(255,255,255,0.05); }
.social-links a:hover { background-color: var(--primary-cyan); color: var(--bg-darkest); border-color: var(--primary-cyan); transform: translateY(-4px); box-shadow: var(--glow-effect); }
.footer-bottom { text-align: center; font-size: 0.85rem; color: var(--text-muted); }

/* Sticky Return Device */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; background-color: var(--primary-cyan); color: var(--bg-darkest); border-radius: 4px; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: var(--glow-effect); opacity: 0; pointer-events: none; transition: var(--transition); z-index: 999; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background-color: var(--white); transform: translateY(-3px); }

/* Responsive Media Controls */
@media (max-width: 1024px) {
    .services-grid-asymmetric { grid-template-columns: 1fr; gap: 25px; }
    .hero-text-panel h1 { font-size: 3rem; }
    .layout-grid { grid-template-columns: 1fr; gap: 40px; }
    .reversed-grid .equipment-image { grid-column: 1; }
    .reversed-grid .equipment-text { grid-column: 1; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .desktop-nav, .desktop-ctas { display: none; }
    .mobile-actions, .hamburger { display: flex; }
    
    .grid-highlights { grid-template-columns: 1fr; }
    
    /* Push the 'Power Up Your...' Hero section closer to the header */
    .hero { 
        padding: 60px 0 80px; 
    } 
    
    .hero-text-panel h1 { font-size: 2.3rem; }
    .prominent-heading { font-size: 2.1rem; }
    .section { padding: 70px 0; }
    
    /* Centre Shop Online button in the ebayflyer.png section */
    #store .equipment-text .btn {
        display: flex;
        margin: 25px auto 0 !important;
        width: fit-content;
    }

    /* Centre 'Get In Touch' card text entirely */
    .contact-info {
        text-align: center;
    }
    
    /* Centre the phone number link inside the contact card */
    .contact-info p a {
        justify-content: center;
    }

    /* Centre the 'Contact Us' heading in the contact form */
    .contact-form h3.prominent-heading {
        text-align: center;
    }

    .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .logo img { height: 40px; }
    .brand-name { font-size: 0.75rem; }
    .mobile-icon-btn { width: 36px; height: 36px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn, .book-now-actions .btn { width: 100%; }
    .spec-row strong { width: 100%; margin-bottom: 4px; }
    .contact-info, .contact-form, .book-now-card { padding: 30px 20px; }
}