/* ===== CSS Variables ===== */
:root {
    /* Colors - Sophisticated Italian palette */
    --bordeaux: #6B1736;
    --bordeaux-light: #8B1E47;
    --emerald: #0A4D4D;
    --emerald-light: #0D6666;
    --charcoal: #2C2C2C;
    --charcoal-light: #3D3D3D;
    --silver: #C0C0C0;
    --silver-light: #E5E5E5;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 248, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 23, 54, 0.1);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    gap: 2rem;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-light);
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 0.25rem 0.5rem;
}

.lang-link:hover {
    color: var(--bordeaux);
}

.lang-link.active {
    color: var(--bordeaux);
    font-weight: 600;
}

.lang-separator {
    color: var(--silver);
    font-weight: 300;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    height: 40px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--bordeaux);
    letter-spacing: 2px;
}

.status-badge {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: var(--white);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(10, 77, 77, 0.2);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(107, 23, 54, 0.03) 0%, 
        rgba(10, 77, 77, 0.05) 50%,
        rgba(44, 44, 44, 0.02) 100%
    );
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 23, 54, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 77, 77, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.3;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--bordeaux);
    font-weight: 600;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--bordeaux), var(--emerald));
    opacity: 0.3;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--charcoal-light);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

.hero-keys {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.key-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.key-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(107, 23, 54, 0.2);
    transition: var(--transition-smooth);
}

.key-item:hover .key-icon {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(107, 23, 54, 0.3);
}

.key-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: 0.5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--bordeaux), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* ===== Animations ===== */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    opacity: 0;
    transform: translateY(40px);
    animation: slideIn 0.8s ease-out forwards;
}

.slide-in:nth-child(2) {
    animation-delay: 0.2s;
}

.slide-in:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mission Section ===== */
.mission {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 3rem;
    line-height: 1.3;
}

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

.mission-item {
    padding: 2.5rem;
    background: var(--off-white);
    border-radius: 12px;
    border: 1px solid rgba(107, 23, 54, 0.1);
    transition: var(--transition-smooth);
}

.mission-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 77, 77, 0.15);
    border-color: var(--emerald);
}

.mission-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--bordeaux);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.mission-item h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.mission-item p {
    color: var(--charcoal-light);
    line-height: 1.8;
}

/* ===== Value Section ===== */
.value-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--charcoal) 100%);
    color: var(--white);
}

.value-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-text .section-label {
    color: var(--silver-light);
}

.value-text .section-title {
    color: var(--white);
}

.value-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.value-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--bordeaux);
    transition: var(--transition-smooth);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.feature svg {
    flex-shrink: 0;
    color: var(--silver-light);
}

.feature span {
    font-size: 0.95rem;
    line-height: 1.6;
}

.value-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    animation: float 6s ease-in-out infinite;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
    text-align: center;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--charcoal-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    margin-top: 3rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(107, 23, 54, 0.3);
    transition: var(--transition-smooth);
}

.contact-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(107, 23, 54, 0.4);
}

.contact-email svg {
    width: 24px;
    height: 24px;
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--charcoal);
    color: var(--silver-light);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--white);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--silver);
    margin-bottom: 2rem;
}

.footer-legal {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
    font-size: 0.9rem;
    color: var(--silver);
    margin: 0.5rem 0;
}

.footer-status {
    opacity: 0.7;
    font-style: italic;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .value-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-keys {
        gap: 2rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero-keys {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}