/* ===================================
   RESET & BASE STYLES
   =================================== */

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

:root {
    --color-primary: #ffffff;
    --color-secondary: #a0a0a0;
    --color-accent: #e0e0e0;
    --color-background: #0a0a0a;
    --color-overlay: rgba(0, 0, 0, 0.7);
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   CENTERED VIDEO CONTAINER
   =================================== */

.video-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

#main-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #000;
    display: block;
}

/* Hide any default controls that might appear */
#main-video::-webkit-media-controls {
    display: none !important;
}

#main-video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    animation: slideUp 0.4s ease-out;
}

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

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-content a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.cookie-content a:hover,
.cookie-content a:focus {
    color: var(--color-primary);
}

.btn-accept {
    background: var(--color-primary);
    color: var(--color-background);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.btn-accept:hover,
.btn-accept:focus {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-accept:active {
    transform: translateY(0);
}

/* ===================================
   MAIN CONTAINER
   =================================== */

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    animation: fadeIn 1s ease-out;
}

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

/* ===================================
   HEADER
   =================================== */

.header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease-out 0.2s both;
}

.title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--color-primary);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--color-secondary);
    text-transform: uppercase;
    margin-bottom: 3rem;
}

/* ===================================
   CONTENT
   =================================== */

.content {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
    animation: fadeIn 1.4s ease-out 0.4s both;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
    text-align: center;
}

.description strong {
    color: var(--color-accent);
    font-weight: 600;
}

.description:last-child {
    margin-bottom: 0;
}

/* ===================================
   CONTACT
   =================================== */

.contact {
    width: 100%;
    max-width: 800px;
    margin-bottom: 3rem;
    animation: fadeIn 1.6s ease-out 0.6s both;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.icon {
    flex-shrink: 0;
    color: var(--color-accent);
}

.contact-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.contact-link:hover,
.contact-link:focus {
    color: var(--color-accent);
}

address.contact-link {
    font-style: normal;
}

/* ===================================
   CTA BUTTON
   =================================== */

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--color-primary);
    color: var(--color-background);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
    font-size: 0.9rem;
    animation: fadeIn 1.8s ease-out 0.8s both;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    margin: 0 0.5rem;
}

.footer-link:hover,
.footer-link:focus {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ===================================
   RESPONSIVE DESIGN - TABLET
   =================================== */

@media (min-width: 768px) {
    .container {
        padding: 3rem 2rem;
    }

    .video-container {
        max-width: 700px;
        margin-bottom: 4rem;
    }

    .title {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

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

    .description {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-item:last-child {
        grid-column: 1 / -1;
    }

    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .cookie-content p {
        flex: 1;
    }
}

/* ===================================
   RESPONSIVE DESIGN - DESKTOP
   =================================== */

@media (min-width: 1024px) {
    .container {
        padding: 4rem 3rem;
    }

    .video-container {
        max-width: 800px;
        margin-bottom: 5rem;
    }

    .title {
        font-size: 5rem;
    }

    .subtitle {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .description {
        font-size: 1.05rem;
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-item:last-child {
        grid-column: auto;
    }
}

/* ===================================
   ACCESSIBILITY & MOTION
   =================================== */

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

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #ffffff;
        --color-secondary: #cccccc;
        --color-background: #000000;
    }
    
    .contact-item {
        border-width: 2px;
    }
}

/* Print styles */
@media print {
    .cookie-consent,
    .video-container,
    .btn-primary {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
