/* =========================================================
   ADAMS SERVICE BILVERKSTAD
   Main Website Styles
   ========================================================= */

:root {
    --black: #080808;
    --dark: #111111;
    --dark-purple: #24102f;
    --purple: #7b2cbf;
    --bright-purple: #9d4edd;
    --light-purple: #c77dff;
    --white: #ffffff;
    --light: #f5f3f7;
    --gray: #b9b5bd;
    --border: rgba(157, 78, 221, 0.25);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   GENERAL
   ========================================================= */

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-label {
    color: var(--bright-purple);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-heading h2,
.about-content h2 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-heading p:not(.section-label) {
    color: var(--gray);
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* LOGO */

.logo-image {
    width: 170px;
    height: auto;
    display: block;
    border-radius: 18px;
}

.logo-image {
    width: 170px;
    height: auto;
    display: block;
}


/* NAVIGATION */

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    color: #dddddd;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.navigation a:hover {
    color: var(--light-purple);
}


/* CALL BUTTON */

.call-button {
    padding: 11px 20px;
    border: 1px solid var(--bright-purple);
    color: var(--white);
    border-radius: 4px;
    font-weight: 700;
    transition: 0.3s ease;
}

.call-button:hover {
    background: var(--purple);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 100vh;

    display: flex;
    align-items: center;

    background-image:
        url("../images/hero-workshop.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.72) 40%,
            rgba(0, 0, 0, 0.28) 70%,
            rgba(0, 0, 0, 0.18) 100%
        );

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-small-title {
    color: var(--bright-purple);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 800px;
    font-size: clamp(3.2rem, 8vw, 7rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--bright-purple);
}

.hero-text {
    max-width: 580px;
    margin-top: 28px;
    color: #d1ccd4;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.primary-button {
    background: var(--purple);
    color: var(--white);
}

.primary-button:hover {
    background: var(--bright-purple);
    transform: translateY(-2px);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.secondary-button:hover {
    border-color: var(--bright-purple);
    color: var(--light-purple);
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
    background: var(--light);
    color: var(--black);
}

.services .section-heading p:not(.section-label) {
    color: #68636c;
}

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

.service-card {
    padding: 35px 25px;
    background: var(--white);
    border: 1px solid #e3dfe5;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: #6c6870;
    font-size: 0.95rem;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about {
    background:
        linear-gradient(
            135deg,
            var(--black),
            var(--dark-purple)
        );
}

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

.about-content > p:not(.section-label) {
    color: var(--gray);
    margin-bottom: 18px;
    max-width: 650px;
}

.about-content .primary-button {
    margin-top: 15px;
}

.about-highlight {
    display: grid;
    gap: 20px;
}

.highlight-box {
    padding: 30px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.highlight-number {
    color: var(--bright-purple);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.highlight-box h3 {
    margin: 12px 0;
    font-size: 1.3rem;
}

.highlight-box p {
    color: var(--gray);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    background: var(--light);
    color: var(--black);
}

.contact .section-heading p:not(.section-label) {
    color: #68636c;
}

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

.contact-card {
    padding: 35px;
    background: var(--white);
    border: 1px solid #e3dfe5;
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-card p {
    color: #68636c;
}

.contact-card a:not(.primary-button) {
    color: var(--purple);
    font-weight: 700;
}

.contact-card .primary-button {
    margin-top: 20px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #050505;
    border-top: 1px solid var(--border);
    padding: 35px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer strong {
    font-size: 1rem;
}

.footer p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 5px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .navigation {
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        min-height: 340px;
        padding: 30px 25px;
        border-radius: 14px;
    }

    .service-card-content {
        min-height: 280px;
    }

    .service-icon {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .service-card p {
        min-height: auto;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-link {
        margin-top: 15px;
    }

}
/* =========================================================
   SERVICE DETAIL PAGES
   ========================================================= */

.service-page-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(123, 44, 191, 0.30),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #050505 0%,
            #100914 55%,
            #1c0b27 100%
        );
}

.service-page-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    margin-bottom: 25px;
}

.service-page-hero p:not(.section-label) {
    max-width: 650px;
    color: var(--gray);
    font-size: 1.2rem;
}


/* SERVICE DETAIL */

.service-detail {
    background: var(--light);
    color: var(--black);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.service-detail-image {
    overflow: hidden;
    border-radius: 14px;
    background: #ddd;
}

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

.service-detail-image:hover img {
    transform: scale(1.03);
}

.service-detail-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.service-detail-content > p:not(.section-label) {
    color: #68636c;
    margin-bottom: 18px;
}

.service-detail-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}


/* SERVICE LIST */

.service-list {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.service-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    color: #555158;
    border-bottom: 1px solid #e3dfe5;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--purple);
    font-weight: 900;
}


/* SERVICE BENEFITS */

.service-benefits {
    background: var(--black);
}

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

.benefit-card {
    padding: 35px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.benefit-card h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--gray);
}


/* SERVICE CTA */

.service-cta {
    padding: 90px 0;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            #24102f,
            #100914
        );
}

.service-cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
}

.service-cta p {
    color: var(--gray);
    margin-bottom: 30px;
}


/* SERVICE LINK ON HOMEPAGE */

.service-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--purple);
    font-weight: 800;
    transition: 0.3s ease;
}

.service-link:hover {
    color: var(--bright-purple);
    transform: translateX(4px);
}


/* MOBILE SERVICE PAGES */

@media (max-width: 800px) {

    .service-page-hero {
        min-height: 50vh;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-image img {
        height: 350px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 650px) {

    .service-page-hero {
        padding-top: 110px;
    }

    .service-page-hero h1 {
        font-size: 3.2rem;
    }

    .service-detail-image img {
        height: 280px;
    }

}
/* =========================================================
   SERVICES SECTION
   ========================================================= */

.services {
    background: #f5f3f6;
    color: #111111;
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    margin-bottom: 18px;
}

.section-heading > p:not(.section-label) {
    color: #68636c;
    font-size: 1.05rem;
}


/* SERVICES GRID */

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


/* SERVICE CARD */

.service-card {
    position: relative;
    padding: 40px 32px;
    background: #ffffff;
    border: 1px solid #e2dfe5;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #7b2cbf;
    box-shadow: 0 18px 45px rgba(123, 44, 191, 0.15);
}


/* SERVICE ICON */

.service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;

    background: #111111;
    border: 1px solid #7b2cbf;
    border-radius: 14px;

    font-size: 1.7rem;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.service-card p {
    min-height: 70px;
    color: #68636c;
    line-height: 1.7;
}


/* SERVICE LINK */

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;

    color: #7b2cbf;
    font-weight: 800;
    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.service-link:hover {
    color: #5a189a;
    transform: translateX(5px);
}


/* TABLET */

@media (max-width: 950px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MOBILE */

@media (max-width: 650px) {

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

    .service-card {
        padding: 32px 25px;
    }

}
/* =========================================================
   SERVICE CARD IMAGE BACKGROUND
   ========================================================= */

.service-bilservice {
    position: relative;
    min-height: 360px;
    overflow: hidden;

    background-image: url("../images/bilservice.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;

    border: none;
}


/* DARK OVERLAY */

.service-card-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.58);

    z-index: 1;
}


/* CARD CONTENT */

.service-card-content {
    position: relative;
    z-index: 2;

    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


/* TEXT */

.service-bilservice h3 {
    color: #ffffff;
}

.service-bilservice p {
    color: rgba(255, 255, 255, 0.85);
}


/* ICON */

.service-bilservice .service-icon {
    background: rgba(0, 0, 0, 0.75);
    border-color: #7b2cbf;
}


/* LINK */

.service-bilservice .service-link {
    color: #ffffff;
}

.service-bilservice .service-link:hover {
    color: #c77dff;
}


/* HOVER */

.service-bilservice:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(123, 44, 191, 0.30);
}
/* =========================================================
   OTHER SERVICE CARD BACKGROUNDS
   ========================================================= */

.service-biltvatt {
    background-image: url("../images/biltvatt.jpg");
    background-size: cover;
    background-position: center;
}

.service-dackservice {
    background-image: url("../images/dackservice.jpg");
    background-size: cover;
    background-position: center;
}

.service-rekond {
    background-image: url("../images/rekond.jpg");
    background-size: cover;
    background-position: center;
}

.service-bilinspektion {
    background-image: url("../images/bilinspektion.jpg");
    background-size: cover;
    background-position: center;
}

.service-bilhandel {
    background-image: url("../images/bilhandel.jpg");
    background-size: cover;
    background-position: center;
}


/* WHITE TEXT ON IMAGE CARDS */

.service-biltvatt h3,
.service-dackservice h3,
.service-rekond h3,
.service-bilinspektion h3,
.service-bilhandel h3 {
    color: #ffffff;
}

.service-biltvatt p,
.service-dackservice p,
.service-rekond p,
.service-bilinspektion p,
.service-bilhandel p {
    color: rgba(255, 255, 255, 0.85);
}


/* SERVICE LINKS */

.service-biltvatt .service-link,
.service-dackservice .service-link,
.service-rekond .service-link,
.service-bilinspektion .service-link,
.service-bilhandel .service-link {
    color: #ffffff;
}

.service-biltvatt .service-link:hover,
.service-dackservice .service-link:hover,
.service-rekond .service-link:hover,
.service-bilinspektion .service-link:hover,
.service-bilhandel .service-link:hover {
    color: #c77dff;
}


/* ICONS */

.service-biltvatt .service-icon,
.service-dackservice .service-icon,
.service-rekond .service-icon,
.service-bilinspektion .service-icon,
.service-bilhandel .service-icon {
    background: rgba(0, 0, 0, 0.75);
    border-color: #7b2cbf;
}
/* =========================================================
   HERO CONTACT INFORMATION
   ========================================================= */

.hero-contact-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-contact-info a {
    display: inline-flex;
    align-items: center;

    padding: 10px 16px;

    color: #ffffff;
    text-decoration: none;

    background: rgba(17, 17, 17, 0.75);
    border: 1px solid rgba(123, 44, 191, 0.65);
    border-radius: 10px;

    font-size: 0.9rem;
    font-weight: 600;

    backdrop-filter: blur(5px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.hero-contact-info a:hover {
    background: rgba(123, 44, 191, 0.25);
    border-color: #7b2cbf;
    transform: translateY(-3px);
}


/* MOBILE */

@media (max-width: 650px) {

    .hero-contact-info {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 22px;
    }

    .hero-contact-info a {
        justify-content: center;
        text-align: center;
        padding: 11px 14px;
        font-size: 0.85rem;
    }

}
/* =========================================================
   PHONE LINK IN CONTACT SECTION
   ========================================================= */

.contact-card a[href^="tel:"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #7b2cbf;
    font-size: 1.15rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.contact-card a[href^="tel:"]::before {
    content: "📞";
}

.contact-card a[href^="tel:"]:hover {
    color: #5a189a;
    transform: translateX(4px);
}
/* =========================================================
   ABOUT / OM ADAMS SERVICE
   ========================================================= */

.about {
    background: #111111;
    color: #ffffff;
}


/* ABOUT GRID */

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}


/* LEFT CONTENT */

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

.about-content h2 {
    margin-bottom: 25px;

    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;

    color: #ffffff;
}

.about-content > p:not(.section-label) {
    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 1.05rem;
    line-height: 1.8;
}


/* SECTION LABEL */

.about .section-label {
    color: #c77dff;
}


/* RIGHT PANEL */

.about-highlight {
    position: relative;

    padding: 35px;

    background: #181818;

    border: 1px solid rgba(123, 44, 191, 0.65);
    border-radius: 18px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);

    overflow: hidden;
}


/* PURPLE ACCENT */

.about-highlight::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: #7b2cbf;
}


/* PANEL HEADER */

.about-highlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 20px;

    padding-bottom: 18px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    color: #c77dff;

    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}


/* HIGHLIGHT BOX */

.about-highlight .highlight-box {
    position: relative;

    padding: 25px 0;

    background: transparent;

    border: none;
    border-radius: 0;

    box-shadow: none;
}

.about-highlight .highlight-box + .highlight-box {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* NUMBER */

.highlight-number {
    display: block;

    margin-bottom: 8px;

    color: #7b2cbf;

    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}


/* TITLE */

.about-highlight .highlight-box h3 {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 1.25rem;
}


/* TEXT */

.about-highlight .highlight-box p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    line-height: 1.6;
}


/* =========================================================
   ABOUT MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-content {
        max-width: 100%;
    }

}


@media (max-width: 650px) {

    .about-highlight {
        padding: 25px;
        border-radius: 14px;
    }

    .about-highlight .highlight-box {
        padding: 22px 0;
    }

    .about-content h2 {
        font-size: 2.3rem;
    }

}
/* =========================================================
   BOOKING PAGE
   ========================================================= */

.booking-section {
    min-height: 100vh;
    padding: 140px 0 80px;
    background: #0d0d0d;
    color: #ffffff;
}


/* BOOKING LAYOUT */

.booking-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}


/* FORM */

.booking-form {
    padding: 40px;
    background: #181818;
    border: 1px solid rgba(123, 44, 191, 0.55);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


/* FORM GROUP */

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


/* LABEL */

.form-group label {
    display: block;
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 700;
}


/* INPUTS */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 15px;

    background: #101010;
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;

    font-family: inherit;
    font-size: 0.95rem;

    outline: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* INPUT FOCUS */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #7b2cbf;

    box-shadow:
        0 0 0 3px rgba(123, 44, 191, 0.15);
}


/* DATE */

.form-group input[type="date"] {
    color-scheme: dark;
}


/* SELECT */

.form-group select {
    cursor: pointer;
}


/* TEXTAREA */

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


/* BOOKING BUTTON */

.booking-form .primary-button {
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: center;
}


/* =========================================================
   BOOKING INFORMATION
   ========================================================= */

.booking-info {
    padding: 20px 0;
}

.booking-info h2 {
    margin-bottom: 25px;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.booking-info > p:not(.section-label) {
    margin-bottom: 30px;

    color: rgba(255, 255, 255, 0.7);

    line-height: 1.8;
}


/* INFO BOX */

.booking-info-box {
    margin-bottom: 18px;
    padding: 20px;

    background: #181818;

    border-left: 4px solid #7b2cbf;
    border-radius: 10px;
}

.booking-info-box h3 {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.booking-info-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.booking-info-box a {
    color: #c77dff;
    text-decoration: none;
}

.booking-info-box a:hover {
    color: #ffffff;
}


/* =========================================================
   BOOKING MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .booking-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}


@media (max-width: 650px) {

    .booking-section {
        padding: 120px 0 60px;
    }

    .booking-form {
        padding: 25px;
        border-radius: 14px;
    }

    .booking-info {
        padding: 0;
    }

    .booking-info h2 {
        font-size: 2.2rem;
    }

}
/* =========================================================
   ADMIN BOOKINGS TABLE
   ========================================================= */

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

.admin-bookings-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    color: #111111;
}

.admin-bookings-table th,
.admin-bookings-table td {
    border: 1px solid #d6d0db;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.admin-bookings-table th {
    background: #171717;
    color: #ffffff;
    font-weight: 700;
}

.admin-bookings-table tbody tr:nth-child(even) {
    background: #f6f3f8;
}

.admin-bookings-table tbody tr:hover {
    background: #efe7f5;
}

.booking-status {
    width: 100%;
    min-width: 130px;
    padding: 8px 10px;
    border: 1px solid #7b2cbf;
    border-radius: 6px;
    background: #ffffff;
    color: #111111;
    font-weight: 600;
}
/* =========================================================
   ADMIN TABLE - LIGHT BACKGROUND & PURPLE/LIGHT BORDERS
   ========================================================= */

.admin-bookings-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff !important;
    color: #222222 !important;
}

.admin-bookings-table th,
.admin-bookings-table td {
    border: 1px solid #c9a7e8 !important;
    padding: 12px 14px;
    color: #222222;
}

.admin-bookings-table th {
    background-color: #6f2da8 !important;
    color: #ffffff !important;
}

.admin-bookings-table tbody tr {
    background-color: #ffffff !important;
}

.admin-bookings-table tbody tr:nth-child(even) {
    background-color: #f5eefb !important;
}

.admin-bookings-table tbody tr:hover {
    background-color: #eadcf5 !important;
}
/* =========================================================
   ADMIN BOOKING ROW STATUS COLORS
   ========================================================= */

/* Pending */
.admin-bookings-table tbody tr.status-pending {
    background-color: #fff8dc !important;
}

/* Confirmed */
.admin-bookings-table tbody tr.status-confirmed {
    background-color: #e8f5e9 !important;
}

/* Completed */
.admin-bookings-table tbody tr.status-completed {
    background-color: #e7f3ff !important;
}

/* Cancelled */
.admin-bookings-table tbody tr.status-cancelled {
    background-color: #fdeaea !important;
}

/* Keep dividing lines visible */
.admin-bookings-table tbody tr.status-pending td,
.admin-bookings-table tbody tr.status-confirmed td,
.admin-bookings-table tbody tr.status-completed td,
.admin-bookings-table tbody tr.status-cancelled td {
    border-color: #c9a7e8 !important;
}
/* =========================================================
   ADMIN CLICKABLE CONTACT LINKS
   ========================================================= */

.admin-contact-link {
    color: #6f2da8;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.admin-contact-link:hover {
    color: #9d4edd;
    text-decoration: underline;
}
/* =========================================================
   ADMIN CUSTOMER DETAILS BUTTON
   ========================================================= */

.customer-details-button {
    background: none;
    border: none;
    padding: 0;
    color: #6f2da8;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.customer-details-button:hover {
    color: #9d4edd;
}
/* =========================================================
   ADMIN BOOKING DETAILS PANEL
   ========================================================= */

.booking-details-panel {
    margin-bottom: 30px;
    padding: 30px;
    background: #ffffff;
    color: #222222;
    border: 1px solid #c9a7e8;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.booking-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.booking-details-header h2 {
    margin: 0;
    color: #6f2da8;
}

.booking-details-close {
    width: 38px;
    height: 38px;
    border: 1px solid #c9a7e8;
    border-radius: 50%;
    background: #ffffff;
    color: #6f2da8;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
}

.booking-details-close:hover {
    background: #f5eefb;
}

.booking-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.booking-details-grid > div {
    padding: 16px;
    background: #f8f5fa;
    border: 1px solid #e1d2ed;
    border-radius: 10px;
}

.booking-details-grid strong {
    color: #6f2da8;
}

.booking-details-grid p {
    margin: 6px 0 0;
    color: #333333;
}

.booking-details-grid a {
    color: #6f2da8;
    font-weight: 700;
    text-decoration: none;
}

.booking-details-grid a:hover {
    text-decoration: underline;
}

.booking-details-message {
    grid-column: 1 / -1;
}

@media (max-width: 650px) {

    .booking-details-grid {
        grid-template-columns: 1fr;
    }

    .booking-details-message {
        grid-column: auto;
    }

}
/* =========================================================
   ADMIN BOOKING ACTION BUTTONS
   ========================================================= */

.booking-details-actions {
    grid-column: 1 / -1;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    padding: 18px !important;

    background: #ffffff !important;
}

.booking-action-button {
    padding: 11px 18px;

    border: none;
    border-radius: 8px;

    font-weight: 700;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.booking-action-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.confirm-booking {
    background: #e8f5e9;
    color: #237a35;
}

.complete-booking {
    background: #e7f3ff;
    color: #1769aa;
}

.cancel-booking {
    background: #fdeaea;
    color: #b3261e;
}


@media (max-width: 650px) {

    .booking-details-actions {
        flex-direction: column;
    }

    .booking-action-button {
        width: 100%;
    }

}
.admin-footer-link {
    color: #c77dff;
    font-weight: 700;
    text-decoration: none;
}

.admin-footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}
/* =========================================================
   ADMIN BACK TO HOME BUTTON
   ========================================================= */

.admin-home-button {
    display: inline-block;
    padding: 10px 16px;

    background: #6f2da8;
    color: #ffffff;

    border-radius: 8px;

    font-weight: 700;
    text-decoration: none;

    transition: 0.2s ease;
}

.admin-home-button:hover {
    background: #9d4edd;
    transform: translateY(-2px);
}
@media (max-width: 650px) {

    .hero {
        min-height: 100vh;
        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.94) 0%,
                rgba(0, 0, 0, 0.78) 60%,
                rgba(0, 0, 0, 0.45) 100%
            );
    }

    .hero-content {
        padding-top: 110px;
        padding-bottom: 60px;
    }

}
/* =========================================================
   MOBILE HEADER + HAMBURGER MENU
   ========================================================= */

