/* Custom CSS for Elsparkcykelservice Västerås */

/* Language Switcher Logic */
body.en-mode .lang-sv {
    display: none !important;
}
body:not(.en-mode) .lang-en {
    display: none !important;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 13px;
    margin-right: 8px;
    min-width: 44px;
    font-weight: 700;
}

:root {
    /* Harmonious Dark & Neon Green Palette */
    --bg-dark: #0b0f17;
    --bg-card: #151d2e;
    --bg-card-hover: #1e293f;
    --accent-lime: #39ff14;
    --accent-lime-hover: #2ee60d;
    --accent-lime-glow: rgba(57, 255, 20, 0.4);
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(21, 29, 46, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    /* Layout Sizes */
    --max-width: 1200px;
    --header-height: 80px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 60px; /* Space for mobile floating action bar */
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-weight: 700;
}

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

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

.highlight {
    color: var(--accent-lime);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Common Components */
.badge {
    display: inline-block;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--accent-lime);
    color: var(--accent-lime);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 15px;
}

.btn-large {
    padding: 14px 30px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--accent-lime);
    color: #000000;
}

.btn-primary:hover {
    background-color: var(--accent-lime-hover);
    box-shadow: 0 0 20px var(--accent-lime-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-outline:hover {
    border-color: var(--accent-lime);
    color: var(--accent-lime);
    background-color: rgba(57, 255, 20, 0.05);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #20ba59;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    margin-bottom: 12px;
}

.btn-text {
    color: var(--accent-lime);
    font-weight: 600;
    transition: color 0.2s;
    font-size: 15px;
    display: inline-block;
}

.btn-text:hover {
    color: var(--accent-lime-hover);
}

.icon-wa {
    width: 20px;
    height: 20px;
}

/* Header & Nav */
.header {
    height: var(--header-height);
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: auto;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-link:hover {
    color: #ffffff;
}

.header-ctas {
    display: flex;
    gap: 12px;
}

.mobile-header-right {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-lang-btn {
    display: none;
    padding: 6px 12px;
    font-size: 13px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(57, 255, 20, 0.08) 0%, rgba(11, 15, 23, 0.95) 70%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

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

.hero-content h1 {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-lead {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.stat-number {
    font-size: 28px;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-weight: 800;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* Section Common Headers */
.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-lime);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 38px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-lead {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(57, 255, 20, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 28px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: rgba(57, 255, 20, 0.3);
    transform: translateY(-4px);
}

.service-card.popular {
    border: 2px solid var(--accent-lime);
    box-shadow: 0 0 15px var(--accent-lime-glow);
    position: relative;
}

.service-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #080c13;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--accent-lime);
    color: #000000;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.fallback-card-bg {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #161f30 0%, #0c121e 100%);
}

.fallback-card-bg span {
    font-size: 72px;
}

.service-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
}

.service-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 18px;
}

/* Estimator Section */
.estimator-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.estimator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
}

.estimator-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.estimator-info > p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 16px;
}

.estimator-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-select {
    width: 100%;
    background-color: #0b0f17;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.form-select:focus {
    border-color: var(--accent-lime);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.estimator-results {
    background-color: rgba(57, 255, 20, 0.04);
    border: 1px dashed rgba(57, 255, 20, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.result-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.result-label {
    font-size: 14px;
    color: var(--text-muted);
}

.result-price {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-lime);
}

.result-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

.estimator-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.estimator-promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.about-text-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.brand-tag-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-light);
}

.about-visual {
    background: linear-gradient(135deg, var(--bg-card) 0%, #0d1422 100%);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.visual-box h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.visual-box p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.visual-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.visual-map-link {
    color: var(--accent-lime);
    font-size: 14px;
    font-weight: 500;
}

/* FAQ Accordion (AEO) */
.faq-section {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
}

.faq-trigger:hover {
    color: var(--accent-lime);
}

.faq-icon-state {
    font-size: 20px;
    color: var(--accent-lime);
    transition: transform 0.3s;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
}

.faq-content p {
    color: var(--text-muted);
    font-size: 15px;
    padding-bottom: 24px;
}

.faq-item.active .faq-content {
    max-height: 200px;
}

.faq-item.active .faq-icon-state {
    transform: rotate(45deg);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-details > p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    gap: 16px;
}

.info-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card h4 {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-card a, .info-card p {
    font-size: 18px;
    font-weight: 600;
}

.info-card a:hover {
    color: var(--accent-lime);
}

.opening-hours h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.opening-hours ul {
    list-style: none;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.opening-hours li span:first-child {
    color: var(--text-muted);
}

.contact-map {
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container {
    width: 100%;
    height: 100%;
}

/* Footer styling */
.footer {
    background-color: #06090f;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-container p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-sub {
    margin-top: 8px;
    font-size: 13px;
}

/* Floating Actions Mobile Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    grid-template-columns: 1fr 1fr;
    z-index: 999;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
}

.call-action {
    background-color: #1e293b;
    color: #ffffff;
}

.wa-action {
    background-color: #25D366;
    color: #ffffff;
}

.action-icon {
    font-size: 18px;
}

.action-icon-svg {
    width: 18px;
    height: 18px;
}

/* Responsive Queries */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 44px;
    }
    .features-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: 0.3s;
        z-index: 99;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .header-ctas {
        display: none;
    }

    .mobile-header-right {
        display: flex;
    }

    .mobile-lang-btn {
        display: inline-flex;
    }

    .menu-toggle {
        display: flex;
    }

    .features-grid, .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .estimator-wrapper {
        padding: 24px;
    }
}
