/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;600;800&display=swap');

:root {
    --bg-navy: #101E35;    
    --accent-cyan: #00B4D8; 
    --text-white: #FFFFFF;
    --text-dark: #0A1322;   
    --card-bg: #F8FAFC;     
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-navy);
    background-image: radial-gradient(circle at 80% -20%, rgba(0, 180, 216, 0.25) 0%, var(--bg-navy) 60%);
    background-attachment: fixed; 
    color: var(--text-white);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, .navbar-brand {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 1px;
    margin: 0;
}

/* Navigation Bar */
.navbar {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    color: var(--text-white);
    font-size: 28px;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.nav-links a:hover { opacity: 0.7; }

/* Buttons */
.btn-pill {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease;
}

.btn-pill:hover { transform: translateY(-3px); }
.btn-cyan { background-color: var(--accent-cyan); color: var(--text-dark) !important; }
.btn-white { background-color: var(--text-white); color: var(--bg-navy) !important; }

/* Highlight Text Effect */
.highlight-block {
    background-color: var(--accent-cyan);
    color: var(--text-dark);
    display: inline-block;
    padding: 0 15px;
    line-height: 1.1;
    margin-top: 5px;
}

/* Page Containers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Booking & Service Cards */
.card-container {
    background: var(--card-bg);
    color: var(--text-dark);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    max-width: 900px;
    margin: 0 auto;
}

/* Booking Tabs & Forms */
.tab-container { display: flex; border-bottom: 2px solid #eee; margin-bottom: 30px; }
.tab-btn { flex: 1; padding: 20px; background: none; border: none; font-size: 16px; font-weight: 800; color: #9CA3AF; cursor: pointer; }
.tab-btn.active { color: var(--accent-cyan); border-bottom: 3px solid var(--accent-cyan); }
.form-section { display: none; }
.form-section.active { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-width { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; }
.form-group label { color: var(--bg-navy); font-weight: 800; font-size: 14px; margin-bottom: 8px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { background-color: #ffffff; border: 2px solid #e0ddd5; border-radius: 10px; padding: 14px; color: var(--text-dark); font-family: 'Inter', sans-serif; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent-cyan); outline: none; }
textarea { resize: vertical; min-height: 120px; }

/* Footer */
footer { text-align: center; padding: 40px 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #9CA3AF; margin-top: 40px; }

/* Grids for Services and Clients */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.grid-card {
    background: var(--card-bg);
    color: var(--text-dark);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-top: 4px solid var(--accent-cyan);
}

.grid-card h3 {
    color: var(--bg-navy);
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.client-card {
    background: var(--card-bg);
    color: var(--bg-navy);
    font-weight: 800;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: transform 0.3s ease, color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.client-card:hover {
    transform: translateY(-5px);
    color: var(--accent-cyan);
}

/* Logo Sizing - Sharp 2px White Outline */
.nav-logo {
    height: 150px; 
    width: auto;
    display: block;
    background-color: transparent; 
    padding: 0;
    
    /* 4 sharp drop-shadows (0px blur) pulling 2px in every direction to create a solid trace */
    filter: 
        drop-shadow(2px 0px 0px #FFFFFF) 
        drop-shadow(-2px 0px 0px #FFFFFF) 
        drop-shadow(0px 2px 0px #FFFFFF) 
        drop-shadow(0px -2px 0px #FFFFFF);
            
    transition: transform 0.3s ease;
    margin: -25px 0; 
}

.nav-logo:hover {
    transform: translateY(-2px) scale(1.02); 
}
/* =========================================
   MOBILE RESPONSIVENESS (SMARTPHONES & TABLETS)
   ========================================= */

/* 1. Global Safety Rule: Stop images from breaking out of the screen */
img {
    max-width: 100%;
    height: auto;
}

/* 2. The Media Query Tripwire (Triggers on screens 768px or smaller) */
@media screen and (max-width: 768px) {
    
    /* -- Fix the Navigation Bar -- */
    .navbar {
        flex-direction: column; /* Stacks logo, links, and button vertically */
        padding: 15px;
        gap: 20px;
        text-align: center;
    }
    
    .nav-links {
        flex-wrap: wrap; /* Allows links to drop to a new line if needed */
        justify-content: center;
        gap: 15px;
        padding: 0;
    }
    
    .nav-logo {
        margin: 0 auto; /* Centers the logo on mobile */
        height: 80px; /* Slightly shrinks the logo so it doesn't dominate the small screen */
    }

    /* -- Fix the Booking Forms -- */
    .form-grid {
        display: flex !important;
        flex-direction: column !important; /* Forces all form inputs into a single vertical column */
        gap: 15px;
    }
    
    /* -- Fix the Tab Buttons -- */
    .tab-container {
        flex-direction: column; /* Stacks the Repair and Consultation buttons */
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
        border-radius: 8px; /* Makes them look more like standalone buttons on mobile */
    }

    /* -- Adjust Breathing Room -- */
    .container {
        padding: 15px; /* Reduces outer padding to give content more room */
    }
    
    .card-container {
        padding: 20px; /* Shrinks the huge white card padding on mobile */
    }
    
    h1 {
        margin-top: 20px; /* Adjusts top spacing for the massive headline */
    }
}