/* ==========================================================================
   Separ Marine Filters Landing Page Design System & Stylesheet
   ========================================================================== */

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --secondary: #0f172a;
    --accent: #10b981;
    --accent-dark: #059669;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --border: #e2e8f0;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -6px rgba(0, 0, 0, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Global Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

p {
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-dark);
}

.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 48px; }
.w-full { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-color: var(--text-dark);
}

.btn-call {
    white-space: nowrap;
    background-color: rgba(2, 132, 199, 0.05);
    color: var(--primary);
    border: 1px solid rgba(2, 132, 199, 0.15);
    padding: 8px 16px;
    font-size: 0.88rem;
}

.btn-call:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* Header */
.header {
    height: 90px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.nav a {
    color: var(--text-light);
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--text-dark);
}

.header-actions-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    padding: 2px 6px;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--text-dark);
}

.lang-btn.active {
    color: var(--primary);
}

.lang-divider {
    color: var(--border);
    font-size: 0.7rem;
    pointer-events: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 720px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.badge {
    display: inline-block;
    background-color: rgba(2, 132, 199, 0.08);
    color: var(--primary);
    border: 1px solid rgba(2, 132, 199, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero-desc {
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 24px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-lbl {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Forms */
.hero-form-wrapper {
    width: 100%;
}

.card-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.card-form h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 16px;
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
}

.kvkk-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 20px 0;
}

.kvkk-checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.kvkk-label {
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--text-light);
    cursor: pointer;
}

.kvkk-label a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 700;
}

/* Sections */
.section {
    padding: 100px 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
}

.section-alt {
    background-color: var(--bg-light);
}

.sub-title {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

.section-desc {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Emergency Banner */
.emergency-banner {
    background-color: #ef4444;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.emergency-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.emergency-banner p {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}

.btn-emergency {
    background-color: #ffffff;
    color: #ef4444;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-emergency:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Fleet Bulk Banner */
.fleet-banner {
    background-color: var(--secondary);
    padding: 36px 0;
}

.fleet-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.fleet-banner h4 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.fleet-banner p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.9rem;
    max-width: 800px;
}

.fleet-banner .btn-primary {
    background-color: var(--primary);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.fleet-banner .btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Solution Cards */
.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(2, 132, 199, 0.2);
}

.sol-card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.solution-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.solution-card p {
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Service Preferred Cards */
.preferred-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.preferred-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(2, 132, 199, 0.25);
}

.service-card-icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.pref-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.15);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
}

.pref-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.pref-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Tabs & Spec Sheet */
.model-selection-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.model-tab {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.model-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.model-tab.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.model-details-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gold-text {
    color: var(--primary);
}

/* Customer Journey Steps */
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
}

.step-icon-wrap {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(2, 132, 199, 0.05);
    border-radius: 50%;
}

.step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.step-card h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.step-card p {
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Footer Styles */
.footer {
    background-color: var(--secondary);
    color: #ffffff;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 20px 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-contact p {
    color: #94a3b8;
    font-size: 0.88rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary);
    margin-top: 4px;
}

.working-hours p {
    color: #64748b;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
}

.disclaimer-text {
    font-size: 0.72rem;
    line-height: 1.5;
    color: #64748b;
    margin-bottom: 24px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #64748b;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal-content {
    background: #ffffff;
    max-width: 500px;
    width: calc(100% - 32px);
    margin: 15% auto;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
}

.modal-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.text-success {
    color: var(--accent);
}

/* Cookie Policy Popup */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 360px;
    width: calc(100% - 40px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-content p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
}

.btn-cookie-accept {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-accept:hover {
    background-color: var(--primary-dark);
}

/* Mobile Floating CTA Bar */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffff;
    border-top: 1px solid var(--border);
    display: none;
    grid-template-columns: 1fr 1fr;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}

.mobile-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    gap: 8px;
    font-family: var(--font);
}

.mobile-cta-bar a:first-child {
    background-color: var(--secondary);
    color: #ffffff;
}

.mobile-cta-bar a:last-child {
    background-color: #25d366;
    color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 40px;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .header-actions-right {
        margin-left: auto;
        margin-right: 12px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .grid-3, .grid-5 {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        grid-column: span 1;
    }
    
    .emergency-container, .fleet-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .mobile-cta-bar {
        display: grid;
    }
    
    .header-cta {
        display: none;
    }
    
    body {
        padding-bottom: 64px; /* Space for mobile floating bar */
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5);
    color: #ffffff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 84px; /* Keeps it clear of the mobile bottom CTA bar */
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}
