/*
* TyreTech Solutions - Main Stylesheet
* A comprehensive CSS file for styling the tyre business landing page
*/

:root {
    /* Color variables - RS Systems colors */
    --primary-color: #4D8080; /* Türkis/Blaugrün */
    --secondary-color: #5A8A5A; /* Grün */
    --dark-color: #003B4C; /* Dunkelblau */
    --light-color: #FFFFCC; /* Hellgelb */
    --gray-color: #5f6368;
    --accent-color: #B0E0E6; /* Hellblau */
    --border-color: #dadce0;
    
    /* Typography */
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
}

/* Base Styles */
body {
    font-family: var(--body-font);
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0d5bbc;
}

.btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0d5bbc;
    border-color: #0d5bbc;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-light:hover {
    color: var(--dark-color);
}

section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.1rem;
}

/* Header Styles */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.nav-btn {
    margin-left: 15px;
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Hero Section */
#hero {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin-top: 70px;
}

.hero-slide {
    color: var(--light-color);
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

#hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light-color);
}

#hero p.lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 350px;
    height: 350px;
    line-height: 350px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-features {
    margin-top: 20px;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: var(--light-color);
}

@media (max-width: 991.98px) {
    .hero-slide {
        padding: 50px 0;
        text-align: center;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-icon {
        margin: 30px auto 20px;
    }
}

/* Products Section */
.product-card {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card.featured {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.product-card .icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
}

.product-card .icon-box i {
    font-size: 30px;
    color: var(--primary-color);
}

.product-card h3 {
    font-size: 1.5rem;
    margin: 20px 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 5px 0;
    color: var(--gray-color);
}

.feature-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Benefits Section */
.benefit-box {
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.icon-circle i {
    font-size: 35px;
    color: var(--primary-color);
}

.benefit-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-color);
}

.testimonial-content:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -30px;
    color: rgba(26, 115, 232, 0.1);
}

.testimonial-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Contact Section */
.contact-info {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info .icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
}

.contact-info .icon-box i {
    font-size: 20px;
    color: var(--primary-color);
}

.contact-info h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0d5bbc;
    transform: translateY(-3px);
}

.contact-form {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    height: 50px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

textarea.form-control {
    height: 150px;
    resize: none;
}

/* Login Modal */
.modal-content {
    border-radius: 10px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
}

.modal-title {
    color: white;
}

.login-form {
    padding: 20px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    #hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero-img {
        margin-top: 50px;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }
    
    .nav-btn {
        margin: 10px 0 0 0;
        display: block;
        width: 100%;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .product-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    #hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 8px 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}
.login-hero {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
            color: var(--light-color);
            padding: 80px 0;
            margin-bottom: 0;
        }
        
        .login-card {
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin-top: -50px;
            background-color: white;
            position: relative;
            z-index: 2;
        }
        
        .login-header {
            background-color: var(--primary-color);
            padding: 20px;
            color: white;
            text-align: center;
        }
        
        .login-body {
            padding: 30px;
        }
        
        .area-selector {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .area-card {
            padding: 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .area-card.active {
            background-color: var(--accent-color);
            color: var(--dark-color);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
        }
        
        .area-card:hover:not(.active) {
            background-color: #f8f9fa;
        }
        
        .area-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            margin: 0 auto 15px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.1);
            font-size: 24px;
        }
        
        .active .area-icon {
            background-color: rgba(255, 255, 255, 0.2);
        }