/* Complete kontakt.css based on styles.css template */

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

body {
    font-family: Arial, sans-serif;
    background-color: #F8F9FA; /* Light Gray background */
    color: #34495E; /* Dark Gray text color */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: #34495E;
    color: white;
    padding: 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Allows absolute positioning of the button */
}

header .container {
    display: flex;
    justify-content: center; /* Center the title */
    align-items: center; /* Vertically center items */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    flex-direction: column;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.back-button {
    position: fixed; /* Position the button at the top-left */
    left: 20px;
    top: 20px;
    padding: 8px 16px;
    background-color: #1ABC9C;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
}

header .back-button:hover {
    background-color: #16A085;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

nav ul li a:hover {
    text-decoration: underline;
    color: #1ABC9C; /* Teal color for hover */
}

main {
    padding: 40px 0;
    background-color: white;
    flex: 1;
}

footer {
    background-color: #2C3E50; /* Dark Blue footer */
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer p {
    font-size: 1rem;
}

/* Contact page specific styles */
.contact-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.contact-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #34495E;
}

.contact-info {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    color: #34495E;
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #1ABC9C;
    padding-bottom: 10px;
}

.contact-item {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #F8F9FA;
    border-radius: 8px;
    border-left: 4px solid #1ABC9C;
}

.contact-item h3 {
    color: #1ABC9C;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 5px;
    color: #2C3E50;
}

.contact-item a {
    color: #1ABC9C;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    text-decoration: underline;
    color: #16A085;
}

.contact-item .note {
    font-size: 0.9rem;
    color: #7F8C8D;
    font-style: italic;
    margin-top: 5px;
}

.contact-message {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-message h3 {
    color: #34495E;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-message p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2C3E50;
}



/* Mobile responsiveness (max-width: 768px) */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
        margin-top: 20px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .contact-section {
        padding: 10px;
    }
    
    .contact-info,
    .contact-message {
        padding: 20px;
    }
    
    .contact-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
    }
    
    .contact-item p {
        font-size: 1rem;
    }
}

/* Tablet responsiveness (max-width: 1024px) and (min-width: 769px) */
@media (max-width: 1024px) and (min-width: 769px) {
    header h1 {
        font-size: 2.2rem;
    }
}

/* Large screens (min-width: 1200px) */
@media (min-width: 1200px) {
    .container {
        width: 80%;
    }
} 
