/**
 * BESTA ENDÜSTRİYEL - Ana Stil Dosyası
 * Premium Endüstriyel Tasarım
 */

:root {
    --primary: #0A1628;
    --primary-light: #1a2d4a;
    --secondary: #B87333;
    --secondary-dark: #8b5a2b;
    --accent: #C9A962;
    --steel: #4A5568;
    --success: #2e7d32;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --white: #ffffff;
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-primary); color: var(--gray-800); line-height: 1.6; overflow-x: hidden; }
::selection { background: var(--secondary); color: var(--white); }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary-dark); }
img { max-width: 100%; height: auto; }

/* Preloader */
#preloader { position: fixed; inset: 0; background: var(--primary); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s; }
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { width: 60px; height: 60px; border: 3px solid var(--primary-light); border-radius: 50%; position: relative; }
.loader-inner { position: absolute; inset: -3px; border: 3px solid transparent; border-top-color: var(--secondary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================= */
/* HEADER                        */
/* ============================= */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1030; transition: var(--transition); }
.header-top { background: var(--primary); padding: 8px 0; font-size: 13px; }
.header-top-left { display: flex; align-items: center; gap: 20px; }
.top-link { color: #adb5bd; display: flex; align-items: center; gap: 8px; }
.top-link:hover { color: var(--secondary); }
.top-link i { color: var(--secondary); }

/* Support & Spare Part Badges in Top Bar */
.top-badge-support { background: rgba(46, 125, 50, 0.15); color: #66bb6a !important; padding: 4px 12px; border-radius: 50px; font-weight: 600; font-size: 12px; }
.top-badge-support i { color: #66bb6a !important; }
.top-badge-spare { background: rgba(21, 101, 192, 0.15); color: #64b5f6 !important; padding: 4px 12px; border-radius: 50px; font-weight: 600; font-size: 12px; }
.top-badge-spare i { color: #64b5f6 !important; }

.header-top-right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.lang-switcher { display: flex; gap: 8px; }
.lang-switcher a { color: #6c757d; font-weight: 600; font-size: 12px; padding: 4px 8px; border-radius: 4px; }
.lang-switcher a:hover, .lang-switcher a.active { color: var(--white); background: var(--secondary); }
.social-links { display: flex; gap: 12px; }
.social-links a { color: #6c757d; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.05); }
.social-links a:hover { background: var(--secondary); color: var(--white); }

/* Main Nav - Dark Theme (all pages) */
.main-nav { background: #0d1117; box-shadow: 0 2px 20px rgba(0,0,0,0.3); border-bottom: 1px solid rgba(255,255,255,0.06); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 24px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-size: 28px; color: #fff; letter-spacing: 2px; }
.logo-tagline { font-size: 10px; color: var(--secondary); letter-spacing: 3px; font-weight: 600; }
.site-logo { height: 55px; width: auto; max-width: 220px; object-fit: contain; transition: var(--transition); filter: brightness(0) invert(1); }
.header-scrolled .site-logo { height: 45px; }
.nav-link { color: rgba(255,255,255,0.85) !important; font-weight: 500; padding: 24px 16px !important; position: relative; font-size: 14px; }
.nav-link:hover, .nav-link.active { color: var(--secondary) !important; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background: var(--secondary); transform: translateX(-50%); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { margin-left: 20px; }
.btn-cta { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); border: none; color: var(--white); padding: 12px 24px; border-radius: var(--radius); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--white); }

/* Dropdown - Dark */
.dropdown-menu { background: #181b21; border: 1px solid rgba(255,255,255,0.08); }
.dropdown-item { color: #c8ccd4; }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(184,115,51,0.15); color: var(--secondary); }


/* ============================= */
/* HERO                          */
/* ============================= */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--primary); overflow: hidden; padding-top: 120px; width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-bg > div { width: 100%; height: 100%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.95), rgba(10,22,40,0.7)); z-index: 2; }
.hero-content { position: relative; z-index: 3; color: var(--white); }

.hero-badges-row { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-badge-green { background: rgba(46, 125, 50, 0.25) !important; border-color: #4caf50 !important; color: #81c784 !important; }
.hero-badge-green i { color: #81c784; }
.hero-badge-blue { background: rgba(21, 101, 192, 0.25) !important; border-color: #42a5f5 !important; color: #90caf9 !important; }
.hero-badge-blue i { color: #90caf9; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(184,115,51,0.2); border: 1px solid var(--secondary); padding: 8px 16px; border-radius: 50px; font-size: 13px; color: var(--secondary); margin-bottom: 24px; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5rem); line-height: 1; margin-bottom: 24px; letter-spacing: 2px; }
.hero-title span { color: var(--secondary); }
.hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.8); max-width: 540px; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 3rem; color: var(--secondary); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* ============================= */
/* BUTTONS                       */
/* ============================= */
.btn { font-weight: 600; padding: 12px 28px; border-radius: var(--radius); transition: var(--transition); }
.btn-primary { background: var(--secondary); border-color: var(--secondary); }
.btn-primary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); transform: translateY(-2px); }
.btn-outline-primary { border: 2px solid var(--secondary); color: var(--secondary); }
.btn-outline-primary:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ============================= */
/* SECTION STYLES                */
/* ============================= */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(184,115,51,0.1); padding: 8px 16px; border-radius: 50px; font-size: 13px; color: var(--secondary); font-weight: 600; margin-bottom: 16px; }
.section-badge-success { background: rgba(46, 125, 50, 0.1); color: var(--success); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); color: var(--primary); letter-spacing: 1px; margin-bottom: 16px; }
.section-subtitle { color: var(--gray-600); max-width: 700px; margin: 0 auto; }

/* ============================= */
/* CASE STUDY / REFERENCES       */
/* ============================= */
.case-study-section { background: var(--white); }

.case-study-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-200); height: 100%; }
.case-study-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--secondary); }

.case-study-image { position: relative; height: 220px; overflow: hidden; }
.case-study-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.case-study-card:hover .case-study-image img { transform: scale(1.05); }

.case-study-status { position: absolute; top: 16px; left: 16px; background: rgba(46, 125, 50, 0.9); color: white; padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; backdrop-filter: blur(4px); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #81c784; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.case-study-body { padding: 24px; }
.case-study-meta { display: flex; gap: 16px; margin-bottom: 12px; }
.case-study-meta span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-600); }
.case-study-meta i { color: var(--secondary); }
.case-study-body h4 { font-size: 1.15rem; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.case-study-desc { font-size: 14px; color: var(--gray-600); margin-bottom: 16px; line-height: 1.6; }
.case-study-specs { display: flex; gap: 12px; flex-wrap: wrap; }
.case-study-specs span { display: flex; align-items: center; gap: 6px; background: var(--gray-100); padding: 6px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--primary); }
.case-study-specs i { color: var(--secondary); }

/* ============================= */
/* WHY US SECTION                */
/* ============================= */
.why-us-section { background: var(--primary); color: var(--white); position: relative; overflow: hidden; }
.why-us-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(184,115,51,0.1) 0%, transparent 70%); }

