:root {
    --primary: #0066ff;
    --primary-dark: #0044bb;
    --accent: #d600bb;
    --dark: #1a1a1a;
    --darker: #f0f4f8;
    /* Light gray background */
    --light: #ffffff;
    --gray: #666666;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--darker);
    color: var(--dark);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h3.main-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.sub-title {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    display: block;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--dark);
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

header.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--dark);
}

.logo-mark {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .brand {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--dark);
}

.logo-text .sub-brand {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
    margin-top: 2px;
}

.logo .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('assets/hero.png') no-repeat center center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 30%, rgba(255, 255, 255, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Glass Cards */
.glass {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

/* Services */
.services-section {
    padding: 10rem 0;
    background-color: var(--darker);
}

.align-center {
    text-align: center;
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
}

/* Mobile Section */
.mobile-section {
    padding: 5rem 0 10rem;
    background-color: var(--light);
}

.mobile-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.mobile-image {
    position: relative;
}

.glass-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark);
}

.feature-icon {
    color: var(--primary);
    flex-shrink: 0;
}

/* Contact Section */
.contact-section {
    padding: 10rem 0;
    background-color: var(--darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
}

.contact-info {
    padding: 4rem 3.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(214, 0, 187, 0.05));
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.info-item:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.info-item .icon {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: white;
    flex-shrink: 0;
}

.info-item h5 {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--dark);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.contact-form {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.vehicle-selection {
    display: flex;
    gap: 0.8rem;
}

.vehicle-selection select#vehicle-year {
    flex: 0 0 90px;
}

.vehicle-selection select#vehicle-make,
.vehicle-selection select#vehicle-model {
    flex: 1;
}

@media (max-width: 600px) {
    .vehicle-selection {
        flex-direction: column;
    }
}

input,
select,
textarea {
    width: 100%;
    padding: 1.2rem;
    background: var(--light);
    border: 1.5px solid var(--glass-border);
    border-radius: 14px;
    color: var(--dark);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    padding-left: 0.8rem;
    cursor: pointer;
    text-overflow: ellipsis;
}

select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
    background-color: var(--light);
}

textarea {
    height: 120px;
    resize: none;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    background-color: var(--light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 700;
}

.social-links a:hover {
    color: var(--primary);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive Layouts */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
    }

    h1 {
        font-size: 2.8rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .mobile-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 3rem 1.5rem;
    }
}

/* iPhone Portrait & Narrow Screens */
@media (max-width: 430px) {
    h1 {
        font-size: 2.4rem;
    }

    .contact-info {
        padding: 3rem 1.2rem;
    }

    .contact-info h3 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2.5rem 1.2rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 1rem;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .info-item .icon {
        margin: 0 auto;
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .info-item p {
        font-size: 1.1rem;
    }

    .vehicle-selection {
        flex-direction: column;
        gap: 0.6rem;
    }

    .vehicle-selection select#vehicle-year {
        flex: 1;
    }
}