/* Import Lato Font - Local */
@import url('fonts/lato.css');

/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: #999999;
    line-height: 1.6;
    background-color: #ffffff;
}

#wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
#header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger Button */
.hamburger-btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #999999;
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn:hover span {
    background-color: #000000;
}

/* Hamburger to X Animation */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Logo */
#logo {
    text-align: center;
}

#logo img {
    height: 80px;
    width: auto;
}

/* Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 111px; /* Unterhalb des Headers */
    left: 0;
    width: 100%;
    height: calc(100% - 111px);
    background-color: rgba(128, 128, 128, 0.5);
    z-index: 500;
}

.nav-overlay.active {
    display: block;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    left: 0;
    top: 111px; /* Unterhalb des Headers */
    width: 100%;
    max-height: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: max-height 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.side-nav.active {
    max-height: calc(100vh - 111px);
    overflow-y: auto;
}

/* Nav Menu */
.nav-menu {
    list-style: none;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
    border-right: 1px solid #e8e8e8;
}

.nav-menu > li:last-child {
    border-right: none;
}

.nav-menu > li > a,
.has-submenu-link {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #999999;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.has-submenu-link:hover {
    background-color: #f5f5f5;
    color: #000000;
}

/* Submenu */
.submenu {
    list-style: none;
    background-color: #f8f8f8;
    display: none;
    transition: max-height 0.3s ease;
    position: relative;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.submenu.active {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.submenu li {
    border-right: 1px solid #e0e0e0;
}

.submenu li:last-child {
    border-right: none;
}

.submenu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #999999;
    font-size: 14px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.submenu a:hover {
    background-color: #e8e8e8;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-banner-birds img {
    object-position: center 30%;
}

.hero-banner-amphibians img {
    object-position: center 60%;
}

/* Main Content */
#main-wrap {
    flex: 1;
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#wsite-content {
    max-width: 1200px;
}

/* Site Title */
#wsite-title {
    font-family: 'Lato', sans-serif;
    font-size: 35px;
    letter-spacing: 1px;
    color: #999999;
    margin-bottom: 30px;
    font-weight: 400;
    text-transform: none;
}

/* Content Title */
.wsite-content-title {
    font-family: 'Lato', sans-serif;
    font-size: 28px;
    color: #999999;
    margin-bottom: 25px;
    font-weight: 400;
}

/* Paragraphs */
.paragraph p {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 15px;
}

.paragraph p strong {
    font-weight: 700;
}

/* Lists in paragraphs */
.paragraph ul {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 15px;
    margin-left: 40px;
}

.paragraph ul li {
    margin-bottom: 8px;
}

.paragraph h3 {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    color: #999999;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 400;
}

/* Notice Box */
.notice-box {
    background-color: #f8f8f8;
    padding: 30px;
    margin-top: 40px;
    border-radius: 4px;
}

.notice-box h3 {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.notice-box p {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 15px;
}

.practice-address {
    margin-top: 25px;
}

.practice-address p {
    font-size: 20px;
    line-height: 1.8;
}

/* Form Messages */
.form-message {
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.success-message p {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.error-message p {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form h3 {
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    color: #999999;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #999999;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #999999;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #ffffff;
}

.form-group textarea {
    resize: vertical;
}

.name-fields {
    display: flex;
    gap: 15px;
}

.name-fields input {
    flex: 1;
}

.submit-btn {
    background-color: #999999;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    padding: 12px 30px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #000000;
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Two-Column Layout */
.two-column-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.left-column {
    flex: 2;
}

.right-column {
    flex: 1;
    min-width: 280px;
}

/* Home Page Text Styling */
.greeting {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 400;
}

.welcome-text {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 700;
}

.left-column p {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Notice Box Sidebar */
.notice-box-sidebar {
    background-color: transparent;
    padding: 25px;
    border-radius: 0;
    border: none;
}

.notice-title {
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    color: #999999;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.notice-box-sidebar p {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 15px;
}

.practice-info {
    background-color: transparent;
    padding: 20px;
    border-radius: 0;
    margin-top: 20px;
    border: none;
}

.practice-info p {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    color: #999999;
    line-height: 1.8;
    margin-bottom: 0;
}

.practice-info strong {
    font-weight: 700;
    white-space: nowrap;
}

/* Footer */
#footer {
    background-color: #ffffff;
    border-top: 1px solid #e8e8e8;
    padding: 20px 0;
    margin-top: 40px;
}

#footer p {
    text-align: center;
    font-size: 14px;
    color: #999999;
}

/* Responsive Design */
@media screen and (max-width: 767px) {
    #logo img {
        height: 60px;
    }

    #header {
        padding: 12px 0;
    }

    .nav-overlay {
        top: 85px;
        height: calc(100% - 85px);
    }

    .side-nav {
        top: 85px;
    }

    .side-nav.active {
        max-height: calc(100vh - 85px);
    }

    .hero-banner {
        height: 250px;
    }

    #wsite-title {
        font-size: 28px;
    }

    .wsite-content-title {
        font-size: 24px;
    }

    .paragraph p,
    .paragraph ul,
    .notice-box p,
    .practice-address p {
        font-size: 16px;
    }

    .notice-box {
        padding: 20px;
    }

    .name-fields {
        flex-direction: column;
        gap: 10px;
    }

    .hamburger-btn {
        left: 15px;
    }

    /* Two-column layout becomes single column on tablet/mobile */
    .two-column-layout {
        flex-direction: column;
        gap: 30px;
    }

    .left-column,
    .right-column {
        flex: 1;
        width: 100%;
        min-width: 0;
    }

    .greeting,
    .welcome-text,
    .left-column p {
        font-size: 16px;
    }

    .notice-box-sidebar p,
    .practice-info p {
        font-size: 16px;
    }

    .notice-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    #logo img {
        height: 50px;
    }

    #header {
        padding: 10px 0;
    }

    .nav-overlay {
        top: 71px;
        height: calc(100% - 71px);
    }

    .side-nav {
        top: 71px;
    }

    .side-nav.active {
        max-height: calc(100vh - 71px);
    }

    .hero-banner {
        height: 200px;
    }

    #wsite-title {
        font-size: 24px;
    }

    .wsite-content-title {
        font-size: 20px;
    }

    .paragraph p,
    .paragraph ul,
    .notice-box p {
        font-size: 14px;
    }

    .greeting,
    .welcome-text,
    .left-column p {
        font-size: 14px;
    }

    .notice-box-sidebar p,
    .practice-info p {
        font-size: 14px;
    }

    .notice-title {
        font-size: 18px;
    }

    .notice-box-sidebar {
        padding: 20px;
    }

    .practice-info {
        padding: 15px;
    }
}
