@import url('https://fonts.googleapis.com/css2?family=Londrina+Sketch&family=Roboto+Slab:wght@100..900&display=swap');

:root {
    --main_font: "Londrina Sketch", sans-serif;
    --secnd_font: "Roboto Slab", serif;
    --gold: #d4af37;
    --font_color: #f2f2f2df;
}

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

img,
a {
    user-select: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    font-family: var(--secnd_font);
    overflow-x: hidden;
}

body {
    background-color: #0b0b0b;
    color: var(--font_color);
    line-height: 1.6;
    overflow-x: hidden;
}

.loader {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    /* Initially hidden */
}

a {
    text-decoration: none;
    color: #d4af37;
    /* Primary color */
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
    /* Change color on hover */
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
}

.logo a {
    color: var(--gold);
    font-size: 3rem;
    font-weight: bold;
    text-decoration: none;
    font-family: var(--main_font);
    /* Elegant font for logo */
}

/* Navigation Links */
.nav_links {
    display: flex;
    gap: 20px;
}

.nav_links ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav_links ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.6rem;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav_links ul li a:hover {
    color: var(--gold);
}

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

/* Dropdown Trigger */
.dropdown>a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-flex;
    /* Align the trigger properly */
    align-items: center;
    /* Center text and icon */
}

.dropdown>a:hover {
    color: var(--gold);
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 100%;
    /* Align directly below the trigger */
    left: 0;
    background-color: #444;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px 0;
    z-index: 10;
    min-width: 180px;
    /* Ensures consistent width */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown Links */
.dropdown-content li {
    list-style: none;
}

.dropdown-content li a {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content li a img {
    margin-right: 10px;
    /* Adds space between the flag and text */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    /* Makes icons circular for aesthetics */
}

.dropdown-content li a:hover {
    background-color: #555;
    /* Highlight effect */
    color: var(--gold);
}

/* Adjust the default state of the dropdown for non-hover */
.dropdown-content {
    visibility: hidden;
    /* Ensures no visual issues when not hovered */
    opacity: 0;
    transform: translateY(-10px);
    /* Slightly hidden above */
    transition: all 0.3s ease-in-out;
}

/* When hovered */
.dropdown:hover .dropdown-content {
    visibility: visible;
    /* Make visible on hover */
    opacity: 1;
    transform: translateY(0);
    /* Slide into position */
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .dropdown-content {
        left: auto;
        right: 0;
        /* Align dropdown to the right on smaller screens */
    }
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Rotate burger lines when active */
.burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nav_links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #333;
        color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: right 0.3s ease;
    }

    .nav_links.active {
        right: 0;
    }

    .burger-menu {
        display: flex;
    }

    .nav_links ul {
        flex-direction: column;
        gap: 20px;
    }
}



hr {
    width: 90vw;
    border-color: var(--gold);
    justify-self: center;

}



/* Hero Section */
.about {
    width: 100vw;
    height: 100vh;
    background-color: #0b0b0b;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.about_container {
    display: flex;
    flex-direction: column;
    width: 40%;
    height: 80%;
    justify-content: space-between;
}


.about_text {
    text-transform: uppercase;
    font-size: 1.3rem;
    background-color: #333333c5;
    border: 1px solid #eac258;
    color: #eac258;
    letter-spacing: 3px;
    padding: 1rem;
    text-align: center;
    max-width: 35%;
    box-sizing: border-box;
    margin-top: 8rem;
}

.visionbau_text {
    font-family: var(--main_font);
    color: var(--gold);
    font-size: 3.5rem;
}

.about_container p {
    font-size: 1.7rem;
    font-family: var(--secnd_font);
    color: var(--font_color);
}

.about_buttons {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.about_buttons a {
    font-size: 2rem;
    font-family: var(--main_font);
    font-weight: bold;
}

.about img {
    width: 50rem;
    border-radius: 5rem;
    border: 3px solid #eac258;
}

.image-overlay {
    position: relative;
    display: inline-block;
    /* This ensures the overlay wraps around the image size */
}

.image-overlay img {
    width: 43rem;
}

.image-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* 40% transparent black */
    z-index: 1;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .about {
        flex-direction: column;
        /* Stack content vertically */
        height: auto;
        /* Allow height to adjust */
        padding: 2rem;
    }

    .about_container {
        width: 90%;
        /* Take up most of the screen width */
        gap: 1.5rem;
    }

    .about_text {
        max-width: 100%;
        /* Expand to fit screen width */
    }

    .visionbau_text {
        font-size: 2.5rem;
        /* Reduce font size for smaller screens */
    }

    .about_container p {
        font-size: 1.5rem;
        /* Adjust font size for readability */
        text-align: left;
        /* Align text to the left for smaller screens */
    }

    .about_buttons a {
        font-size: 1.4rem;
        padding: 0.8rem 1.2rem;
        margin-bottom: 2rem;
    }

    .image-overlay img {
        width: 100%;
        /* Make the image responsive */
        border-radius: 8px;
    }
}

@media screen and (max-width: 480px) {
    .visionbau_text {
        font-size: 2rem;
        /* Further reduce font size */
        text-align: center;
    }

    .about_container p {
        font-size: 1.3rem;
        /* Reduce text size further */
    }

    .about_buttons a {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }

    .image-overlay img {
        width: 100%;
        /* Fully responsive image */
        border-radius: 5px;
    }
}

/* Offer Section */
.offer-details {
    user-select: none;
    padding: 20px;
    background-color: #0b0b0b;
    color: #f2f2f2;
    font-family: "Roboto Slab", serif;
}

.offer-header h2 {
    font-size: 5rem;
    color: var(--gold);
    font-family: var(--main_font);
    text-align: center;
    margin-bottom: 20px;
}

.offer-header p {
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
}

.offer-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border: 1px solid var(--gold);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    max-width: 400px;
    height: 88rem;
    margin: auto;
}