.why-us-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 32px; text-align: center; height: 100%; transition: var(--transition); }
.why-us-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.why-us-card-highlight { border-color: var(--secondary); background: rgba(184,115,51,0.1); }
.why-us-card-highlight:hover { background: rgba(184,115,51,0.2); }

.why-us-icon { width: 70px; height: 70px; background: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: white; }
.why-us-card-highlight .why-us-icon { background: linear-gradient(135deg, var(--secondary), #d4943f); box-shadow: 0 8px 24px rgba(184,115,51,0.4); }
.why-us-card h4 { font-size: 1.125rem; margin-bottom: 12px; color: var(--white); }
.why-us-card p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 0; }

/* ============================= */
/* SERVICES                      */
/* ============================= */
.services-section { background: var(--gray-100); }
.service-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px 32px; height: 100%; transition: var(--transition); border: 1px solid transparent; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.service-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 28px; margin-bottom: 24px; }
.service-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 12px; font-weight: 700; }
.service-card p { color: var(--gray-600); margin-bottom: 16px; font-size: 14px; }
.service-badges { display: flex; gap: 8px; margin-bottom: 20px; }
.service-mini-badge { display: flex; align-items: center; gap: 4px; background: var(--gray-100); padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; color: var(--success); }
.service-mini-badge i { font-size: 10px; }
.service-link { color: var(--secondary); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.service-link:hover { gap: 12px; }

/* ============================= */
/* VIDEO SECTION                 */
/* ============================= */
.video-section { background: var(--white); }
.video-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-200); }
.video-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.video-thumbnail { position: relative; height: 220px; overflow: hidden; cursor: pointer; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.video-card:hover .video-thumbnail img { transform: scale(1.05); filter: brightness(0.7); }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; background: rgba(184,115,51,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; transition: var(--transition); backdrop-filter: blur(4px); }
.video-card:hover .video-play-btn { background: var(--secondary); transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 8px 24px rgba(184,115,51,0.4); }
.video-duration { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.8); color: white; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.video-info { padding: 20px; }
.video-info h5 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; font-weight: 700; }
.video-info p { font-size: 13px; color: var(--gray-600); margin: 0; }

