/* ======================================================
   KARAYIL NAKLİYAT - PREMIUM CSS
   Modern, Sales-Focused, Fully Dynamic
   ====================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ==================== CSS RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', sans-serif; color: #334155; line-height: 1.7; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.3; color: #0f172a; }

/* ==================== UTILITIES ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }
.bg-light { background: #f8fafc; }
.bg-dark { background: var(--primary-color); color: #fff; }

/* ==================== BUTTONS ==================== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; border-radius: 50px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); font-family: 'Plus Jakarta Sans', sans-serif; }
.btn-primary { background: var(--secondary-color); color: #fff; box-shadow: 0 4px 15px rgba(242,140,40,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(242,140,40,0.4); filter: brightness(1.1); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: #fff; color: var(--primary-color); transform: translateY(-3px); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 4px 15px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37,211,102,0.4); background: #1ebe5d; }
.btn-dark { background: var(--primary-color); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(15,44,89,0.3); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.125rem; }

/* ==================== SECTION HEADERS ==================== */
.section-header { margin-bottom: 3.5rem; }
.section-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, rgba(var(--primary-rgb),0.08), rgba(var(--secondary-rgb),0.08)); color: var(--primary-color); padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; border: 1px solid rgba(var(--primary-rgb),0.15); }
.section-title { font-size: 2.75rem; font-weight: 800; margin-bottom: 1rem; background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { font-size: 1.125rem; color: #64748b; max-width: 640px; margin: 0 auto; }

/* ==================== TOP BAR ==================== */
.top-bar { background: var(--primary-color); color: rgba(255,255,255,0.9); font-size: 0.8125rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.top-bar-left { display: flex; align-items: center; gap: 1.5rem; }
.top-bar-right { display: flex; align-items: center; gap: 1.25rem; }
.top-bar a { color: rgba(255,255,255,0.9); }
.top-bar a:hover { color: var(--secondary-color); }
.top-bar-social { display: flex; gap: 0.75rem; }

/* ==================== HEADER / NAV ==================== */
.main-header { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); transition: all 0.3s ease; }
.main-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; }
.logo { display: flex; align-items: center; gap: 0.625rem; }
.logo img { height: 45px; }
.logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--primary-color); letter-spacing: -0.5px; }
.logo-sub { font-size: 0.625rem; color: #94a3b8; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; display: block; margin-top: -2px; }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-menu a { padding: 0.5rem 1rem; color: #475569; font-weight: 500; font-size: 0.9375rem; border-radius: 8px; transition: all 0.2s ease; }
.nav-menu a:hover { color: var(--primary-color); background: rgba(var(--primary-rgb),0.06); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--primary-color); }
.header-phone-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--secondary-color), #ff9f45); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; animation: phone-ring 2s infinite; }

@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
}

/* Mobile Menu */
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary-color); cursor: pointer; padding: 0.5rem; }

