/* styles.css */

/* Global styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF;
    background-color: #001D4A;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: #001D4A;
    padding: 10px 0;
    width: 100%;
    z-index: 1000;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo-small {
    width: 150px;
    margin-right: 20px;
}

.top-nav {
    background-color: #FF3300;
    padding: 5px 10px;
    border-radius: 5px;
}

.top-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.top-nav ul li {
    margin: 0 10px;
}

.top-nav ul li a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 5px;
}

.top-nav ul li a:hover {
    background-color: #cc2900;
}

.nav-divider {
    width: 20px;
    height: auto;
}

/* Main Content Adjustments */
main#main-content {
    flex: 1; /* Allow main content to fill available space */
    display: flex;
    flex-direction: column;
    min-height: 0; /* Prevent flexbox overflow issues in some browsers */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-large {
    max-width: 200px;
    margin-right: 20px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
}


/* Geändert zu: */
.cta-button {
    background-color: #FF3300;
    color: #FFFFFF;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    display: inline-block;
    border: none; /* Für <button> Elemente */
    cursor: pointer; /* Für <button> Elemente */
    font-size: 16px; /* Einheitliche Schriftgröße */
}

.cta-button:hover {
    background-color: #cc2900;
}

/* Zusätzliche CSS-Klassen für den Toggle-Button Status */

.cta-button.listening {
    background-color: #FF3300; /* Rot (Originalfarbe) */
}

.cta-button.paused {
    background-color: #28a745; /* Grün für Pause */
}

.cta-button.speech-active {
    background-color: #999999;
}

/* Features Section */
.features {
    background-color: #001D4A;
    padding: 60px 0;
}

.features h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.feature-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature {
    width: 30%;
    margin-bottom: 40px;
    text-align: left;
}

.feature h3 {
    display: flex;
    align-items: center;
    font-size: 24px;
    margin-top: 20px;
}

.feature-icon {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

.feature p {
    font-size: 16px;
    margin-top: 10px;
}

/* Call to Action Section */
.call-to-action {
    background-color: #001D4A;
    padding: 60px 0;
    text-align: center;
}

.call-to-action h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Footer */
footer {
    background-color: #001D4A;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    width: 100%;
    flex-shrink: 0; /* Prevent footer from shrinking */
}

footer a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Start Button */
a.start-button {
    background-color: #FF3300;
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    font-size: 14px;
    display: inline-block;
}

a.start-button:hover {
    background-color: #cc2900;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
    }

    .logo-large {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .hero-content {
        text-align: center;
    }

    .feature-grid {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 80%;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* Additional Styles for Other Pages */

/* Landing Page Specific Styles */
.landing-page {
    /* Add any landing page specific styles here */
}

/* Other Components */
.button {
    background-color: #FF3300;
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    display: inline-block;
}

.button:hover {
    background-color: #cc2900;
}

/* Form Styles */
form {
    max-width: 500px;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #FFFFFF;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
}

/* Error Messages */
.error {
    color: red;
    margin-bottom: 10px;
}

/* Success Messages */
.success {
    color: green;
    margin-bottom: 10px;
}

/* Adjustments for Fixed Header */
body {
    margin-top: 0;
}
