/* Bilen Vinç - Modern SEO-Focused Website Styles */

:root {
    --primary-black: #1a1a1a;
    --primary-yellow: #FFD700;
    --primary-white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #333333;
    --text-dark: #222222;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Let the header overlay the hero; other sections will get padding via JS */
body { padding-top: 0; }

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

/* Header */
header {
    background-color: var(--primary-black);
    color: var(--primary-white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-yellow);
    text-decoration: none;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

nav a:hover {
    color: var(--primary-yellow);
}

/* Dropdown menus for header */
nav ul li { position: relative; }
nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-black);
    padding: 6px 0;
    min-width: 220px;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    pointer-events: auto;
}
nav .dropdown-menu li { padding: 0; }
nav .dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--primary-white);
    white-space: nowrap;
}
nav .dropdown:hover .dropdown-menu,
nav .dropdown:focus-within .dropdown-menu,
nav .dropdown .dropdown-menu:hover { display: block; }

/* Support JS-opened dropdowns */
nav .dropdown.open .dropdown-menu { display: block; }

@media (max-width: 768px) {
    nav .dropdown-menu { position: static; box-shadow: none; padding-left: 0; }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, #333 100%);
    color: var(--primary-white);
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--primary-white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile: single column */
    gap: 30px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* tablet: 2 columns */
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr); /* desktop: 4 columns */
    }
}

.service-card {
    background: var(--primary-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-yellow);
}

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

.service-card h3 {
    font-size: 24px;
    color: var(--primary-black);
    margin-bottom: 15px;
}

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

.service-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-medium);
    color: var(--text-light);
}

.service-card ul li:before {
    content: "✓ ";
    color: var(--primary-yellow);
    font-weight: bold;
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile */
    gap: 20px;
}