/* ============================= */
/* DOCUMENTS SECTION             */
/* ============================= */
.documents-section { background: var(--primary); color: var(--white); position: relative; overflow: hidden; }
.documents-section::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(184,115,51,0.08) 0%, transparent 70%); }

.document-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; height: 100%; transition: var(--transition); position: relative; z-index: 1; }
.document-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-6px); border-color: var(--secondary); }

.document-icon { width: 80px; height: 80px; background: linear-gradient(135deg, #c0392b, #e74c3c); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 36px; color: white; position: relative; }
.document-icon::after { content: 'PDF'; position: absolute; bottom: -4px; right: -4px; background: var(--secondary); color: white; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px; }

.document-info h5 { font-size: 1rem; color: var(--white); margin-bottom: 8px; font-weight: 600; }
.document-size { font-size: 12px; color: rgba(255,255,255,0.5); display: block; margin-bottom: 20px; }

.btn-document { background: var(--secondary); color: white; border: none; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; }
.btn-document:hover { background: #d4943f; color: white; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(184,115,51,0.3); }

/* ============================= */
/* CTA SECTION                   */
/* ============================= */
.cta-section { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); padding: 80px 0; }
.cta-trust-badges { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.cta-trust-badges span { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); padding: 8px 16px; border-radius: 50px; font-size: 13px; color: white; font-weight: 600; }

.cta-main-btn { background: white; color: var(--secondary); padding: 16px 40px; border: none; display: block; margin-bottom: 12px; font-weight: 700; }
.cta-main-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.cta-secondary-btn { background: transparent; color: white; padding: 14px 40px; border: 2px solid rgba(255,255,255,0.5); display: block; }
.cta-secondary-btn:hover { background: white; color: var(--secondary); border-color: white; }

/* ============================= */
/* TRUST / OLD SECTION           */
/* ============================= */
.trust-section { background: var(--primary); color: var(--white); position: relative; overflow: hidden; }
.trust-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(184,115,51,0.1) 0%, transparent 70%); }
.trust-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 32px; text-align: center; height: 100%; transition: var(--transition); }
.trust-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.trust-icon { width: 60px; height: 60px; background: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 24px; }
.trust-card h4 { font-size: 1.125rem; margin-bottom: 12px; }
.trust-card p { color: rgba(255,255,255,0.7); font-size: 14px; }

/* ============================= */
/* REFERENCES (legacy)           */
/* ============================= */
.reference-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 320px; }
.reference-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.reference-card:hover img { transform: scale(1.1); }
.reference-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.reference-card h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 8px; }
.reference-meta { display: flex; gap: 16px; color: rgba(255,255,255,0.7); font-size: 13px; }
.reference-meta span { display: flex; align-items: center; gap: 6px; }

/* ============================= */
/* PARTNERS BAND                 */
/* ============================= */
.partners-band { background: #0a0c10; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.partners-wrapper { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; }
.partner-item { text-align: center; }
.partner-logo { display: flex; flex-direction: column; }
.partner-name { font-family: var(--font-display); font-size: 2rem; color: #fff; letter-spacing: 2px; }
.partner-sub { font-size: 10px; color: #7a818e; letter-spacing: 2px; }
.partner-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.08); }
.partners-tagline { text-align: center; margin-top: 24px; color: var(--secondary); font-weight: 600; font-size: 14px; }

/* ============================= */
/* FOOTER                        */
/* ============================= */
.site-footer { background: var(--primary); color: var(--white); }
.footer-top { padding: 80px 0 60px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo .logo-icon { width: 45px; height: 45px; font-size: 20px; }
.footer-logo .logo-name { font-size: 24px; color: var(--white); }
.footer-logo .logo-tagline { color: var(--secondary); }
.footer-site-logo { height: 50px; width: auto; max-width: 200px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-about { color: rgba(255,255,255,0.7); margin-bottom: 24px; font-size: 14px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); }
.footer-social a:hover { background: var(--secondary); }
.footer-title { font-size: 1rem; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--secondary); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-contact i { color: var(--secondary); width: 16px; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.copyright { margin: 0; color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-badges { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; }
.badge-item { background: rgba(255,255,255,0.1); padding: 6px 12px; border-radius: 4px; font-size: 12px; color: var(--secondary); }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 28px; box-shadow: var(--shadow-lg); z-index: 999; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); } 50% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } }

/* Back to Top */
.back-to-top { position: fixed; bottom: 24px; left: 24px; width: 45px; height: 45px; background: var(--secondary); border: none; border-radius: 50%; color: var(--white); cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); transform: translateY(-4px); }

