/* General Styles */
:root {
    --primary-color: #e30613;
    --secondary-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Models Section */
.models {
    padding: 80px 0;
}

.card {
    border: none;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
}

.card-img-top {
    height: 320px;
    object-fit: contain;
    background-color: #fff;
}

/* Pre-order Section */
.pre-order-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.pre-order-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('../images/form-bg-pattern.png') no-repeat left center/cover;
    opacity: 0.05;
    z-index: 0;
}

.pre-order-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.pre-order-content .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.pre-order-content .section-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: #e30613;
    border-radius: 2px;
}

.pre-order-content .lead {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #333;
}

.feature-item i {
    margin-left: 10px;
    font-size: 1.2rem;
}

.pre-order-form {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #fff;
}

.pre-order-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pre-order-form h3 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.pre-order-form h3::after {
    content: '';
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #e30613;
    border-radius: 2px;
}

.form-control,
.form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #e30613;
    box-shadow: 0 0 0 0.25rem rgba(227, 6, 19, 0.15);
}

.form-label {
    font-weight: 500;
    color: #444;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background-color: #e30613;
    border: none;
    padding: 14px 25px;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #c10510;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.invalid-feedback {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .pre-order-content {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .pre-order-content .section-title::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .feature-item {
        justify-content: center;
    }
    
    .feature-item i {
        margin-left: 10px;
        margin-right: 0;
    }
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 5px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Utility Classes */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    right: 0;
}