.offer-card img {
    width: 100%;
    height: 250px;
    /* Ensures consistent image size */
    object-fit: cover;
    /* Ensures image fits within the card */
    border-radius: 10px;
    margin-bottom: 15px;
}

.offer-card h3 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.offer-card p {
    font-size: 1.4rem;
    line-height: 1.8;
}

.offer-card ul {
    margin: 15px 0;
    text-align: left;
    padding-left: 20px;
}

.offer-card ul li {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .offer-grid {
        grid-template-columns: 1fr;
        /* Stack cards on smaller screens */
    }

    .offer-card {
        max-width: 90%;
        height: fit-content;
    }
}



/* Statistics Section */
.stats-section {
    padding: 3rem 3rem;
    text-align: center;
    background-color: #0b0b0b;
    user-select: none;
}

.stats-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--gold);
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 20px 15px;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s;
}

.stat:hover {
    transform: scale(1.05);
}

.stat .number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--gold);
    display: inline-block;
}

.stat .percent {
    font-size: 1.2rem;
    color: var(--font_color);
}

.stat p {
    margin: 10px 0 0;
    font-size: 1.4rem;
    color: var(--font_color);
}

/* Mobile View */
@media screen and (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .stat {
        width: 80%;
    }

    .stats-section h2 {
        font-size: 2rem;
    }

    .stat .number {
        font-size: 3.5rem;
    }

    .stat .percent {
        font-size: 1.2rem;
    }

    .stat p {
        font-size: 1.4rem;
    }
}




/* Contact Section */
#contact {
    background-color: #0b0b0b;
    color: var(--font_color);
    padding: 50px 20px;
    font-family: var(--secnd_font);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

#contact h2 {
    text-transform: uppercase;
    font-size: 1.3rem;
    background-color: #333333c5;
    border: 1px solid #eac258;
    color: #eac258;
    letter-spacing: 3px;
    padding: 1rem;
    text-align: center;
    max-width: 25%;
    box-sizing: border-box;
    margin-bottom: 2rem;

}

.info_text {
    color: var(--gold);
    margin-bottom: 30px;
    font-size: 2.3rem;
    font-family: var(--main_font);
    font-weight: 600;
    text-align: center;
}

