/* ====== CSS Variables ====== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    /* Color Palette - Modern, Warm, Friendly */
    --primary: #0f766e; /* Teal 700 - Professional but friendly */
    --primary-light: #14b8a6; /* Teal 500 */
    --primary-hover: #0d9488;
    
    --secondary: #f97316; /* Warm Orange 500 for accents/CTAs */
    --secondary-hover: #ea580c;
    
    --bg-main: #f8fafc; /* Slate 50 */
    --bg-card: #ffffff;
    --bg-dark: #0f172a; /* Slate 900 for footer */
    
    --text-main: #334155; /* Slate 700 */
    --text-heading: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */
    
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Border Radius */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.02);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s ease-in-out;
}

/* ====== Reset & Base ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

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

.section {
    padding: 6rem 0;
}

/* Utilities */
.text-center { text-align: center; }
.bg-white { background-color: var(--bg-card); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.w-full { width: 100%; }

.section-title {
    margin-bottom: 3.5rem;
}
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}
.section-title.text-center p {
    margin-inline: auto;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #ccfbf1; /* Teal 100 */
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* ====== Buttons ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.35);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.btn-accent:hover {
    background-color: var(--secondary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}

/* ====== Navigation ====== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 35px;
    height: 35px;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn) {
    color: var(--text-heading);
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:not(.btn):hover, .nav-links a.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-heading);
}

/* ====== Page Headers ====== */
.page-header {
    background: linear-gradient(135deg, var(--bg-card) 0%, #e0f2fe 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ====== Footer ====== */
.site-footer {
    background-color: var(--bg-dark);
    color: #94a3b8;
    padding: 5rem 0 2rem;
}

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

.footer-col .logo-text { color: white; }

.footer-col p {
    margin-top: 1rem;
    max-width: 320px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col a {
    color: #94a3b8;
    display: flex;
    align-items: flex-start;
}

.footer-col ul li {
    display: flex;
    align-items: flex-start;
}

.footer-col ul i {
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ====== Hero (Index) ====== */
.hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(to bottom, #ffffff, #f0fdfa);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}
.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
}
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero-badge i {
    color: var(--secondary);
    width: 30px;
    height: 30px;
}
.hero-badge div strong {
    display: block;
    color: var(--text-heading);
    font-family: var(--font-heading);
}

/* ====== Highlights Grid ====== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.highlight-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid transparent;
}
.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #ccfbf1;
}
.highlight-icon {
    width: 60px;
    height: 60px;
    background: #f0fdfa;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.highlight-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

/* ====== CTA Section ====== */
.cta-section {
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    padding: 4rem;
    text-align: center;
    margin: 4rem 0;
}
.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-section p {
    font-size: 1.1rem;
    color: #ccfbf1;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-inline: auto;
}

/* ====== Forms ====== */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

/* ====== Detail Layouts (Subpages) ====== */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.detail-content ul li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.detail-content ul i, .detail-content ul svg {
    color: var(--primary);
    flex-shrink: 0 !important;
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
    margin-top: 0.2rem;
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .hero-grid, .detail-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-content { text-align: center; }
    .hero-content p { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
        width: 90%;
        justify-content: center;
    }
    .hero-image { margin-top: 2rem; }
    .cta-section { padding: 3rem 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
    }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .section { padding: 4rem 0; }
}

/* ====== Calculator Styles ====== */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 2rem;
}

.calc-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.calc-result-card {
    background: linear-gradient(135deg, var(--primary) 0%, #115e59 100%);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 110px;
}

.calc-result-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.8rem;
}

.calc-price-display {
    text-align: center;
    margin-bottom: 2rem;
}

.calc-price-display .price-val {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    display: block;
    color: #5eead4; /* Teal 300 for high-contrast on dark teal */
}

.calc-price-display .price-lbl {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.calc-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.calc-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 0.5rem;
}

.calc-breakdown-item:last-child {
    border-bottom: none;
}

.calc-breakdown-item.total-row {
    font-size: 1.25rem;
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 0.8rem;
    margin-top: 0.5rem;
}

.slider-container {
    margin: 2rem 0;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.slider-header label {
    font-weight: 600;
    color: var(--text-heading);
}

.m2-display-badge {
    background: #f0fdfa;
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid #ccfbf1;
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    margin: 1rem 0;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.1s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--secondary-hover);
}

.custom-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.1s ease;
}

.custom-range::-moz-range-thumb:hover {
    transform: scale(1.15);
    background: var(--secondary-hover);
}

.calc-tasa-notice {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    padding: 1rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.km-input-container {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.km-input-container.active {
    max-height: 200px;
    opacity: 1;
    margin-top: 1.5rem;
}

.info-box-yellow {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 1.2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.95rem;
    color: #78350f;
    margin-top: 1.5rem;
}

@media (max-width: 992px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    .calc-result-card {
        position: static;
        margin-top: 1rem;
    }
}