.hamburger {
    display: none;
    background: transparent;
    border: 1px solid #7b2cbf;
    color: #ffffff;
    font-size: 1.8rem;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
}


/* MOBILE */

@media (max-width: 750px) {

    .nav-container {
        min-height: 72px;
        gap: 12px;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo-image {
        width: 120px;
        max-width: 120px;
        height: auto;
        display: block;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .navigation {
        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;

        gap: 0;

        padding: 10px 0;

        background: rgba(8, 8, 8, 0.98);

        border-top: 1px solid rgba(123, 44, 191, 0.4);
        border-bottom: 1px solid rgba(123, 44, 191, 0.4);
    }

    .navigation.active {
        display: flex;
    }

    .navigation a {
        width: 100%;
        padding: 14px 22px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .call-button {
        display: none;
    }

}
/* =========================================================
   MOBILE NAVIGATION IMPROVEMENT
   ========================================================= */

@media (max-width: 750px) {

    .navigation {
        padding: 15px;

        background:
            linear-gradient(
                145deg,
                rgba(8, 8, 8, 0.98),
                rgba(35, 10, 48, 0.98)
            );

        border-top: 1px solid #7b2cbf;

        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.45);
    }


    .navigation a {
        padding: 15px 18px;

        color: #ffffff;

        font-weight: 600;
        text-align: left;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.08);

        border-radius: 7px;

        transition: 0.2s ease;
    }


    .navigation a:hover {
        background:
            rgba(123, 44, 191, 0.18);

        padding-left: 24px;
    }


    /* BOOKING BUTTON */

    .navigation .mobile-booking-link {
        margin-top: 12px;

        background:
            linear-gradient(
                135deg,
                #7b2cbf,
                #9d4edd
            );

        color: #ffffff;

        text-align: center;

        border: none;

        border-radius: 9px;

        font-weight: 700;
    }


    .navigation .mobile-booking-link:hover {
        background:
            linear-gradient(
                135deg,
                #9d4edd,
                #c77dff
            );

        padding-left: 18px;
    }


    /* HAMBURGER BUTTON */

    .hamburger {
        width: 46px;
        height: 46px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;

        background:
            rgba(123, 44, 191, 0.12);

        border: 1px solid #7b2cbf;

        border-radius: 10px;

        color: #ffffff;

        font-size: 1.6rem;
    }

}
/* =========================================================
   ADMIN MOBILE IMPROVEMENTS
   ========================================================= */

@media (max-width: 700px) {

    /* ADMIN HEADER */

    .header .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px 0;
    }

    .header .logo-image {
        width: 110px;
    }

    .header .nav-container h2 {
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        margin: 0;
    }

    .admin-home-button {
        width: 100%;
        text-align: center;
        padding: 9px 12px;
    }


    /* ADMIN PAGE */

    .booking-section {
        padding-top: 170px;
    }

    #admin-content {
        width: 100%;
    }


    /* REFRESH BUTTON */

    #refresh-bookings {
        width: 100%;
    }


    /* TABLE */

    .admin-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-bookings-table {
        min-width: 900px;
    }

    .admin-bookings-table th,
    .admin-bookings-table td {
        padding: 10px;
        font-size: 0.85rem;
        white-space: nowrap;
    }


    /* BOOKING DETAILS */

    .booking-details-panel {
        padding: 18px;
        border-radius: 12px;
    }

    .booking-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-details-message,
    .booking-details-actions {
        grid-column: auto;
    }


    /* ACTION BUTTONS */

    .booking-details-actions {
        flex-direction: column;
    }

    .booking-action-button {
        width: 100%;
        min-height: 46px;
    }


    /* STATUS DROPDOWN */

    .booking-status {
        min-width: 140px;
    }

}
/* =========================================================
   ADMIN TABLE — DESKTOP IMPROVEMENT
   ========================================================= */

