/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
    font-family: 'Roboto', sans-serif;
}

/* Root Layout */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


/* Top Bar */
.top-bar {
    width: 100%;
    height: 4vh;
    background-color: #ffd966;
    padding: 1.1vh 1.5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1001;
    transition: transform 0.1s ease-in-out;
}

.top-bar.hidden {
    transform: translateY(-100%);
}

header.top-bar-hidden {
    top: 0;
}

.phone-number, .opening-hours {
    font-size: 14px;
}

.top-bar .icon {
    width: 2.5vh; /* Adjust the size as needed */
    height: auto;
    margin-right: 8px; /* Spacing between the icon and text */
    vertical-align: middle; /* Aligns the icon with the middle of the text */
}

main {
    padding-top: calc(4vh + 6vh); /* Accounts for top-bar and header heights */
}

/* Header Styling */
header {
    width: 100%;
    background-color: #ffffff;
    padding: 1.6vh 1.5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 4vh;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: top 0.1s ease-in-out;
}

header p {
    font-size: 2rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    margin-left: 15px;
}

header a {
    text-decoration: none;
    color: #000000;
}

header nav {
    display: flex;
}

header nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
}

header nav a:hover {
    transform: scale(1);
    color: #333;
    transition: transform 0.5s ease;
}

.nav-links {
    position: fixed;
    top: 0;
    margin-right: 0%;
    right: -100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: right;
    gap: 2rem;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 9999;
}

.nav-links.active {
    right: 0;
}

.nav-links a {
    position: relative;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ffd966;
    transition: width 0.5s ease;
}

.nav-links a:hover::after {
    width: 100%;
}
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    background-color: white;
    border-radius: 10px;
    list-style: none;
    padding-top: 15px;
    margin: 0;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 10px 20px;
}

.dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.dropdown-menu li a:hover {
    color: #000;
}

/* Show the dropdown when active */
.dropdown.active .dropdown-menu {
    display: block;
}

.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    position: relative;
    z-index: 9999;
}