@media (min-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .locations-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.location-card {
    background: var(--gray-light);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.location-card:hover {
    background: var(--primary-yellow);
    transform: translateY(-3px);
}

.location-card a {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

/* Fleet Section */
.fleet-section {
    background-color: var(--gray-light);
}

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

.fleet-card {
    background: var(--primary-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.fleet-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-yellow) 100%);
}

.fleet-card-content {
    padding: 25px;
}

.fleet-card-content h3 {
    font-size: 22px;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.fleet-card-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.fleet-specs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.fleet-specs span {
    background: var(--gray-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
    background-color: var(--primary-black);
    color: var(--primary-white);
}

.faq-section .section-title h2 {
    color: var(--primary-yellow);
}

.faq-section .section-title p {
    color: var(--gray-medium);
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
}

.faq-answer {
    padding: 0 25px 25px;
    display: none;
    color: var(--gray-medium);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    color: var(--primary-yellow);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile */
    gap: 30px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.blog-card {
    background: var(--primary-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-yellow) 100%);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-content h3 {
    font-size: 20px;
    color: var(--primary-black);
    margin-bottom: 10px;
}

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

.blog-card-content a {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background-color: var(--gray-light);
}

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

.contact-info {
    background: var(--primary-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 24px;
    color: var(--primary-black);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item-text {
    flex: 1;
}

.contact-item-text h4 {
    font-size: 16px;
    color: var(--primary-black);
    margin-bottom: 5px;
}

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

.contact-form {
    background: var(--primary-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--primary-black);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 20px;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-medium);
}

/* Fixed Buttons */
.fixed-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fixed-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-white);
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.fixed-btn:hover {
    transform: scale(1.1);
}

.fixed-phone {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

.fixed-whatsapp {
    background-color: #25D366;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--gray-light);
    padding: 20px 0;
    margin-bottom: 40px;
}

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

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-yellow);
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

/* Service Page */
.service-page {
    padding: 120px 0 80px;
}

.service-page-hero {
    text-align: center;
    margin-bottom: 60px;
}

.service-page-hero h1 {
    font-size: 42px;
    color: var(--primary-black);
    margin-bottom: 20px;
}

.service-page-hero p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-content h2 {
    font-size: 32px;
    color: var(--primary-black);
    margin: 40px 0 20px;
}

.service-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-content ul li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-content ul li:before {
    content: "• ";
    color: var(--primary-yellow);
    font-weight: bold;
}

/* Responsive service hero & thumbnails to avoid horizontal overflow */
.service-hero-img,
.service-thumb {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 18px;
}

.service-hero-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.service-hero-gallery .service-hero-img {
    width: calc(50% - 8px);
    max-width: 420px;
}

.service-thumb {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    height: 180px;
}

/* Location Page */
.location-page {
    padding: 120px 0 80px;
}

.location-page-hero {
    text-align: center;
    margin-bottom: 60px;
}

.location-page-hero h1 {
    font-size: 42px;
    color: var(--primary-black);
    margin-bottom: 20px;
}

.location-page-hero p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Blog Page */
.blog-page {
    padding: 120px 0 80px;
}

.blog-page-hero {
    text-align: center;
    margin-bottom: 60px;
}

.blog-page-hero h1 {
    font-size: 42px;
    color: var(--primary-black);
    margin-bottom: 20px;
}

.blog-detail {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-yellow) 100%);
}

.blog-detail h1 {
    font-size: 36px;
    color: var(--primary-black);
    margin-bottom: 20px;
}

.blog-detail-meta {
    color: var(--text-light);
    margin-bottom: 30px;
}

.blog-detail-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-detail-content h2 {
    font-size: 28px;
    color: var(--primary-black);
    margin: 30px 0 15px;
}

.blog-detail-content p {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    nav {
        display: none;
    }

    nav.active {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-black);
        padding: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .fixed-buttons {
        bottom: 20px;
        right: 20px;
    }

    .fixed-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

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

    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .service-page-hero h1,
    .location-page-hero h1,
    .blog-page-hero h1 {
        font-size: 32px;
    }
}

/* Mobile adjustments: reduce large headings/buttons and increase thumbnail size for better fit */
@media (max-width: 420px) {
    .hero-slider .slide-content h1 { font-size: 26px; }
    .hero-slider .slide-content p { font-size: 14px; }
    .btn { padding: 10px 18px; font-size: 14px; }
    .service-card h3 { font-size: 18px; }
    .service-card p { font-size: 14px; }
    .service-thumb { height: 220px; }
    .hero-slider .slide { min-height: 260px; }
}

/* Simple homepage slider + overlay */
.hero-slider {
    position: relative;
    overflow: hidden;
}
.hero-slider .slide {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider .slide img.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}
.hero-slider .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    pointer-events: none;
}
.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    color: var(--primary-white);
    text-align: center;
    width: 100%;
    padding: 30px 0;
}

/* Ensure slide content sits below the fixed header so title is not covered */
.hero-slider .slide-content {
    padding-top: calc(var(--header-height) + 20px);
}

.hero-slider .slide img.hero-img {
    transition: transform 0.7s cubic-bezier(.2,.9,.2,1);
    transform-origin: center center;
}

/* Scale hero image slightly on wider screens for a more dramatic, centered crop */
@media (min-width: 1000px) {
    .hero-slider .slide img.hero-img { transform: scale(1.03); }
}
@media (min-width: 1400px) {
    .hero-slider .slide img.hero-img { transform: scale(1.08); }
}
@media (min-width: 1800px) {
    .hero-slider .slide img.hero-img { transform: scale(1.12); }
}

/* Reduce the top offset on very small screens to keep content visible */
@media (max-width: 420px) {
    .hero-slider .slide-content { padding-top: calc(var(--header-height) + 6px); }
}
.hero-slider .slide-content h1 {
    font-size: 48px;
    color: var(--primary-yellow);
    margin-bottom: 12px;
}
.hero-slider .slide-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 18px;
}
.hero-slider .hero-buttons { justify-content: center; }

@media (max-width: 768px) {
    .hero-slider .slide { height: 360px; }
    .hero-slider .slide-content h1 { font-size: 34px; }
    .hero-slider .slide-content p { font-size: 16px; }
}


/* Ensure images never overflow their containers */
img { max-width: 100%; height: auto; display: block; }

/* Prevent accidental horizontal overflow from long fixed elements */
html, body { overflow-x: hidden; }

@media (max-width: 420px) {
    .hero-slider .slide img.hero-img { object-position: center 30%; }
    .hero-slider .slide { min-height: 300px; }
}

/* Improve slider balance on very small screens */
@media (max-width: 380px) {
    .hero-slider .slide-content {
        padding: 10px 12px;
        max-width: 92%;
        margin: 0 auto;
    }
    .hero-slider .slide-content h1 {
        font-size: 22px;
        line-height: 1.1;
    }
    .hero-slider .slide-content p {
        font-size: 13px;
        line-height: 1.3;
    }
    .hero-buttons { flex-direction: column; gap: 10px; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 320px; }
}

