@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import 'navigation.css';

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

html {
    font-family: 'Poppins', sans-serif;
    font-size: 0.625rem;
}

body {
    font-size: 1.6rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

/* ====== HERO ====== */
.hero_image {
    padding-top: 75px;
    width: 100%;
}

.hero_links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 10px;
    position: relative;
    top: -7px;
    background-color: #765c48;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero_links a {
    color: white;
}

/* ====== HERO END ====== */

/* ====== SERVICES ====== */
.services_description {
    max-width: 1400px;
    margin: 75px auto;
    padding: 20px;
    background-color: #765c48;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.services_description p {
    margin: 5px 0;
}

.services_description ul {
    list-style-type: none;
    padding: 0;
}

.services_description ul li {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services_description ul li::before {
    content: "✔";
    color: #4CAF50;
    margin-right: 10px;
}

/* ====== SERVICES END ====== */

/* ====== INFO ====== */
.info_section {
    padding: 100px 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.info_section p {
    margin-bottom: 20px;
}

.info_section h3 {
    font-size: 2.3rem;
    margin-bottom: 10px;
}

.info_section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.info_section ol li {
    margin-bottom: 10px;
}

/* ====== INFO END ====== */

/* ====== SWIPER ====== */
.swiper-container {
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    background-color: #dddddd3b;
    margin: 50px 20px;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: contain;
}

/* ====== SWIPER END ====== */

/* ====== ABOUT ME ====== */
.about_me_container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.about_me {
    padding: 100px 20px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.about_me h1,
.about_me p {
    margin-bottom: 20px;
}

.about_me_image {
    width: 100%;
    height: 100%;
    margin-bottom: 100px;
    padding: 0 20px;
}

/* ====== ABOUT ME END ====== */

/* ====== KONTAKT ====== */
.kontakt_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.kontakt_info {
    position: relative;
    padding: 40px;
    background: #765c48;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 25px 50px -12px rgba(118, 92, 72, 0.25);
}

.contact_form {
    padding: 40px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
}

.opening_hours_box {
    position: relative;
    padding: 5px 0;
}

.opening_hours_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.opening_hours_row:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1)
    );
}

.opening_hours_day {
    font-weight: 500;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.opening_hours_time {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.opening_hours_time.closed {
    color: #ff8b8b;
    font-weight: 600;
}

.form_group {
    margin-bottom: 25px;
}

.form_group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 1.4rem;
}

.form_group input,
.form_group select,
.form_group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background-color: #fff;
    font-family: inherit;
    font-size: 1.5rem;
    color: #2d2d2d;
    transition: all 0.2s ease;
}

.form_group textarea {
    min-height: 120px;
    resize: none;
}

.form_group input:hover,
.form_group select:hover,
.form_group textarea:hover {
    border-color: #d1d5db;
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
    outline: none;
    border-color: #765c48;
    box-shadow: 0 0 0 3px rgba(118, 92, 72, 0.1);
}

.submit_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: #765c48;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(118, 92, 72, 0.1),
                0 2px 4px -1px rgba(118, 92, 72, 0.06);
}

.submit_button:hover {
    background: #8b6d55;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(118, 92, 72, 0.15),
                0 3px 6px -1px rgba(118, 92, 72, 0.1);
}

.file_list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    max-height: 200px;
    overflow-y: auto;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.file_list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.4rem;
    color: #374151;
}

.file_list li:last-child {
    border-bottom: none;
}

.file_list button {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.file_list button:hover {
    background: #fee2e2;
}

input[type="file"] {
    width: 100%;
    padding: 12px;
    background-color: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="file"]:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.file_upload_preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.file_upload_preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#custom_opgave_type_container {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .kontakt_container {
        padding: 80px 16px 40px;
        gap: 30px;
    }

    .kontakt_info,
    .contact_form {
        padding: 30px 20px;
    }
}

/* ====== CONTACT FORM END ====== */

/* ====== FOOTER ====== */
footer {
    background-color: #dddddd;
    padding-top: 20px;
    margin-top: auto;
}

.footer_container {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

.footer_section {
    padding-left: 20px;
    margin-bottom: 10px;
}

.footer_copyright {
    margin-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.contact_link,
.social_link {
    display: block;
}

.fa-facebook {
    color: #3b5998;
    font-size: 4rem;
}

/* ====== FOOTER END ====== */

/* ====== MEDIA QUERIES ====== */
@media (min-width: 768px) {
    .hero_links {
        display: flex;
        justify-content: center;
    }

    .footer_container {
        flex-direction: row;
    }

    .footer_section {
        flex: 1;
    }
}

@media (min-width: 900px) {
    .hero_image {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        object-position: center;
    }

    .about_me_container {
        flex-direction: row;
        justify-content: space-between;
        height: 80vh;
    }

    .about_me_image {
        margin-top: 100px;
        width: 600px;
        height: 400px;
    }

    iframe {
        margin: 100px 0 50px 0;
        width: 600px;
    }

    .swiper-container {
        max-width: 1400px;
        margin: 50px auto;
    }
}