/* ---------------------------------------------------------
   GLOBALT
--------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    display: block;

}

body {
    font-family: 'Inter', sans-serif;
    background-color:rgba(0,0,0,0.06);
}
.sticky-top {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.85) !important;
}
.container {
    max-width: 1320px;
}

/* ---------------------------------------------------------
   PREMIUM TYPOGRAFI – GABRIEL VEGA
--------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    letter-spacing: -0.5px;
    line-height: 1.15;
}

h1, .display-1, .display-2, .display-3 {
    letter-spacing: -1px;
}
h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
}

h2 {
    font-size: clamp(1.6rem, 2.5vw + 1rem, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 1.8vw + 1rem, 2rem);
}
p, li {
    line-height: 1.55;
}
.hero-text-box h1,
.hero-text-box .display-1,
.hero-text-box .display-2 {
    text-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.gv-display-xl {
    font-size: clamp(3rem, 5vw + 1rem, 5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.gv-display-lg {
    font-size: clamp(2.2rem, 3vw + 1rem, 3.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
}

.gv-display-md {
    font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
@media (max-width: 575px) {
    h1, h2, h3, h4, h5, h6,
    .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
        letter-spacing: -0.2px;
    }
}

/* ---------------------------------------------------------
   DESKTOP NAVIGATION
--------------------------------------------------------- */

.navbar-nav .nav-link {
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    padding: 0.75rem 1.25rem;
    transition: color 0.2s ease;
}

    .navbar-nav .nav-link:hover {
        color: #0d6efd;
        text-decoration:underline;
    }

/* ---------------------------------------------------------
   HAMBURGER-ANIMATION (ikon -> kryss)
--------------------------------------------------------- */

.navbar-toggler {
    border: none;
    padding: 0.25rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-toggler-icon {
    background-image: none !important;
    width: 28px;
    height: 3px;
    background-color: #000;
    position: relative;
    transition: all 0.3s ease;
}

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: "";
        width: 28px;
        height: 3px;
        background-color: #000;
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon::before {
        top: -8px;
    }

    .navbar-toggler-icon::after {
        top: 8px;
    }
.navbar-toggler.collapsed .navbar-toggler-icon {
    background-color: transparent;
}

    .navbar-toggler.collapsed .navbar-toggler-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .navbar-toggler.collapsed .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }

/* ---------------------------------------------------------
   MOBILMENY (Loopia-stil)
--------------------------------------------------------- */

@media (max-width: 991px) {
    #mainNav {
        background: #ffffff;
        padding: 0;
        border-top: 1px solid #eee;
        transform-origin: top;
        transform: scaleY(0);
        transition: transform 0.25s ease-out;
    }

        #mainNav.show {
            transform: scaleY(1);
        }
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        border-bottom: 1px solid #f2f2f2;
        text-transform: uppercase;
        font-weight: 600;
        color: #111;
    }

        .navbar-nav .nav-link:last-child {
            border-bottom: none;
        }
    .navbar-toggler-icon,
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        width: 32px;
        height: 3px;
    }
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.35);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease;
        z-index: 998;
    }

        .mobile-overlay.active {
            opacity: 1;
            visibility: visible;
        }
}
/* ---------------------------------------------------------
   HERO SECTION (uppdaterad)
--------------------------------------------------------- */

