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

body, html {
    height: 100%;
    width: 100%;
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prevent scrolling for a pure one-pager */
    background-color: transparent; /* Ensure body is transparent so negative z-index shows through */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Video Background System */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure it stays behind content */
    background-color: #050505; /* Fallback dark background */
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire screen without stretching */
    filter: brightness(0.7) contrast(1.1) saturate(1.2); /* Enhance visual depth */
}

/* Overlay for Glassmorphism & Readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle radial gradient overlay to focus attention on the center */
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

/* Main Content Layout */
.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding: 4rem 2rem;
    color: #ffffff;
    text-align: center;
}

.top-spacer {
    /* Empty div to balance flexbox spacing */
    height: 60px; 
}

/* Central Slogan Container */
.center-content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
    animation: fadeInScale 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* The Slogan Typography */
.slogan {
    font-family: 'Cinzel', serif; /* Classic serif font for the Latin phrase */
    font-size: clamp(2rem, 5vw + 1rem, 5rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #fdfdfd;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 255, 255, 0.1);
    /* Subtle text gradient effect */
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bottom Button Container */
.bottom-content {
    padding-bottom: 2rem;
    animation: fadeInUp 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1s forwards;
    opacity: 0; /* Hidden until animation starts */
}

/* Mailto Button - Glassmorphism Style */
.mailto-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    /* Modern Glassmorphism Base */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    
    /* Transitions & Shadows */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mail-icon {
    transition: transform 0.4s ease;
}

/* Hover Effects */
.mailto-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.mailto-btn:hover .mail-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Active State */
.mailto-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content {
        padding: 2rem 1rem;
    }
    .mailto-btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}
