/* ===================================
   Global Styles & Reset
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #4a90d9;
    --accent-color: #f0a500;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --overlay-color: rgba(0, 0, 0, 0.45);
    --transition-slow: all 1.2s ease-in-out;
    --transition-medium: all 0.8s ease;
    --transition-fast: all 0.4s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===================================
   Background Slideshow with Ken Burns Effect
   =================================== */

.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: kenBurnsZoomIn 20s ease-in-out infinite alternate;
}

/* Ken Burns Effect - Zoom In from Center */
@keyframes kenBurnsZoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

/* Alternative Ken Burns - Zoom Out */
@keyframes kenBurnsZoomOut {
    0% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* ===================================
   Overlay
   =================================== */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: -1;
    backdrop-filter: blur(1px);
}

/* ===================================
   Main Content
   =================================== */

.content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 2rem 4rem;
    text-align: center;
}

.content-wrapper {
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

.main-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInScale 1.5s ease-out;
}

.main-logo {
    width: clamp(200px, 40vw, 500px);
    height: auto;
    max-width: 90%;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.8))
            drop-shadow(0 8px 30px rgba(0, 0, 0, 0.6))
            drop-shadow(0 0 50px rgba(74, 144, 217, 0.4));
    transition: var(--transition-fast);
    animation: fadeInScale 1.5s ease-out;
}

.main-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.9))
            drop-shadow(0 10px 40px rgba(0, 0, 0, 0.7))
            drop-shadow(0 0 60px rgba(74, 144, 217, 0.6));
}

.subtitle {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    font-weight: 400;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s ease-out 0.3s backwards;
}

.coming-soon {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--accent-color);
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(240, 165, 0, 0.5);
    margin: 2rem 0 1rem;
    animation: fadeInUp 1.5s ease-out 0.6s backwards;
}

.wait-message {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    margin-bottom: 3rem;
    font-style: italic;
    animation: fadeInUp 1.5s ease-out 0.9s backwards;
}

/* ===================================
   Features Section
   =================================== */

.features {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1.5s ease-out 1.2s backwards;
}

.feature-item {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-light);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    margin: 1rem 0;
    padding: 0.5rem;
    transition: var(--transition-fast);
}

.feature-item:hover {
    transform: translateX(10px);
    color: var(--accent-color);
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    margin-top: 3rem;
    animation: fadeInUp 1.5s ease-out 1.5s backwards;
}

.contact-text {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-light);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
}

.email-link {
    display: inline-block;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
}

.email-link:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(74, 144, 217, 0.5);
}

.email-link:active {
    transform: translateY(-1px);
}

/* ===================================
   Footer
   =================================== */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 999;
}

.footer-text {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ===================================
   Animations
   =================================== */

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   Responsive Design
   =================================== */

@media screen and (max-width: 768px) {
    .content {
        padding: 2.5rem 1.5rem 3rem;
    }

    .features {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .feature-item {
        margin: 0.8rem 0;
    }

    .email-link {
        padding: 0.7rem 1.5rem;
    }

    .main-logo {
        width: clamp(180px, 45vw, 400px);
    }

    /* Adjust Ken Burns effect for mobile */
    .slide.active {
        animation: kenBurnsZoomInMobile 20s ease-in-out infinite alternate;
    }

    @keyframes kenBurnsZoomInMobile {
        0% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1.25);
        }
    }
}

@media screen and (max-width: 480px) {
    .content {
        padding: 2rem 1rem 2.5rem;
    }

    .main-logo {
        width: clamp(150px, 50vw, 300px);
    }

    .features {
        padding: 1rem;
    }

    .feature-item:hover {
        transform: translateX(5px);
    }
}

/* ===================================
   Accessibility
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .slide.active {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .overlay {
        background: rgba(0, 0, 0, 0.7);
    }

    .email-link {
        border-width: 3px;
    }
}

/* ===================================
   Loading State
   =================================== */

.slide {
    background-color: #1a1a1a;
}

/* Smooth image loading */
.slide[style*="background-image"] {
    background-attachment: scroll;
    will-change: transform;
}

/* Performance optimization */
.slideshow-container {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