.burger-menu div {
    width: 28px;
    height: 3px;
    background-color: #333;
    border-radius: 0px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animated Burger States */
.burger-menu.active .line1 {
    transform: rotate(45deg) translate(5px, 9px);
}

.burger-menu.active .line2 {
    opacity: 0;
    transform: translateX(-20px);
}

.burger-menu.active .line3 {
    transform: rotate(-45deg) translate(5px, -9px);
}

/* Main Content */
main {
    padding-top: 11vh;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('taxifotocut4.jpeg');
    background-size: cover;
    background-position: center; /* Initial background position */
    background-repeat: no-repeat;
    background-attachment: scroll;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Black transparent overlay */
    z-index: 1; /* Ensures it appears above the background but below text */
}

.hero-text {
    position: relative; /* To ensure it's above the overlay */
    z-index: 2; /* Places the text above the overlay */
    text-align: left; 
    padding: 4vh 0;
    color: #ffffff;
}

.hero-text h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.hero-text h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    padding: 3% 0;
    line-height: 1;
    margin: 0 auto; /* Ensures the text stays centered within its container */
}
.hero-button {
    background-color: #ffd966; /* Same yellow as top bar */
    color: #000;
    padding: 1rem 2rem; /* Adjust padding for size */
    border: none;
    border-radius: 20px; /* Rounded corners */
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    margin-top: 1.5rem; /* Space between the text and the button */
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: adds a slight shadow */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-button:hover {
    background-color: #ffe28a; /* Slightly lighter yellow on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

.hero-button:active {
    transform: scale(0.95); /* Shrinks slightly when clicked */
}

/* Services Section */
.services {
    max-width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: #ffffff;
    margin: 0 auto;
    margin-top: 3vh;
    margin-bottom: 3vh;
    padding: 20px 0;
}

.service, .option {
    background-color: #ffd966;
    min-height: 250px;
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.service {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.services h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
}

.services p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    
}

.option {
    background-color: #ffe28a;
}

.service img, .option img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1%;
    display: inline-block;
}

.service:hover {
    transform: translateY(-5px);
}

/* Testimonials Section */
.testimonials {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

/* Contact Form Section */
.contact-form-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between; /* Ensure both items are aligned properly */
    gap: 5vw;
    background-color: #f9f9f9;
    padding: 2vw;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}


.contact-form {
    max-width: 30vw;
    flex: 1;
    background-color: #e7e6de;
    border-radius: 10px;
    margin-left: auto; /* Align the form to the left */
    display: flex;
    flex-direction: column;
    padding: 1.5vh;
    gap: 1.5vh;
}


.contact-info {
    max-width: 400px;
    flex: 2;
    padding: 1.5vh;
    margin-right: auto; /* Pushes contact-info to the right */
    text-align: left; /* Keep text aligned to the left */
}

.contact-info h2 {
    margin-bottom: 8vh;
}

.contact-info p {
    font-size: 1.5rem;
    padding-top: 3vh;
}

.contact-info .spech p {
    font-size: 1rem;
    padding-top: 4vh;
}

.contact-info .icon {
    width: 4vh; /* Adjust the size as needed */
    height: auto;
    margin-right: 0.4vw; /* Spacing between the icon and text */
    vertical-align: middle; /* Aligns the icon with the middle of the text */
    border-radius: 8px;
}


.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-top: 20px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

button[type="submit"] {
    background-color: #ffd149;
    padding: 10px 40px;
    margin-top: 1vh;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #ffda69;
}

.privacy-policy {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    gap: 0.3vh;
}

.privacy-policy input {
    width: auto;
    height: auto;
    margin-top: 2px;
}

.privacy-policy label {
    font-size: 1rem;
    font-weight: 400;
    color: #333;
}
/* Footer Styling */
.footer {
    background-color: #333;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer-content {
    display: flex;
    justify-content: space-between; /* Aligns items evenly */
    align-items: center; /* Ensures items align at the top */
    flex-wrap: wrap;
    width: 90%; /* Allows it to span most of the width */
    padding: 4vh 5vw; /* Adds consistent padding */
}
.footer-title {
    flex: 1;
    text-align: left;
    font-size: 3rem;
    margin-bottom: 1vh;
    margin-right: 2vw;
}
.footer-title a {
    text-decoration: none;
    color: #fff;
}
.footer-columns {
    display: flex;
    flex-direction: row;
    flex: 2; /* Allows columns to take proportional space */
    justify-content: space-around; /* Spreads columns evenly */
    gap: 2vw;
}
.footer-column {
    text-align: left;
}
.footer-column h3 {
    margin-bottom: 2vh;
    font-size: 1.4rem;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul li {
    margin-bottom: 1vh;
    display: flex;
    align-items: center;
}
.footer-column ul li .footer-dot {
    width: 8px;
    height: 8px;
    background-color: #ffd966; /* Yellow color */
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
.footer-column ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
}
.footer-column ul li a:hover {
    text-decoration: none;
    color: #ffd966;
    transition: 0.3s;
}
.footer-column ul li img.footer-icon {
    width: 2vh; /* Adjust size as needed */
    height: auto;
    color: #ffd966;
    margin-right: 8px;
}
.footer-copyright {
    text-align: center;
    font-size: 1.2vh;
    color: #ccc; /* Light gray for subtle appearance */
    padding: 1vh 0; /* Add some space around the text */
    margin-top: 2vh;
}

.partners {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensure images and divider are aligned */
    justify-content: center; /* Center content */
    gap: 2vw; /* Space between images and divider */
    min-height: 240px; /* Set minimum height to match largest image */
    position: relative;
}
.partners img {
    width: 240px; /* Consistent width for both images */
    height: auto;
    object-fit: contain;
}
.partners .partner-small {
    width: 200px;
}
.divider {
    width: 1px; /* Thin vertical line */
    background-color: #ffffff; /* Yellow for visibility */
    align-self: stretch; /* Stretch to match parent container's height */
    margin: 1vw; /* Remove additional spacing */
}
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-overlay.active {
    opacity: 2;
    visibility: visible;
}

.history {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 2rem; 
    padding: 12vh 4vw; 
    flex-wrap: wrap; 
    text-align: center; 
}

.history img {
    max-width: 40%; 
    height: 100%; 
    width: 100%;
    object-fit: cover; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.history-text {
    max-width: 40%; 
    text-align: left;
    font-size: 1.2rem; 
    line-height: 1.6; 
    color: #333; 
    font-family: 'Roboto', sans-serif; 
}

.Impressum {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensures it covers the full height of the viewport */
    background-color: #f9f9f9; /* Light background for better readability */
    padding: 2rem;
    box-sizing: border-box; /* Includes padding in width/height calculations */
}

.impressum-text {
    max-width: 800px; /* Limits the width for better readability */
    padding: 2rem; /* Adds space inside the container */
    text-align: left; /* Aligns text to the left */
    font-family: 'Roboto', sans-serif; /* Consistent font */
    color: #333; /* Neutral text color */
    line-height: 1.6; /* Improves readability */
}

.impressum-text h1, 
.impressum-text h2 {
    font-family: 'Oswald', sans-serif; /* Makes headings stand out */
    margin-bottom: 1rem; /* Space below headings */
    color: #000; /* Stronger color for headings */
}

.impressum-text p {
    margin-bottom: 1.5rem; /* Space between paragraphs */
}

.impressum-text a {
    color: #007bff; /* Link color */
    text-decoration: none; /* Removes underline */
}
.Datenschutz {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensures the section covers the full viewport height */
    background-color: #f9f9f9; /* Light background for better readability */
    padding: 2rem;
    box-sizing: border-box; /* Includes padding in width/height calculations */
}

.datenschutz-text {
    max-width: 900px; /* Limits the width for better readability */
    padding: 2rem; /* Adds spacing inside the container */
    text-align: left; /* Aligns text to the left */
    font-family: 'Roboto', sans-serif; /* Consistent font */
    color: #333; /* Neutral text color */
    line-height: 1.6; /* Improves readability */
}

.datenschutz-text h1, 
.datenschutz-text h2, 
.datenschutz-text h3, 
.datenschutz-text h4 {
    font-family: 'Oswald', sans-serif; /* Makes headings stand out */
    margin-bottom: 1rem; /* Space below headings */
    color: #000; /* Stronger color for headings */
}

.datenschutz-text p {
    margin-bottom: 1.5rem; /* Adds space between paragraphs */
}

.datenschutz-text a {
    color: #007bff; /* Blue link color */
    text-decoration: none; /* Removes underline */
}

.datenschutz-text a:hover {
    text-decoration: underline; /* Adds underline on hover for clarity */
}

.datenschutz-text ul {
    padding-left: 1.5rem; /* Adds indentation for lists */
    margin-bottom: 1.5rem; /* Space below lists */
}

.datenschutz-text li {
    margin-bottom: 0.8rem; /* Space between list items */
}

.datenschutz-text strong {
    font-weight: bold; /* Highlights important text */
}
/* Confirmation Container */
.confirmation-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff; /* White background for content */
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: auto; /* Center horizontally */
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Headings and Paragraphs */
.confirmation-container h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.confirmation-container p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Home Button */
.home-button {
    display: inline-block;
    background-color: #ffd966; /* Matching Stocchi's yellow */
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Adds a slight shadow */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.home-button:hover {
    background-color: #ffcc33; /* Slightly darker yellow */
    transform: translateY(-2px); /* Subtle lift on hover */
}

@media (min-width: 1200px) {
    .hero {
        position: relative;
        overflow: hidden;
        background-image: url('taxifotocut3.jpeg');
        background-size: cover;
        background-position: center; /* Initial background position */
        background-repeat: no-repeat;
        background-attachment: scroll;
    }
    
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.1); /* Black transparent overlay */
        z-index: 1; /* Ensures it appears above the background but below text */
    }
    
    .hero-text {
        position: absolute; /* Allow precise positioning */
        top: 8%;
        left: 4%; /* Adjustable margin for fine-tuning */
        z-index: 2; /* Places the text above the overlay */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Vertically center content inside the text block */
        width: 25vw; /* Adjustable width for the text block */
        padding: 2%;
        color: #ffffff;
        text-align: left;
        background-color: rgba(0, 0, 0, 0.0); /* Optional background for better text readability */
    }
    .hero-text h2 {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    .hero-text h1 {
        padding: 2.5vh 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
}
@media (max-width: 1440px) {
    .hero-text h2 {
        font-size: 3.5rem;
    }
    .hero-text h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 1024px) {
    .hero-text h2 {
        font-size: 3rem;
    }
    .hero-text h1 {
        font-size: 1.4rem;
    }

    .history {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align image and text */
        text-align: center; /* Center align the text */
    }

    .history img {
        max-width: 80%; /* Larger image for centered layout */
    }

    .history-text {
        max-width: 100%; /* Full-width text */
    }

    .contact-form-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-info, .contact-form {
        max-width: 100%;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 3vh;
    }
    .footer-title {
        text-align: center;
    }
    .footer-columns {
        flex-direction: column;
        align-items: left;
        gap: 3vh;
    }
    .partners {
        align-items: center;
    }
    .divider {
        width: 90%; /* Adjust to fit above images on smaller screens */
        height: 1px;
        margin: 1vh auto; /* Centers the divider */
    }
}

@media (max-width: 991px) {
    .nav-links {
        padding: 2rem;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 0px;
        right: 0px;
        background: #fff;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1002;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
    }

    .services .service:nth-child(9) {
        grid-column: 1 / -1; /* Spans across both columns */
        justify-self: center; /* Centers the item */
    }
}

@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 2.5rem;
    }
    .hero-text h1 {
        font-size: 1.4rem;
    }

    .services {
        grid-template-columns: 2fr;
    }
}

@media (max-width: 480px) {
    .hero-text {
        text-align: left;
        width: 95%;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
    .hero-text h1 {
        font-size: 1.2rem;
        margin: 0 auto;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .partners img {
        width: 200px;
        margin-top: 3vh;
    }
}

@media (max-width: 320px) {
    .hero-text h2 {
        font-size: 1.8rem;
    }
    .hero-text h1 {
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
        position: static;
        height: auto;
        width: auto;
        flex-direction: row;
        box-shadow: none;
        transition: none; /* No slide effect on larger screens */
    }
}

@media (min-width: 1441px) {
    .hero-text h2 {
        font-size: 4rem;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }
}

