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

:root {
    --primary-red: #D32F2F;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --text-gray: #333333;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    height: 50px;
    width: auto;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--medium-gray);
    background-color: var(--white);
    color: var(--text-gray);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.lang-btn.active {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%),
                url('https://images.unsplash.com/photo-1551650975-87deedd944c3?w=1920&h=1080&fit=crop') center/cover;
    padding: 8rem 0;
    text-align: center;
    color: var(--white);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 1.5rem;
}

.feature-content h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.feature-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.contact h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.contact-item {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-item strong {
    color: var(--black);
}

.contact-item a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 2rem 0;
}

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

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.separator {
    margin: 0 1rem;
    color: var(--medium-gray);
}

.copyright {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    min-height: 70vh;
}

.legal-page h1 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.8rem;
    color: var(--black);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page h3 {
    font-size: 1.4rem;
    color: var(--black);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-page p,
.legal-page ul {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.legal-page ul {
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2,
    .contact h2 {
        font-size: 2rem;
    }

    .about-text p,
    .contact-item {
        font-size: 1rem;
    }

    .logo {
        height: 40px;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .separator {
        margin: 0 0.5rem;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    .legal-page h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features,
    .about,
    .contact {
        padding: 3rem 0;
    }

    .feature-content h3 {
        font-size: 1.3rem;
    }
}