/* ============================================================================
 * LİDER PALET ALIM SATIM - Fully Responsive Mobile & Bright Design System
 * ============================================================================ */

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

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-alt: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    
    --primary: #1e293b;
    --primary-dark: #0f172a;
    
    --red: #dc2626;
    --red-hover: #b91c1c;
    --red-light: #fef2f2;
    
    --amber: #d97706;
    --amber-hover: #b45309;
    --amber-light: #fffbeb;
    
    --eco-green: #059669;
    --eco-green-hover: #047857;
    
    --border-color: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Styled Form Controls */
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    color: #0f172a;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}
textarea.form-control {
    height: auto;
    padding: 12px 16px;
}
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}
.form-control:focus {
    border-color: var(--red);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Filter Card Layout */
.filter-card {
    background: #ffffff;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}
.filter-form-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr auto;
    gap: 20px;
    align-items: flex-end;
}
.filter-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}
.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Responsive Grids */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.info-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.btn-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Clean, Simple & Elegant Top Bar */
.top-bar {
    background-color: #f8fafc;
    color: #475569;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-info {
    display: flex;
    gap: 24px;
}
.top-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}
.top-info-item strong {
    color: #0f172a;
}
.top-info-item i {
    color: #64748b;
    font-size: 13px;
}
/* Right-rotated Phone Icon */
.top-info-item i.phone-icon-right {
    transform: rotate(90deg);
    display: inline-block;
}
.top-wa-link {
    color: #059669;
    font-weight: 700;
}
.top-wa-link i {
    color: #059669;
}
.top-wa-link:hover {
    color: #047857;
}

/* Header & Modern Sleek Corporate Logo */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-text-box h2 {
    color: #0f172a;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}
.logo-text-box span {
    color: var(--red);
    font-size: 11px;
    display: block;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    font-family: var(--font-body);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: #334155;
    font-weight: 700;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--red);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--red);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
}
.btn i {
    font-size: 15px;
}
.btn-red {
    background: var(--red);
    color: #ffffff;
}
.btn-red:hover {
    background: var(--red-hover);
}
.btn-amber {
    background: var(--amber);
    color: #ffffff;
}
.btn-amber:hover {
    background: var(--amber-hover);
}
.btn-eco {
    background: var(--eco-green);
    color: #ffffff;
}
.btn-eco:hover {
    background: var(--eco-green-hover);
}
.btn-outline {
    background: #ffffff;
    color: #0f172a;
    border: 2px solid #cbd5e1;
}
.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    background: var(--red-light);
}

/* Mobile Nav Drawer */
.mobile-toggle {
    display: none;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 20px;
    cursor: pointer;
}

.mobile-drawer-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mobile-drawer-backdrop.active {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 1100;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: right 0.3s ease;
}
.mobile-drawer.active {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}
.mobile-drawer-close {
    background: #f1f5f9;
    border: none;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: #0f172a;
}
.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-nav-links a {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--red-light);
    color: var(--red);
}

/* Full Width Hero Background Banner Section with Smooth Linear Fade Background */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 560px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 32%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0) 85%),
                url('../images/image.png') center right / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 70px 0;
    border-bottom: 1px solid #e2e8f0;
    user-select: none;
    -webkit-user-select: none;
}
.hero-content {
    max-width: 580px;
}

.hero-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.hero-main-title .text-red {
    color: var(--red);
}
.hero-subtext {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 28px;
}

.hero-features-row {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.hero-feat-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
}
.hero-feat-icon {
    width: 32px;
    height: 32px;
    background: var(--red-light);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.hero-feat-text {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

/* Stats Ribbon */
.stats-ribbon {
    background: #ffffff;
    padding: 35px 0;
    border-bottom: 1px solid #e2e8f0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 38px;
    color: var(--red);
    font-weight: 800;
}
.stat-item p {
    color: #475569;
    font-size: 14.5px;
    font-weight: 700;
    margin-top: 4px;
}

/* Section Header */
.section-title-wrap {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}
.section-subtitle {
    color: var(--red);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}
.section-title {
    font-size: 36px;
    margin-bottom: 14px;
}
.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* Pallet Cards Grid */
.pallets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.pallet-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.pallet-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--red);
}
.pallet-image-box {
    position: relative;
    height: 230px;
    background: #f1f5f9;
    overflow: hidden;
}
.pallet-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.badge-condition {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #1e293b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}
.badge-eco {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--eco-green);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.pallet-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.pallet-title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
}
.pallet-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid #f1f5f9;
}
.spec-item {
    font-size: 13px;
    color: var(--text-muted);
}
.spec-item strong {
    color: var(--primary);
    display: block;
    font-size: 13.5px;
}

.pallet-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.pallet-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--red);
}
.pallet-price span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--red);
}
.feature-icon {
    width: 54px;
    height: 54px;
    background: var(--red-light);
    color: var(--red);
    border: 1px solid #fca5a5;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
}
.feature-card h3 {
    font-size: 18.5px;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Detail Page */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.main-gallery-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    overflow-x: auto;
}
.thumb-img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}
.thumb-img.active,
.thumb-img:hover {
    border-color: var(--red);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.spec-table th,
.spec-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 14.5px;
}
.spec-table th {
    color: var(--text-muted);
    font-weight: 600;
    width: 40%;
}
.spec-table td {
    font-weight: 700;
    color: var(--primary);
}

/* Contact & Forms */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--red-light);
    color: var(--red);
    border: 1px solid #fca5a5;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

/* Responsive Google Maps Container */
.map-container {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}
.map-container iframe {
    width: 100% !important;
    height: 380px !important;
    border: 0 !important;
    display: block;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 70px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-widget h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a:hover {
    color: var(--red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

/* Official Solid WhatsApp Floating Button (Desktop Only) */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    font-size: 32px;
    transition: transform 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
}

/* Mobile Quick Bar */
.mobile-quick-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    padding: 12px 16px;
    z-index: 998;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 12px;
}

/* Complete Mobile & Tablet Responsive Overhaul */
@media (max-width: 1024px) {
    .detail-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .filter-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .top-bar { display: none; }
    .nav-links { display: none; }
    .nav-actions .btn { display: none; }
    .mobile-toggle { display: block; }
    
    /* Hide circular floating WhatsApp icon on mobile */
    .whatsapp-float { display: none !important; }
    
    /* Collapse all 2-column inline forms & info rows on mobile */
    .form-row-2col,
    .info-row-2col,
    .btn-row-2col,
    .filter-form-grid {
        grid-template-columns: 1fr !important;
    }

    .filter-card { padding: 20px 16px; }

    /* Clean Subtle White Filter Overlay on Hero Banner for Mobile */
    .hero-section { 
        padding: 40px 0; 
        min-height: auto; 
        background: linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
                    url('../images/image.png') center center / cover no-repeat;
    }
    .hero-content { 
        max-width: 100%;
    }
    .hero-main-title { font-size: 28px; }
    .hero-subtext { font-size: 14.5px; }
    .hero-features-row { flex-direction: column; gap: 10px; }
    
    .section-padding { padding: 45px 0; }
    .section-title { font-size: 26px; }
    .section-title-wrap { margin-bottom: 30px; }

    .pallets-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-item h3 { font-size: 30px; }
    
    .contact-info-card { padding: 24px 18px; }
    .contact-item { flex-direction: row; align-items: flex-start; }
    .map-container iframe { height: 280px !important; }

    .mobile-quick-bar { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