@media (min-width: 701px) {

    .admin-table-wrapper {
        width: 100%;
        overflow-x: auto;
    }

    .admin-bookings-table {
        width: 100%;
        min-width: 1100px;
        table-layout: auto;
    }

    .admin-bookings-table th,
    .admin-bookings-table td {
        padding: 14px 16px;
        vertical-align: middle;
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
        line-height: 1.4;
    }

    /* DATUM */

    .admin-bookings-table th:nth-child(1),
    .admin-bookings-table td:nth-child(1) {
        min-width: 115px;
        white-space: nowrap;
    }

    /* TID */

    .admin-bookings-table th:nth-child(2),
    .admin-bookings-table td:nth-child(2) {
        min-width: 90px;
        white-space: nowrap;
    }

    /* KUND */

    .admin-bookings-table th:nth-child(3),
    .admin-bookings-table td:nth-child(3) {
        min-width: 130px;
    }

    /* TELEFON */

    .admin-bookings-table th:nth-child(4),
    .admin-bookings-table td:nth-child(4) {
        min-width: 135px;
        white-space: nowrap;
    }

    /* E-POST */

    .admin-bookings-table th:nth-child(5),
    .admin-bookings-table td:nth-child(5) {
        min-width: 200px;
    }

    /* TJÄNST */

    .admin-bookings-table th:nth-child(6),
    .admin-bookings-table td:nth-child(6) {
        min-width: 130px;
    }

    /* MEDDELANDE */

    .admin-bookings-table th:nth-child(7),
    .admin-bookings-table td:nth-child(7) {
        min-width: 200px;
    }

    /* STATUS */

    .admin-bookings-table th:nth-child(8),
    .admin-bookings-table td:nth-child(8) {
        min-width: 155px;
        white-space: nowrap;
    }

}