/* ==================== HERO ==================== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(var(--primary-rgb),0.92) 0%, rgba(var(--primary-rgb),0.75) 50%, rgba(var(--accent-rgb,0,180,216),0.6) 100%); z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; color: #fff; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); padding: 0.625rem 1.25rem; border-radius: 50px; font-size: 0.875rem; font-weight: 600; margin-bottom: 2rem; border: 1px solid rgba(255,255,255,0.2); animation: fadeInUp 0.8s ease; }
.hero h1 { font-size: 4rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.15; animation: fadeInUp 0.8s ease 0.15s both; }
.hero h1 span { color: var(--secondary-color); }
.hero-subtitle { font-size: 1.3rem; color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; max-width: 560px; line-height: 1.7; animation: fadeInUp 0.8s ease 0.3s both; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.45s both; }
.hero-stats { display: flex; gap: 3rem; margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.15); animation: fadeInUp 0.8s ease 0.6s both; }
.hero-stat-number { font-size: 2.5rem; font-weight: 800; color: var(--secondary-color); font-family: 'Plus Jakarta Sans', sans-serif; }
.hero-stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== TRUST BAR ==================== */
.trust-bar { background: #fff; padding: 1.5rem 0; border-bottom: 1px solid #e2e8f0; position: relative; z-index: 3; margin-top: -1px; }
.trust-items { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; font-weight: 500; color: #475569; }
.trust-icon { font-size: 1.5rem; }

/* ==================== SERVICES ==================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.service-card { background: #fff; padding: 2rem; border-radius: 16px; border: 1px solid #e2e8f0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--secondary-color), var(--accent-color)); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 1.25rem; background: linear-gradient(135deg, rgba(var(--primary-rgb),0.08), rgba(var(--secondary-rgb),0.08)); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; color: #0f172a; }
.service-card p { color: #64748b; font-size: 0.9375rem; line-height: 1.7; }

/* ==================== ABOUT ==================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.12); }
.about-image-badge { position: absolute; bottom: -20px; right: -20px; background: var(--secondary-color); color: #fff; padding: 1.5rem 2rem; border-radius: 16px; box-shadow: 0 10px 30px rgba(242,140,40,0.3); text-align: center; }
.about-image-badge .number { font-size: 2.5rem; font-weight: 800; display: block; font-family: 'Plus Jakarta Sans', sans-serif; }
.about-image-badge .label { font-size: 0.8125rem; opacity: 0.9; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.about-text p { color: #64748b; font-size: 1.0625rem; margin-bottom: 1.5rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.about-feature { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem; background: #f8fafc; border-radius: 12px; font-weight: 500; font-size: 0.9375rem; }
.about-feature-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--secondary-color), #ff9f45); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.125rem; flex-shrink: 0; }

/* ==================== COUNTER STATS ==================== */
.stats-section { background: linear-gradient(135deg, var(--primary-color) 0%, #1a3f6f 100%); padding: 4.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; color: #fff; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 60%; width: 1px; background: rgba(255,255,255,0.15); }
.stat-number { font-size: 3rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--secondary-color); }
.stat-label { font-size: 0.9375rem; color: rgba(255,255,255,0.75); margin-top: 0.5rem; }

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.testimonial-card { background: #fff; padding: 2rem; border-radius: 16px; border: 1px solid #e2e8f0; transition: all 0.3s ease; position: relative; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.testimonial-quote { color: var(--secondary-color); font-size: 2.5rem; line-height: 1; margin-bottom: 1rem; opacity: 0.5; }
.testimonial-text { color: #475569; font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.125rem; }
.testimonial-name { font-weight: 600; color: #0f172a; }
.testimonial-location { font-size: 0.8125rem; color: #94a3b8; }
.testimonial-stars { color: #fbbf24; font-size: 0.875rem; margin-top: 0.25rem; }

/* ==================== FAQ ==================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 1rem; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: var(--secondary-color); }
.faq-question { padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 1.0625rem; color: #0f172a; background: #fff; transition: all 0.3s ease; }
.faq-question:hover { color: var(--primary-color); }
.faq-arrow { font-size: 1.25rem; transition: transform 0.3s ease; color: var(--secondary-color); }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all 0.4s ease; }
.faq-answer-inner { padding-bottom: 1.25rem; color: #64748b; line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 500px; }

/* ==================== CTA ==================== */
.cta-section { background: linear-gradient(135deg, var(--primary-color) 0%, #1a3f6f 60%, var(--accent-color, #00B4D8) 100%); padding: 5rem 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(242,140,40,0.15) 0%, transparent 70%); border-radius: 50%; }
.cta-section h2 { font-size: 2.75rem; font-weight: 800; margin-bottom: 1rem; color: #fff; position: relative; }
.cta-section p { font-size: 1.25rem; color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto; position: relative; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ==================== FOOTER ==================== */
.site-footer { background: #0a1628; color: rgba(255,255,255,0.75); padding-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-widget h3 { color: #fff; font-size: 1.125rem; font-weight: 700; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.75rem; }
.footer-widget h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--secondary-color); border-radius: 2px; }
.footer-widget p { line-height: 1.8; margin-bottom: 1rem; }
.footer-widget ul li { margin-bottom: 0.625rem; }
.footer-widget a { color: rgba(255,255,255,0.65); transition: all 0.3s; }
.footer-widget a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.footer-contact-icon { color: var(--secondary-color); font-size: 1.125rem; margin-top: 0.25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom-text { font-size: 0.875rem; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all 0.3s; }
.footer-social a:hover { background: var(--secondary-color); color: #fff; transform: translateY(-3px); }

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all 0.3s ease; animation: whatsapp-pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
@keyframes whatsapp-pulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); } }

/* ==================== SCROLL REVEAL ==================== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { gap: 3rem; }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: center; gap: 0.5rem; z-index: 9998; }
    .nav-menu.active { display: flex; }
    .nav-menu a { font-size: 1.25rem; padding: 1rem 2rem; }
    .mobile-toggle { display: block; z-index: 9999; }
    .header-cta .btn { display: none; }
    .header-phone { display: none; }

    .hero { min-height: 80vh; }
    .hero h1 { font-size: 2.25rem; }
    .hero-subtitle { font-size: 1.0625rem; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .hero-stat-number { font-size: 1.75rem; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .section-title { font-size: 2rem; }
    .section-padding { padding: 4rem 0; }

    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .about-image-badge { bottom: -15px; right: 10px; padding: 1rem 1.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .stat-item:not(:last-child)::after { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-section h2 { font-size: 2rem; }
    .footer-bottom .container { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.875rem; }
    .hero-stats { gap: 1rem; }
    .section-title { font-size: 1.75rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
