/* CSS-fil for Regnskapable Drosje Nettside */

/* Grunnleggende stiler */
body {
    font-family: 'Arial', sans-serif; /* Standard sans-serif font */
    margin: 0;
    padding: 0;
    color: #333; /* Mørk grå tekstfarge som standard */
    background-color: #FFFFFF; /* Hvit bakgrunn */
    line-height: 1.6;
}

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

h1, h2, h3, h4 {
    color: #222; /* Litt mørkere for overskrifter */
}

a {
    text-decoration: none;
    color: #007bff; /* Standard blå lenkefarge, kan justeres */
}

/* Hjelpeklasser */
.text-center {
    text-align: center;
}

/* Hero Seksjon (Gul bakgrunn) */
.hero-section {
    background-color: #FDCB0A; /* Gyllengul farge fra PDF */
    color: #222222; /* Mørk tekst på gul bakgrunn for kontrast */
    padding: 60px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #222222;
}

.hero-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: #222222; /* Mørk knapp */
    color: #FFFFFF; /* Hvit tekst */
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #444444; /* Litt lysere mørk ved hover */
}

/* Tjenester Seksjon (Mørk bakgrunn) */
.services-section {
    background-color: #222222; /* Mørkegrå/svart bakgrunn */
    color: #FFFFFF; /* Hvit tekst */
    padding: 60px 0;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.services-section .section-intro {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #dddddd;
}

.service-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Mellomrom mellom blokkene */
    justify-content: center;
}

.service-block {
    background-color: #333333; /* Litt lysere enn bakgrunnen for blokkene */
    padding: 30px;
    border-radius: 8px;
    width: calc(50% - 40px); /* To blokker per rad, justert for gap og padding */
    box-sizing: border-box;
    text-align: center;
    /* Legg til plass for ikon senere */
}

.service-block h3 {
    font-size: 1.5em;
    margin-top: 15px; /* Hvis ikon er over */
    margin-bottom: 10px;
    color: #FDCB0A; /* Gul farge for overskrifter i tjenesteblokk */
}

.service-block p {
    font-size: 1em;
    color: #cccccc;
}

/* Prisingsseksjon (Gul bakgrunn) */
.pricing-section {
    background-color: #FDCB0A; /* Gyllengul farge */
    padding: 60px 0;
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #222222;
}

.pricing-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.pricing-block {
    background-color: #FFFFFF; /* Hvite prisblokker */
    padding: 30px;
    border-radius: 8px;
    width: calc(33.333% - 40px); /* Tre blokker per rad */
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pricing-block h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #222222;
}

.pricing-block .price {
    font-size: 2em;
    font-weight: bold;
    color: #222222;
    margin-bottom: 10px;
}

.pricing-block .price-period {
    font-size: 0.7em;
    color: #555555;
    display: block;
}

.cta-button-secondary {
    background-color: transparent;
    color: #222222;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    border: 2px solid #222222;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: #222222;
    color: #FFFFFF;
}

.pricing-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-block ul li {
    margin-bottom: 8px;
    font-size: 0.95em;
    padding-left: 20px;
    position: relative;
}

.pricing-block ul li::before {
    content: '✓'; /* Enkelt sjekkmerke */
    color: #28a745; /* Grønn farge for sjekkmerke */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Kontakt Seksjon */
.contact-section {
    background-color: #f9f9f9; /* Lys grå bakgrunn */
    padding: 60px 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #222222;
}

.contact-section > .container > p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-form-container, .contact-direct {
    width: calc(50% - 20px); /* To kolonner */
    box-sizing: border-box;
}

.contact-form-container form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
}

.contact-form-container form input[type="text"],
.contact-form-container form input[type="email"],
.contact-form-container form input[type="tel"],
.contact-form-container form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

.contact-form-container form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-container form button[type="submit"] {
    background-color: #FDCB0A; /* Gul knapp */
    color: #222222; /* Mørk tekst */
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form-container form button[type="submit"]:hover {
    background-color: #e0b700; /* Mørkere gul ved hover */
}

.contact-direct h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #222222;
}

.contact-direct p {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333333;
}

.contact-direct p strong {
    color: #222222;
}

.contact-direct a {
    color: #222222;
    font-weight: bold;
}

.contact-direct a:hover {
    text-decoration: underline;
}

/* Bunntekst */
footer {
    background-color: #222222; /* Mørk bunntekst */
    color: #FFFFFF;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

footer p {
    margin: 0;
    color: #dddddd;
}

/* Media Queries for responsivt design */

/* For nettbrett og mindre desktop-skjermer */
@media (max-width: 992px) {
    .service-block {
        width: calc(50% - 20px); /* To blokker per rad, justert for mindre gap */
    }
    .pricing-block {
        width: calc(50% - 20px); /* To blokker per rad */
    }
}

/* For mobiltelefoner */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .services-section h2, .pricing-section h2, .contact-section h2 {
        font-size: 2em;
    }

    .service-blocks, .pricing-blocks {
        flex-direction: column;
        align-items: center;
    }

    .service-block, .pricing-block {
        width: 90%; /* En blokk per rad, tar nesten full bredde */
        margin-bottom: 20px;
    }

    .contact-options {
        flex-direction: column;
    }

    .contact-form-container, .contact-direct {
        width: 100%;
    }
    .contact-direct {
        margin-top: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    .hero-section h1 {
        font-size: 1.8em;
    }
    .cta-button, .contact-form-container form button[type="submit"] {
        padding: 12px 25px;
        font-size: 1em;
    }
    .pricing-block .price {
        font-size: 1.8em;
    }
}

