/* YB Lojistik - Ana Stil */
:root {
    --navy: #0f2744;
    --navy-light: #1a3a5c;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --shadow: 0 4px 24px rgba(15, 39, 68, 0.12);
    --radius: 12px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow .3s;
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 68px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.main-nav { display: flex; align-items: center; gap: 1.5rem; }

.main-nav a {
    font-weight: 500;
    font-size: .95rem;
    color: var(--navy);
    transition: color .2s;
}

.main-nav a:hover, .main-nav a.active { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.lang-switch {
    display: flex;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
}

.lang-switch a {
    padding: .35rem .6rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--gray-500);
}

.lang-switch a.active {
    background: var(--navy);
    color: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: all .2s;
}

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

.btn-primary:hover { background: var(--orange-dark); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover { background: var(--navy-light); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    transition: .3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 84px;
    background: var(--navy);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,39,68,.88) 0%, rgba(15,39,68,.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
    max-width: 700px;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    color: var(--orange);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--orange); }

.hero p {
    font-size: 1.1rem;
    opacity: .9;
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    font-weight: 500;
}

.hero-feature svg { color: var(--orange); flex-shrink: 0; }

/* Quote Form Card */
.quote-card {
    position: relative;
    z-index: 10;
    margin-top: -4rem;
    margin-bottom: 3rem;
}

.quote-card-inner {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.quote-card h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: .25rem;
}

.quote-card .subtitle {
    color: var(--gray-500);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

.quote-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    align-items: end;
}

.quote-form .form-alert {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .7rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: .95rem;
    transition: border-color .2s;
}

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

/* Stats */
.stats-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
    margin-bottom: .5rem;
}

.stat-item .label {
    color: var(--gray-700);
    font-weight: 500;
}

/* Section */
.section { padding: 5rem 0; }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: .75rem;
}

.section-header p { color: var(--gray-500); }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all .3s;
}

.service-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(249,115,22,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: .75rem;
}

.service-card p {
    color: var(--gray-500);
    font-size: .95rem;
    margin-bottom: 1rem;
}

.service-card .link {
    color: var(--orange);
    font-weight: 600;
    font-size: .9rem;
}

/* About Preview */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-preview img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--gray-200);
}

.about-preview h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

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

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .3s;
}

.blog-card:hover { box-shadow: var(--shadow); }

.blog-card-image {
    height: 180px;
    background: var(--gray-200);
    background-size: cover;
    background-position: center;
}

.blog-card-body { padding: 1.5rem; }

.blog-card h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.blog-card p {
    color: var(--gray-500);
    font-size: .9rem;
    margin-bottom: 1rem;
}

.blog-card .date {
    font-size: .8rem;
    color: var(--gray-500);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: .75rem;
}

.cta-section p {
    opacity: .85;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Hero */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 8.5rem 0 4rem;
    text-align: center;
}

.page-hero h1 { font-size: 2.5rem; margin-bottom: .5rem; }
.page-hero p { opacity: .8; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item svg { color: var(--orange); flex-shrink: 0; }

.contact-form-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius);
}

/* Footer */
.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 72px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.8);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-grid h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: .5rem; }
.footer-grid a:hover { color: var(--orange); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .85rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
    z-index: 9999;
    transition: transform .2s, box-shadow .2s;
    animation: wa-pulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, .55);
    animation: none;
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, .45); }
    50% { box-shadow: 0 6px 28px rgba(37, 211, 102, .7); }
}

.alert {
    padding: .9rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.45;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 999;
    padding: 5rem 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    padding: .75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

/* Responsive */
@media (max-width: 900px) {
    .main-nav, .header-actions .btn { display: none; }
    .menu-toggle { display: block; }
    .header-inner { height: 72px; }
    .logo img { height: 56px; max-width: 150px; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-preview { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .quote-form { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero { min-height: 70vh; }
    .hero-content { padding: 2rem 0; }
}
