/* ===== ANADOLU OTO TAŞIMA - ANA STYLESHEET ===== */

:root {
    --primary: #0F2B5B;
    --primary-dark: #081a3a;
    --primary-light: #1a4080;
    --accent: #E85D04;
    --accent-dark: #c44d03;
    --accent-light: #FF7A30;
    --dark: #111827;
    --gray: #6B7280;
    --light: #F9FAFB;
    --white: #ffffff;
    --border: #E5E7EB;
    --success: #10B981;
    --shadow: 0 4px 24px rgba(15,43,91,0.10);
    --shadow-lg: 0 8px 40px rgba(15,43,91,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
}

img { max-width: 100%; }

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

/* ===== TOPBAR ===== */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.75);
    padding: 8px 0;
    font-size: 13px;
}
.topbar-link {
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
}
.topbar-link:hover { color: var(--accent-light); }
.topbar-text { color: rgba(255,255,255,0.6); }
.topbar-divider { color: rgba(255,255,255,0.2); }
.topbar-social {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    transition: var(--transition);
}
.topbar-social:hover { color: var(--accent-light); transform: translateY(-2px); }

/* ===== NAVBAR ===== */
.main-navbar {
    background: var(--primary) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    padding: 6px 0;
    transition: var(--transition);
}

.main-navbar.scrolled {
    padding: 4px 0;
    background: rgba(15,43,91,0.97) !important;
    backdrop-filter: blur(10px);
}

.logo-img {
    border-radius: 6px;
    object-fit: contain;
    background: white;
    padding: 3px;
}

.main-navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.08);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    width: 60%;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    min-height: 580px;
    background: var(--primary-dark);
    overflow: hidden;
}

.hero-slider .carousel-item {
    min-height: 580px;
    position: relative;
}

.hero-slide-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    opacity: 0.55;
}

.hero-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-caption-inner {
    max-width: 750px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.hero-caption h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-caption p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 32px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.carousel-indicators button.active {
    background: var(--accent);
    border-color: var(--accent);
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    margin: 0 20px;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--accent);
}

/* No slider message */
.hero-placeholder {
    min-height: 480px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,93,4,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

/* ===== QUICK CONTACT BAR ===== */
.quick-contact-bar {
    background: var(--accent);
    padding: 18px 0;
}

.quick-contact-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

.quick-contact-bar .contact-item i {
    font-size: 22px;
    opacity: 0.85;
}

.quick-contact-bar .contact-item a {
    color: white;
    font-weight: 600;
}

.quick-contact-bar .contact-item a:hover { opacity: 0.8; }

/* ===== SECTIONS ===== */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 60px 0; }

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
}

.section-header { margin-bottom: 50px; }
.section-header.text-center .section-subtitle { margin: 0 auto; }

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    margin: 14px 0 20px;
}

.text-center .section-divider { margin: 14px auto 20px; }

/* ===== SERVICES ===== */
.services-section { background: var(--light); }

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232,93,4,0.1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 30px;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    transform: rotate(-5deg) scale(1.05);
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 0;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232,93,4,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-item { text-align: center; }

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.2);
    margin-bottom: 12px;
}

/* ===== HOW IT WORKS ===== */
.steps-section { background: white; }

.step-card {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--light);
    line-height: 1;
    margin-bottom: 0;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    user-select: none;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 24px;
    font-size: 32px;
    color: var(--accent);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.step-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.step-card p {
    color: var(--gray);
    font-size: 14px;
}

.step-connector {
    position: absolute;
    top: 70px;
    right: -30px;
    color: var(--border);
    font-size: 24px;
}

/* ===== NEWS SECTION ===== */
.news-section { background: var(--light); }

.news-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.news-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img { transform: scale(1.05); }

.news-card-img-wrap {
    overflow: hidden;
    position: relative;
}

.news-card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.news-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-body h4 a {
    color: inherit;
}

.news-card-body h4 a:hover { color: var(--accent); }

.news-card-body p {
    color: var(--gray);
    font-size: 14px;
    flex: 1;
}

.news-card-link {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    transition: var(--transition);
}

.news-card-link:hover { gap: 8px; color: var(--accent-dark); }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    position: relative;
}

.cta-section p {
    color: rgba(255,255,255,0.88);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 32px;
    position: relative;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: var(--accent);
    color: white;
    border: 2px solid var(--accent);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,93,4,0.35);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-white:hover {
    background: white;
    color: var(--accent);
    border-color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--accent);
    border: 2px solid white;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 28px rgba(37,211,102,0.7);
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 70px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232,93,4,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, 50%);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255,255,255,0.7); font-size: 14px; }
.breadcrumb-item.active { color: var(--accent-light); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===== FOOTER ===== */
.site-footer { background: var(--primary-dark); }

.footer-top { padding: 70px 0 50px; }

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.7;
}

.footer-heading {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.footer-links a:hover { color: white; padding-left: 4px; }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

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

.footer-contact a:hover { color: white; }

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,43,91,0.1);
}

.form-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    padding: 36px;
    color: white;
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-light);
    flex-shrink: 0;
}

.contact-info-item-text h6 {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item-text p, .contact-info-item-text a {
    color: white;
    margin: 0;
    font-weight: 500;
}

/* ===== ABOUT PAGE ===== */
.about-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.about-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(232,93,4,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
    flex-shrink: 0;
}

.feature-text h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.feature-text p {
    color: var(--gray);
    font-size: 13px;
    margin: 0;
}

/* ===== NEWS PAGE ===== */
.news-detail-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.news-detail-meta span {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-content {
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
}

.news-content p { margin-bottom: 20px; }
.news-content h2, .news-content h3 { color: var(--primary); margin: 30px 0 16px; font-weight: 700; }
.news-content img { border-radius: var(--radius-sm); box-shadow: var(--shadow); }

/* ===== ALERT / FLASH MESSAGES ===== */
.alert { border-radius: var(--radius-sm); border: none; font-size: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    .hero-slider, .hero-slider .carousel-item { min-height: 420px; }
    .hero-slide-img { height: 420px; }
    .contact-form-wrap { padding: 24px; }
    .hero-caption h1 { font-size: 1.8rem; }
    .stats-section { padding: 50px 0; }
    .step-connector { display: none; }
    .footer-top { padding: 50px 0 30px; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
}

@media (max-width: 576px) {
    .topbar { display: none; }
    .hero-caption p { display: none; }
}

/* ===== UTILITIES ===== */
.text-accent { color: var(--accent) !important; }
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.bg-accent { background: var(--accent) !important; }
.rounded-custom { border-radius: var(--radius) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }
.shadow-lg-custom { box-shadow: var(--shadow-lg) !important; }
