/* CSS Variables */
:root {
    --header-height: 90px;
    --header-mobile-padding: 15px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: Tahoma, Verdana, Geneva, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

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

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.65);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 12px;
    font-weight: 500;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #0077be;
}

.language-switcher .lang-link {
    background-color: #0077be;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
}

.language-switcher .lang-link:hover {
    background-color: #005a94;
    color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    background-color: rgba(255, 255, 255, 0.65);
    min-height: calc(100vh - 160px);
    width: 100%;
    padding: 30px 0;
}

/* About Section */
.about {
    padding: 50px 0;
}

.about h2 {
    font-size: 2em;
    color: #0077be;
    margin-bottom: 30px;
    text-align: center;
}

.about-grid {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.8;
    color: #333;
}

.about-text p strong {
    font-weight: bold;
}

/* Remove motto card - make it simple text */
.about-motto {
    max-width: 900px;
    margin: 30px auto 0;
}

.motto-card {
    background: transparent;
    color: #333;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.motto-card h3 {
    font-size: 1em;
    margin-bottom: 15px;
    font-weight: normal;
    color: #333;
}

.motto-card blockquote {
    font-size: 1em;
    font-style: normal;
    font-weight: bold;
    margin: 10px 0 20px 0;
    padding-left: 0;
    border-left: none;
    line-height: 1.8;
    color: #333;
}

.motto-card p {
    margin-top: 20px;
    line-height: 1.8;
    color: #333;
}

/* Contact Section */
.contact-section {
    padding: 50px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2em;
    color: #0077be;
    margin-bottom: 30px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block p {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #333;
}

.info-block strong {
    font-weight: bold;
    color: #0077be;
}

.info-block a {
    color: #0077be;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-block a:hover {
    color: #005a94;
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper h3 {
    font-size: 1.5em;
    color: #0077be;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

/* Honeypot field - hidden from real users */
.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Tahoma, Verdana, Geneva, sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0077be;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #0077be;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-family: Tahoma, Verdana, Geneva, sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

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

.submit-btn:active {
    transform: translateY(1px);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

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

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

/* Legal Section */
.legal-section {
    padding: 50px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.8em;
    color: #0077be;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.4em;
    color: #0077be;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content h4 {
    font-size: 1.1em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: left;
    color: #333;
}

.legal-content ul {
    margin-bottom: 15px;
    margin-left: 30px;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 8px;
    color: #333;
}

.legal-content a {
    color: #0077be;
    text-decoration: none;
    word-wrap: break-word;
}

.legal-content a:hover {
    color: #005a94;
    text-decoration: underline;
}

.legal-block {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: rgba(255, 255, 255, 0.65);
    padding: 30px 0;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: #555;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #0077be;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #005a94;
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .about-grid {
        padding: 0 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    
    /* Add padding-top to main to prevent content from going under sticky header */
    main {
        padding-top: calc(var(--header-height) + var(--header-mobile-padding));
        padding-bottom: 150px;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        width: 100%;
        padding: 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info h2 {
        font-size: 1.6em;
    }
    
    .contact-form-wrapper h3 {
        font-size: 1.3em;
    }
    
    .legal-content h2 {
        font-size: 1.5em;
    }
    
    .legal-content h3 {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .about h2 {
        font-size: 1.6em;
    }
    
    .motto-card h3 {
        font-size: 1.2em;
    }
    
    .motto-card blockquote {
        font-size: 1em;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}