.hero-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 380px;
}
.hero-text-box {
    background: #ffffff;
    border-radius: 0 0 40px 0;
    z-index: 2;
    max-width: 70%;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.hero-image-box {
    position: absolute;
    right: 0;
    top: 80%;
    transform: translateY(-20%);
    width: 90%;
    height: 400px;
    z-index: 1;
    overflow: hidden;
    border-radius: 0 200px 200px 0;
}
.hero-image {
    width: 100%;
    height: 100%;
    background-image: url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
}
.hero-section {
    margin-bottom: 200px;
}
@media (max-width: 767px) {
    .hero-section {
        margin-bottom: -100px;
    }
}

/* ---------------------------------------------------------
   RESPONSIV DESIGN
--------------------------------------------------------- */

@media (max-width: 991px) {

    .hero-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .hero-text-box {
        max-width: 100%;
        border-radius: 0 0 30px 0;
        padding: 2rem;
    }

    .hero-image-box {
        position: relative;
        width: 100%;
        height: 260px;
        top: 0;
        transform: none;
        border-radius: 0 0 40px 0;
        margin-top: -20px;
    }
}
.btn {
    border-radius: 50px !important;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
}
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.btn-outline-primary {
    border-radius: 50px !important;
    padding: 0.6rem 1.4rem;
}
/* ---------------------------------------------------------
   ABOUT SECTION
--------------------------------------------------------- */

.about-section {
    margin-top: 60px;
}
.about-image-box {
    width: 100%;
    height: 580px;
    overflow: hidden;
    border-radius: 350px 0 0 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.about-image {
    width: 100%;
    height: 100%;
    background-image: url('/images/about.jpg'); 
    background-size: cover;
    background-position: center;
    filter: brightness(0.95);
}
@media (max-width: 991px) {
    .about-image-box {
        height: 260px;
        border-radius: 40px; 
    }
}
/* ---------------------------------------------------------
   EXPERTISE CARDS SECTION
--------------------------------------------------------- */

.expertise-cards-section {
    margin-top: 80px;
}
.expertise-card {
    background: #ffffff;
    border-radius: 200px 200px 0 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
    .expertise-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 40px rgba(0,0,0,0.10);
    }

@media (max-width: 575px) {
    .expertise-cards-section {
        margin-top: 40px;
    }
}
/* ---------------------------------------------------------
   EXPERIENCE CARDS (Loopia-style)
--------------------------------------------------------- */

.gv-exp-card {
    background-color: #e9ecef;
    border-top-left-radius: 48px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 48px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
    .gv-exp-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 40px rgba(0,0,0,0.10);
    }
.gv-exp-img {
    width: 50%;
    background-size: cover;
    background-position: center;
    border-radius: 50px 0 0 0;
}
.gv-exp-content {
    width: 50%;
    padding: 30px 40px 30px 30px;
    background-color: #e9ecef;
    border-radius: 0 0 50px 0;
}
@media (max-width: 767px) {
    .gv-exp-card {
        flex-direction: column;
        border-radius: 30px;
    }

    .gv-exp-img {
        width: 100%;
        height: 200px;
        border-radius: 30px 30px 0 0;
    }

    .gv-exp-content {
        width: 100%;
        border-radius: 0 0 30px 30px;
        padding: 20px;
    }
}
/* ---------------------------------------------------------
   ABOUT PAGE
--------------------------------------------------------- */

.about-page {
    margin-top: 60px;
}
.about-image-box {
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 200px 0 0 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.about-image {
    width: 100%;
    height: 100%;
    background-image: url('/images/gabrielvega.jpg'); /* Byt till din riktiga bild */
    background-size: cover;
    background-position: center;
}
.about-puff {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .about-puff:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 40px rgba(0,0,0,0.10);
    }
@media (max-width: 767px) {
    .about-image-box {
        height: 240px;
        border-radius: 40px;
    }
}
/* ---------------------------------------------------------
   CONTACT PAGE
--------------------------------------------------------- */

.contact-page {
    margin-top: 60px;
}
.contact-image-box {
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 200px 0 0 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-image {
    width: 100%;
    height: 100%;
    background-image: url('/images/contact.jpg'); /* Byt till din bild */
    background-size: cover;
    background-position: center;
}
.contact-puff {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .contact-puff:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 40px rgba(0,0,0,0.10);
    }
.contact-form .form-label {
    font-weight: 600;
}

.contact-input {
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease;
}

    .contact-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
    }
@media (max-width: 767px) {
    .contact-image-box {
        height: 240px;
        border-radius: 40px;
    }
}
.inputpot {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.input-validation-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25) !important;
}
.cookies-page {
    margin-top: 60px;
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #212529;
    color: #ffffff;
    padding: 15px 0;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

    .cookie-banner a {
        color: #0d6efd;
        text-decoration: underline;
    }

    .cookie-banner p {
        margin: 0;
    }
.services-page {
    margin-top: 60px;
}

.service-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .service-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 40px rgba(0,0,0,0.10);
    }
.service-cta {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
/* FOOTER */
.site-footer {
    background: #111;
    color: #ddd;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .footer-menu a:hover {
        color: #fff;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #777;
}
