/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e31e24;
    --primary-dark: #c11a1f;
    --secondary-color: #003d7a;
    --accent-color: #ffa500;
    --text-dark: #222;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --border-color: #ddd;
    --success-color: #28a745;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* User Status Bar */
.user-status-bar {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.logout-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: var(--primary-dark);
}

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

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo .tagline {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 3px;
    margin-top: -5px;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.phone-number {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-number i {
    font-size: 16px;
}

/* Navigation */
.main-nav {
    padding: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

.main-nav li {
    flex: 1;
}

.main-nav a {
    display: block;
    padding: 18px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--bg-light);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #005a9c 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    margin-top: -30px;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Quote Section */
.quote-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.quote-container {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.quote-container h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-align: center;
}

.quote-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 18px;
}

.quote-form h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

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

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

/* Bike Social Section */
.bike-social-section {
    padding: 80px 0;
    background: var(--white);
}

.bike-social-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bike-social-info h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.bike-social-info p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.benefits-list i {
    color: var(--success-color);
    font-size: 18px;
}

.bike-social-image {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
}

.image-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border-color);
}

/* Rewards Section */
.rewards-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), #005a9c);
    color: var(--white);
}

.rewards-section .section-title,
.rewards-section .section-subtitle {
    color: var(--white);
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.reward-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.reward-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.reward-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.reward-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.reward-card p {
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.about-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.success-content {
    text-align: center;
}

.success-icon {
    font-size: 80px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.form-note {
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 968px) {
    .header-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .main-nav ul {
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 36px;
    }

    .bike-social-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        width: 100%;
    }

    .services-grid,
    .rewards-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .quote-container,
    .modal-content {
        padding: 30px 20px;
    }

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