/* Mobile Language Switcher */
.mobile-lang-switcher { display: none; }

/* Desktop Dropdown Hover */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .navbar .dropdown-menu {
        border: none;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 8px 0;
    }
    .navbar .dropdown-item {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    .navbar .dropdown-item:hover {
        background: rgba(184,115,51,0.1);
        color: var(--secondary);
    }
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */

/* Navbar Toggler (Hamburger) */
.navbar-toggler { border: none; padding: 8px; background: transparent; outline: none !important; box-shadow: none !important; }
.navbar-toggler:focus { outline: none !important; box-shadow: none !important; }
.toggler-icon { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: var(--transition); border-radius: 2px; }
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Dropdown */
@media (max-width: 991px) {
    .header-top { display: none; }
    
    .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
    
    .navbar-collapse { 
        background: #181b21; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        padding: 16px 0; 
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        border-top: 1px solid rgba(255,255,255,0.06);
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 0 0 12px 12px;
    }
    
    .nav-link { padding: 12px 24px !important; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-link::after { display: none; }
    .nav-cta { margin: 16px 24px; }
    .btn-cta { justify-content: center; width: 100%; }
    
    .dropdown-menu { 
        border: none; 
        box-shadow: none; 
        padding: 0 0 0 16px; 
        background: rgba(255,255,255,0.05);
        position: static !important;
        transform: none !important;
        display: none;
        float: none;
    }
    .dropdown-menu.show {
        display: block;
    }
    .dropdown-item {
        padding: 10px 16px;
        font-size: 0.9rem;
        color: rgba(255,255,255,0.7);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .dropdown-item:last-child { border-bottom: none; }
    
    /* Hero Section */
    .hero-section { min-height: auto; padding: 100px 0 60px; }
    .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; text-align: center; }
    .hero-stats { gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 11px; }
    
    /* Partners */
    .partners-wrapper { gap: 20px; }
    .partner-item { font-size: 1rem; }
    .partner-item span { font-size: 0.65rem; letter-spacing: 1px; }
    
    /* Sections */
    .section { padding: 60px 0; }
    .section-title { font-size: 1.75rem; }
    
    /* Page headers - fix mobile top padding */
    .page-header { padding: 120px 0 50px !important; }
    .page-header h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    
    /* Case Study Cards */
    .case-study-card { margin-bottom: 0; }
    
    /* CTA Section */
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 1.75rem; }
    .cta-trust-badges { justify-content: center; }
    .cta-main-btn, .cta-secondary-btn { width: 100%; text-align: center; justify-content: center; }
    
    /* Footer */
    .footer-col { margin-bottom: 32px; }
    .footer-badges { justify-content: flex-start; }
    .footer-bottom .row { text-align: center; }
    .footer-badges { justify-content: center; margin-top: 16px; }
    
    /* Back to top & floats */
    .back-to-top { bottom: 16px; left: 16px; width: 40px; height: 40px; }
    .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 24px; }
    
    /* Mobile Language Switcher */
    .mobile-lang-switcher { 
        display: flex; 
        gap: 8px; 
        padding: 16px 24px; 
        border-top: 1px solid rgba(255,255,255,0.06);
        justify-content: center;
    }
    .mobile-lang-switcher a { 
        padding: 8px 20px; 
        border-radius: 50px; 
        font-weight: 700; 
        font-size: 13px; 
        color: rgba(255,255,255,0.6); 
        background: rgba(255,255,255,0.06); 
        text-decoration: none;
        transition: var(--transition);
    }
    .mobile-lang-switcher a.active { 
        background: var(--secondary); 
        color: white; 
    }
}

@media (max-width: 575px) {
    .hero-title { font-size: 2rem; }
    .hero-badges-row { gap: 6px; }
    .hero-badge { font-size: 11px; padding: 6px 10px; }
    .hero-stats { gap: 16px; justify-content: center; }
    .stat-item { min-width: 80px; }
    .stat-number { font-size: 1.75rem; }
    
    .case-study-specs { flex-direction: column; gap: 6px; }
    .case-study-body h4 { font-size: 1rem; }
    .case-study-desc { font-size: 0.85rem; }
    
    .section-title { font-size: 1.5rem; }
    .service-card { padding: 24px; }
    
    /* References filter tabs */
    .ref-tab { padding: 8px 16px !important; font-size: 0.8rem !important; }
    
    /* Page headers */
    .page-header { padding: 120px 0 40px !important; }
    .page-header h1 { font-size: 2rem; }
    
    /* Contact form */
    .contact-form .btn { width: 100%; }
    
    /* Footer */
    .footer-logo img { height: 40px; }
    .copyright { text-align: center; }
}
