* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #2c2420;
    font-family: 'Montserrat', sans-serif;
}

header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(44, 36, 32, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}

.language-selector a {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: block;
    width: 22px;
    height: 15px;
    flex-shrink: 0;
}

.language-selector a:hover {
    opacity: 1;
}

.language-selector img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: block;
    height: 45px;
    width: auto;
    transition: opacity 0.3s ease;
    padding: 4px 0;
}

.logo:hover {
    opacity: 0.9;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
    max-width: 140px;
    object-fit: contain;
}

.hero {
    position: relative;
    padding: 8rem 0 6rem;
    color: white;
    text-align: center;
    background-color: #2c2420;
    overflow: hidden;
    height: 75vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 36, 32, 0.5) 0%, rgba(83, 71, 65, 0.4) 100%);
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 75vh;
    object-fit: cover;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.5s ease-in;
    filter: brightness(1.2);
}

.hero-image.loaded {
    opacity: 0.95;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(1.35rem, 3.25vw, 3rem);
    margin: 0 auto 1.5rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    line-height: 1.3;
    max-width: 90%;
    word-wrap: break-word;
    hyphens: auto;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    font-weight: 300;
    letter-spacing: 1px;
}

.main-content {
    padding: 6rem 0;
    text-align: center;
    background-color: #f2ece8;
}

.main-content h2 {
    color: #2c2420;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.main-content p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #534741;
    line-height: 1.8;
}

.form-section {
    background-color: #ffffff;
    padding: 6rem 0;
    text-align: center;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-container h2 {
    color: #2c2420;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: #2c2420;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    border: 2px solid #2c2420;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: transparent;
    color: #2c2420;
}

footer {
    background: #2c2420;
    color: white;
    padding: 3rem 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 180px;
    padding: 1rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.95);
}

.footer-section p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    width: 100%;
}

.footer-section p i {
    flex-shrink: 0;
    width: 1.1rem;
    text-align: center;
}

.footer-section i {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d6b09c;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
    opacity: 0.9;
}

.social-links a:hover {
    color: #d6b09c;
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .logo {
        height: 38px;
    }
    
    .logo img {
        max-width: 110px;
    }

    .container {
        padding: 0 0.75rem;
    }

    .language-selector {
        gap: 0.35rem;
        margin-left: 0.5rem;
    }

    .language-selector a {
        width: 18px;
        height: 12px;
    }

    .hero {
        height: 70vh;
        padding: 5rem 0 4rem;
    }
    
    .hero-image {
        width: 100%;
        height: 70vh;
        left: 0;
        transform: translateY(-50%);
    }
    
    .hero h1 {
        font-size: clamp(1.25rem, 2.75vw, 2rem);
        letter-spacing: 0.25px;
        margin: 0 auto 1rem;
        max-width: 85%;
        line-height: 1.35;
    }
    
    .hero p {
        font-size: 1rem;
        max-width: 85%;
        margin: 0 auto;
        line-height: 1.4;
    }

    .footer-section p {
        padding: 0 1rem;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 32px;
    }
    
    .logo img {
        max-width: 90px;
    }

    .container {
        padding: 0 0.5rem;
    }

    .language-selector {
        gap: 0.25rem;
        margin-left: 0.35rem;
    }

    .language-selector a {
        width: 16px;
        height: 11px;
    }

    .hero h1 {
        font-size: clamp(1.15rem, 2.5vw, 1.5rem);
        letter-spacing: 0;
        margin: 0 auto 0.75rem;
        max-width: 80%;
        line-height: 1.4;
    }

    .hero p {
        font-size: 0.9rem;
        max-width: 80%;
        margin: 0 auto;
        line-height: 1.5;
    }

    .main-content h2 {
        font-size: 1.75rem;
        padding: 0 0.75rem;
    }
}

.fade-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    will-change: opacity, transform;
}

.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-element:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-element:nth-child(3) {
    transition-delay: 0.4s;
}

.fade-element:not(.visible) {
    transition-delay: 0s;
} 