#contact h4 {
    font-family: var(--main_font);
    color: var(--font_color);
    font-size: 2rem;
    font-weight: 580;
    text-align: center;
    margin-bottom: 40px;

}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10rem;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.contact-wrapper form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #1c1c1c;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--gold);
}

.contact-wrapper label {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--font_color);
}

.contact-wrapper input,
.contact-wrapper textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid var(--gold);
    border-radius: 5px;
    background-color: #2b2b2b;
    color: var(--font_color);
    font-family: var(--secnd_font);
}

.contact-wrapper textarea {
    resize: none;
}

.contact-wrapper button {
    background-color: var(--gold);
    color: #0b0b0b;
    font-size: 18px;
    font-family: var(--main_font);
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}

.contact-wrapper button:hover {
    background-color: #b89c2f;
}


@media screen and (max-width: 768px) {
    #contact h2 {
        font-size: 1.6rem;
        /* Slightly smaller font size */
        max-width: 60%;
        /* Adjust the width for better fit */
        padding: 0.8rem;
        /* Reduce padding */
        margin-bottom: 1.5rem;
        /* Adjust spacing below the title */
    }

    .contact-wrapper {
        gap: 2rem !important;
    }

    .business-card {
        width: 35rem !important;
    }
}




/* Map Container */

iframe {
    width: 100%;
    height: 15rem;
    border: 1px solid var(--gold) !important;
    border-radius: 5px;
}


.map_cont {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    max-width: 500px;
    justify-content: space-between;
    height: 58.5rem;

}

.map_cont img {
    border-radius: 2rem;
    border: 1px solid var(--gold);
}

.map_cont h3 {
    color: var(--font_color);
    font-size: 2rem;
}

.business-card {
    width: 50rem;
    height: auto;
}


/* Footer Section */


.footer {
    max-width: 100%;
    width: 100%;
    background: #0b0b0b;
    border-radius: 6px;
}

.footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3.5rem !important;
    padding: 60px !important;
}

.footer-row .footer-col h4 {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 400;
}

.footer-col .links {
    margin-top: 20px;
}

.footer-col .links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-col .links li a {
    text-decoration: none;
    color: var(--font_color);
}

.footer-col .links li a:hover {
    color: var(--gold);
}

.footer-col p {
    margin: 20px 0;
    color: #bfbfbf;
    max-width: 300px;
}

.footer-col form {
    display: flex;
    gap: 5px;
}

.footer-col input {
    height: 40px;
    border-radius: 6px;
    background: none;
    width: 100%;
    outline: none;
    border: 1px solid var(--gold);
    caret-color: #fff;
    color: #fff;
    padding-left: 10px;
}

.footer-col input::placeholder {
    color: #ccc;
}

.footer-col form button {
    background: var(--gold);
    outline: none;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s ease;
}

.footer-col form button:hover {
    background: #cecccc;
}

.footer-col .icons {
    display: flex;
    margin-top: 30px;
    gap: 30px;
    cursor: pointer;
}

.footer-col .icons i {
    color: #afb6c7;
}

.footer-col .icons i:hover {
    color: #fff;
}

.footer_div {
    display: flex;
    flex-direction: column;
    align-items: center;
}


@media (max-width: 768px) {
    .footer {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
    }

    .footer .footer-row {
        padding: 20px;
        gap: 3rem;
    }

    .footer-col form {
        display: block;
    }

    .footer-col form :where(input, button) {
        width: 100%;
    }

    .footer-col form button {
        margin: 10px 0 0 0;
    }
}



@keyframes rotateText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}




@media (max-width: 768px) {
    .footer {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
    }

    .footer .footer-row {
        padding: 20px;
        gap: 1rem;
    }

    .footer-col form {
        display: block;
    }

    .footer-col form :where(input, button) {
        width: 100%;
    }

    .footer-col form button {
        margin: 10px 0 0 0;
    }
}





/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 30px;
    }

    .logo a {
        font-size: 2.5rem;
    }

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

    nav ul li a {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 3.6rem;
    }

    .hero h3 {
        font-size: 1.8rem;
    }

    .hero a {
        font-size: 1.4rem;
    }
}