/* ===========================================
   AS Technical Solutions - Main Stylesheet
   Service-fokussierte Webseite
   =========================================== */

/* Reset */
h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    font-family: Arial;
}

html::before {
    content: ' ';
    display: block;
}

/* ===========================================
   Navigation & Header
   =========================================== */

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: black;
    transition: 0.5s, padding 0.5s;
    z-index: 9999;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 1.5rem;
    background: #000000;
}

.nav-logo {
    height: 60px;
    transition: 0.5s;
    margin-top: 5px;
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-menu-items {
    padding-left: 300px;
}

.nav-link {
    font-weight: 400;
    color: linear-gradient(45deg, #1a2526, #0073e6);
    transition: 1.3s;
}

.nav-link-dropdown-toggle {
    transition: 0.5s;
    font-size: 17px;
}

.nav-link:hover {
    color: #079ae3;
}

/* Dropdown Menu */
.product-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    border: 0px solid #ccc;
    box-shadow: 0 25px 39px rgba(30, 0, 255, 0.953);
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.nav-item:hover .product-dropdown {
    display: block;
    background-color: black;
}

.dropdown-item:hover {
    background-color: #0087ca00;
    color: white;
}

.product-dropdown li {
    padding: 0px;
}

.product-dropdown li a {
    text-decoration: none;
    color: #ffffff;
    font-size: clamp(20px, 2vw, 20px);
}

/* Nav List */
nav ul {
    list-style: none;
    display: flex;
    font-size: 1.2rem;
    margin-right: 800px;
}

@media screen and (max-width: 1223px) {
    nav ul {
        margin-right: 0 !important;
    }
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    display: inline-block;
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0087ca;
    transform-origin: bottom left;
    transition: transform 0.5s ease-out;
}

nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

a {
    color: White;
}

a:hover {
    color: red;
    transition: 2s;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #313131;
    padding: 10px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(17, 16, 16, 0.312);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
    position: absolute;
}

/* ===========================================
   Hero Section
   =========================================== */

.hero-content {
    z-index: 1;
    text-align: center;
    position: relative;
    padding: 50px 20px;
    color: white;
    background: linear-gradient(45deg, #1a2526, #0073e6);
    border-radius: 10px;
    margin: 20px;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-content h5 {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* ===========================================
   Buttons
   =========================================== */

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0087ca;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #2980b9;
}

.button:focus,
.button:active {
    outline: none;
}

.btn {
    display: inline-block;
    background-color: #0087ca;
    color: #000000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 20px;
}

/* WhatsApp Button */
.whatsapp-button {
    width: 150px;
    height: 40px;
    background-color: rgb(67, 210, 42);
    transition: transform 0.7s ease;
    border-radius: 10px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background-color: rgb(19, 104, 4);
}

/* ===========================================
   Leistungen / Services
   =========================================== */

.leistungen {
    text-align: center;
    align-items: center;
    color: white;
    margin-bottom: 100px;
    margin-top: 30px;
    background: linear-gradient(45deg, #1a2526, #0073e6);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.leistungen h2 {
    color: #ffffff;
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.leistungen p {
    font-size: clamp(17px, 1vw, 25px);
    line-height: 2.0em;
    font-weight: 630;
    color: #ffffff;
}

/* ===========================================
   Features
   =========================================== */

.features {
    border-radius: 30px;
}

.featuresblue {
    background-color: #b2741d;
    border: 2px solid #079ae3;
    border-radius: 30px;
    margin: 5%;
}

.feature {
    margin-bottom: 10px;
    text-align: center;
}

.feature h5 {
    color: rgb(255, 255, 255);
}

.feature h6 {
    margin-top: 5px;
}

.feature h6 strong {
    margin-top: 5px;
    color: rgb(0, 0, 0);
}

/* ===========================================
   Layout & Containers
   =========================================== */

.container {
    border: #000000;
}

.col {
    position: relative;
}

.cox {
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0);
    margin-bottom: 10px;
}

.text-right {
    color: white;
    text-align: left !important;
    font-size: 1.4rem;
    padding: 12px;
}

/* ===========================================
   Images
   =========================================== */

.img-left {
    transition: transform 0.7s ease;
    display: block;
    margin: 0 auto;
    width: 190px;
}

.img-left:hover {
    transform: scale(1.1);
}

.img-down {
    width: 800px;
}

.logo img {
    height: 120px;
    margin-left: 250px;
}

/* ===========================================
   Video Background
   =========================================== */

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 950px;
    object-fit: cover;
    z-index: -1;
}

/* ===========================================
   Swiper
   =========================================== */

swiper-container {
    width: 100%;
    height: 70%;
    border-radius: 30px;
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

/* ===========================================
   Footer
   =========================================== */

footer {
    background-color: #00000000;
    color: #ffffff;
    text-align: center;
}

/* ===========================================
   Misc
   =========================================== */

.imp {
    background-color: rgba(0, 0, 0, 0);
    color: #ffffff;
    margin: 80px 285px;
}

.rigts {
    font-size: 7px;
}

#phoneview {
    display: none;
}

/* ===========================================
   Media Queries
   =========================================== */

@media only screen and (max-width: 1824px) {
    nav ul {
        margin-right: 700px !important;
    }
}

@media only screen and (max-width: 1724px) {
    nav ul {
        margin-right: 500px !important;
    }
}

@media only screen and (max-width: 1524px) {
    nav ul {
        margin-right: 350px !important;
    }
}

@media only screen and (max-width: 1377px) {
    nav ul {
        margin-right: 200px !important;
    }
}

/* Mobile (max 1223px) */
@media screen and (max-width: 1223px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .hero-content {
        z-index: 1;
        text-align: center;
        position: relative;
        padding: 50px 20px;
        color: white;
        background: linear-gradient(45deg, #1a2526, #0073e6);
        border-radius: 10px;
        margin: 20px;
    }

    header {
        position: static;
        top: 0;
        left: 0;
        width: 100%;
        height: 30px;
        background-color: black;
        z-index: 999;
    }

    .nav-logo {
        margin-left: 5px;
    }

    .img-left {
        width: 300px;
    }

    .imp {
        margin: 0 !important;
        padding: 20px;
    }

    .video-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 50px;
        height: 10px;
        object-fit: cover;
        z-index: -1;
    }

    .cox {
        background-color: rgba(0, 0, 0, 0);
        width: 100%;
        border: 1px solid rgba(0, 0, 0, 0);
        margin-bottom: 10px;
    }

    #small {
        font-size: 20px;
        display: block;
    }

    .featuresblue {
        background-color: #b2741d;
        border: 2px solid #079ae3;
        border-radius: 30px;
        margin: 5%;
    }

    .feature {
        text-align: center;
    }

    .whatsapp-button {
        width: 150px;
        height: 40px;
        background-color: rgb(67, 210, 42);
        transition: 1s;
        border-radius: 10px;
    }
}

/* Phone (max 770px) */
@media only screen and (max-width: 770px) {
    #webview {
        display: none;
    }

    #phoneview {
        display: block;
    }

    html::before {
        content: ' ';
        display: block;
        background-image: url("assets/handy8.jpg");
        background-position: center;
        background-size: cover;
        height: 100vh;
        width: 100vw;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        position: fixed;
        z-index: -10;
    }
}
