/* 
* Main stylesheet for the Istanbul Motorcycle Courier Website
* Author: Custom Design
* Version: 1.0
*/

:root {
    --primary-color: #4a6fa5;  /* Pastel blue instead of red */
    --secondary-color: #333333;
    --accent-color: #28a745;  /* Soft green for WhatsApp */
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --gray-color: #95a5a6;
    --accent-color-2: #f39c12; /* Warm orange */
    --accent-color-3: #9b59b6; /* Soft purple */
    --border-radius: 8px;
    --box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 60px; /* Space for fixed bottom buttons */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.85;
}

.btn {
    border-radius: var(--border-radius);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: #3a5a8c;
    border-color: #3a5a8c;
}

.section-padding {
    padding: 4rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Header */
.header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.navbar-nav .nav-item {
    margin: 0 0.2rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.8rem 1rem;
    color: var(--dark-color);
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background-color: #f8f9fa;
    background-image: linear-gradient(135deg, rgba(74, 111, 165, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

/* Carousel/Slider Styles */
#heroSlider {
    position: relative;
}

#heroSlider .carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

#heroSlider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#heroSlider .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#heroSlider .carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    left: 10%;
    right: 10%;
    z-index: 2;
    padding: 0;
    max-width: 600px;
}

#heroSlider .carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#heroSlider .carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#heroSlider .slider-btn .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    width: 5%;
    z-index: 3;
}

#heroSlider .carousel-indicators {
    z-index: 3;
}

/* Static Hero Section (Fallback) */
.hero-section .container {
    padding: 5rem 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Feature Cards */
.feature-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border-top: 3px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 50%;
}

.feature-icon i, .feature-icon svg {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-color);
}

/* Service Areas */
.area-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.area-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.area-list {
    column-count: 3;
    column-gap: 2rem;
}

@media (max-width: 768px) {
    .area-list {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .area-list {
        column-count: 1;
    }
}

/* Services */
.service-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    border-left: 3px solid var(--accent-color-2);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-title {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-desc {
    color: var(--gray-color);
}

/* Pricing Table */
.pricing-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: var(--transition);
    height: 100%;
    border-bottom: 3px solid var(--accent-color-3);
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #e74c3c;
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    transform: rotate(45deg) translateX(25px) translateY(-10px);
    width: 120px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pricing-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-details {
    list-style-type: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.pricing-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card.popular {
    transform: scale(1.05);
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular::before {
    content: 'Popüler';
    position: absolute;
    top: 0;
    right: 0;
    background-color: #e74c3c;
    color: white;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 0 12px 0 12px;
}

/* Contact Form */
.contact-info {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info i {
    width: 30px;
    text-align: center;
    margin-right: 0.5rem;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

/* Fixed bottom buttons */
.fixed-bottom-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 1000;
}

.phone-btn, .whatsapp-btn {
    flex: 1;
    text-align: center;
    padding: 0.8rem 0;
    border-radius: 0;
    font-weight: 500;
    font-size: 1rem;
}

.phone-btn i, .whatsapp-btn i {
    margin-right: 0.5rem;
}

.phone-btn {
    background-color: #dc3545; /* Kırmızı renk - Bootstrap danger rengi */
    border-color: #dc3545;
}

.whatsapp-btn {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Testimonials */
.testimonial-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin: 1.5rem 0;
    border-right: 3px solid var(--primary-color);
}

.testimonial-content {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 3rem;
    position: absolute;
    left: -1.5rem;
    top: -1.5rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.testimonial-author-name {
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-author-title {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
}

.footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h5:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 0;
}

.footer p, .footer li {
    color: rgba(255, 255, 255, 0.7);
}

.footer ul {
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer a:hover {
    color: #fff;
    text-decoration: none;
}

.service-areas .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    font-weight: 400;
}

.social-icons a {
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-cta {
    background-color: #fff;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
}

.btn-cta:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* About Section */
.about-img img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.about-features {
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.about-feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.about-feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.about-feature-text p {
    margin-bottom: 0;
    color: var(--gray-color);
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-padding {
        padding: 2.5rem 0;
    }
    
    .feature-card, .service-item, .pricing-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .fixed-bottom-buttons .btn {
        font-size: 0.9rem;
        padding: 0.7rem 0;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
}
