/*=========================================
    General Styles
=========================================*/
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1; /* Pushes footer to the bottom */
}

/*=========================================
    Back to Top Button
=========================================*/
.backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #3d3d3e;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* Show the button when scrolling */
.backToTop.show {
    opacity: 1;
    visibility: visible;
}

.backToTop:hover {
    background-color: #7594ac;
}

@media (max-width: 768px) {
    .backToTop {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}
/*=========================================
    BUtton
=========================================*/

/* Button Styling */
.bookButton {
    background-color: #3d3d3e; /* Dark gray */
    color: #fff; /* White text */
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.bookButton:hover {
    background-color: #7594ac; /* Lighter gray for hover effect */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .heading {
        font-size: 20px; /* Slightly smaller heading for tablets */
    }

    .text {
        font-size: 14px; /* Adjust text size for smaller screens */
    }
}

/*=========================================
    Colors
=========================================*/
.eggshell {
    background-color: #f2f3f1;
}

.blue {
    color: #7594ac;
}

.grey {
    color: #3d3d3e;
}

/*=========================================
    Fonts
=========================================*/
@import url('https://fonts.googleapis.com/css2?family=Lora&family=Montserrat:wght@200;700&display=swap');

/*=========================================
    Header (Sticky) NAV BAR
=========================================*/
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #f2f3f1; /* Eggshell */
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

/* Logo Styling */
.logo-img {
    height: 140px;
    width: auto;
}

/* Navbar Styling */
.navbar-nav {
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #3d3d3e;
}

.nav-link:hover {
    color: #7594ac;
}

/*--------------------------------------------Navbar Toggler Button */
.navbar-toggler {
    border: none;
    background: none;
    outline: none;
    padding: 5px;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: #3d3d3e;
    position: relative;
    transition: background-color 0.3s ease;
}

/* Add lines to make a hamburger menu */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #3d3d3e;
    position: absolute;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Change icon on hover */
.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:hover .navbar-toggler-icon::before,
.navbar-toggler:hover .navbar-toggler-icon::after {
    background-color: #7594ac;
}

/* Animate toggle when expanded */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}


/*=========================================
    Social Icons in Header
=========================================*/
.socialIconsHeader i {
    font-size: 20px;
    color: #3d3d3e;
    transition: color 0.3s ease;
}

.socialIconsHeader i:hover {
    color: #7594ac;
}

/*=========================================
    Main Image (After Header)
=========================================*/
.main-image-section {
    width: 100%;
    height: 70vh; /* Adjust height if needed */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}

/* Ensure the Image is Centered */
.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures full coverage */
    object-position: center center; /* Centers image */
}


/*=========================================
    About me section
=========================================*/

.about-section {
    padding-bottom: 100px; /* Adds extra space before the footer */
}

/*=========================================
    Courses Section
=========================================*/
.courses-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 50px auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #3d3d3e; /* Dark gray */
    margin-bottom: 15px;
}

/* Course Info */
.course-info,
.course-price {
    font-size: 18px;
    font-weight: 700;
    color: #3d3d3e; /* Dark gray */
    margin-bottom: 15px;
}

/* Course Subtitle */
.course-subtitle {
    font-size: 22px;
    font-weight: 700;
    color: #7594ac; /* Blue accent */
    margin-top: 20px;
}

/* Course List */
.course-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.course-list li {
    font-size: 18px;
    font-family: 'Lora', serif;
    color: #3d3d3e;
    margin-bottom: 5px;
}

.course-description {
    font-size: 16px;
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: #3d3d3e;
    margin-bottom: 20px;
    text-align: justify;
}

.course-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Ensures images stack on smaller screens */
}

/* Ensure Images Scale Responsively */
.course-images img {
    width: 90%; /* Keeps them side-by-side on large screens */
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px;
    transition: transform 0.3s ease;
}

/*=========================================
    Kontakt
=========================================*/

/*--------------------------------------------Map*/

#map {
	width: 100%;
	height: 300px;
	margin: 100px 0 100px 0;
}
/*============================
    Contact Image Section (Full-Width & Responsive)
============================*/
.contact-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70vh; /* Adjustable height */
    overflow: hidden;
    position: relative;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures full coverage */
    object-position: center; /* Centers the image */
}

/* Responsive Adjustment for Mobile */
@media (max-width: 768px) {
    .contact-image-section {
        height: 50vh; /* Reduce height for smaller screens */
    }
}

/*=========================================
    Maintenance Page Styling
=========================================*/
.maintenance-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #fff;
    max-width: 800px;
    margin: 100px auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Heading */
.maintenance-container h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #3d3d3e;
}

/* Description */
.maintenance-container p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    max-width: 600px;
}

/* Maintenance Image */
.maintenance-image-section {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.maintenance-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}




/*=========================================
    Footer (Sticky)
=========================================*/
.footer {
    background-color: #f2f3f1;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    width: 100%;
}

/* Footer Content */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer-left .footer-logo {
    width: 120px;
    height: auto;
}

.footer-center {
    text-align: center;
    flex-grow: 1;
}

.footer-right {
    text-align: right;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-right {
        text-align: center;
    }
}
