/* Precision Pro Detailers LLC - Main Stylesheet */

:root {
    --primary-color: #1a5f7a;
    --secondary-color: #159895;
    --accent-color: #57c5b6;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a5f7a 0%, #159895 100%);
    --gradient-secondary: linear-gradient(135deg, #159895 0%, #57c5b6 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.25);
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-small);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-type-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.toggle-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-medium);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: var(--white);
    color: var(--primary-color);
}

.toggle-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-medium);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-card.popular {
    border: 3px solid var(--secondary-color);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-small);
    font-size: 0.8rem;
    font-weight: 600;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-price span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-features li:before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.select-service-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: var(--radius-small);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.select-service-btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
}

/* Add-ons Section */
.add-ons {
    background: var(--white);
    padding: 4rem 0;
}

.add-ons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.add-on-card {
    background: var(--light-color);
    border: 2px solid #eee;
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.add-on-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.add-on-card.selected {
    border-color: var(--secondary-color);
    background: rgba(21, 152, 149, 0.1);
}

.add-on-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.add-on-price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.add-on-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Booking Form Section */
.booking-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
}

.booking-form {
    background: var(--white);
    border-radius: var(--radius-large);
    padding: 3rem;
    box-shadow: var(--shadow-heavy);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: var(--radius-small);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.location-validation {
    padding: 1rem;
    border-radius: var(--radius-small);
    margin-top: 0.5rem;
    display: none;
}

.location-valid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.location-invalid {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.order-summary {
    background: var(--light-color);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    margin-top: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.summary-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    margin-top: 1rem;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.2rem;
    border: none;
    border-radius: var(--radius-medium);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1.5rem;
}

.submit-btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Service Area Info */
.service-area {
    background: var(--white);
    padding: 4rem 0;
}

.area-list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.area-item {
    background: var(--light-color);
    padding: 1rem 2rem;
    border-radius: var(--radius-medium);
    text-align: center;
    min-width: 150px;
}

.area-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.area-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #bbb;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 2rem;
    padding-top: 1.5rem;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.add-on-card {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: var(--radius-small);
    margin-top: 1rem;
    text-align: center;
}