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

:root {
    --primary-color: #ffffff;
    --accent-color: #ffffff;
    --text-color: rgba(255, 255, 255, 0.9);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: 'Oswald', sans-serif;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #000; /* Fallback background */
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.1);
    filter: blur(10px) brightness(0.4);
    opacity: 1;
    transition: var(--transition);
}

/* Email Link */
.email-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    margin-top: 20px;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.email-link:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

/* Content */
.content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 1s ease-out;
}

body.loaded .content {
    opacity: 1;
}

/* Static LEISURE Text */
.logo-container {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leisure-text {
    font-family: 'Oswald', sans-serif;
    font-size: 10vw;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    margin: 0;
    line-height: 1.1;
}

/* Coming Soon */
.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 40px;
    width: 100%;
    max-width: 400px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

body.loaded .coming-soon {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.line {
    height: 1px;
    background: var(--accent-color);
    flex: 1;
    opacity: 0.6;
}

.coming-soon span {
    margin: 0 20px;
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 300;
}

/* Subtitle */
.subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-align: center;
    max-width: 500px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    font-weight: 300;
}

body.loaded .subtitle {
    opacity: 0.9;
    transform: translateY(0);
    transition-delay: 0.7s;
}

/* Contact Button */
.contact {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    margin-top: 20px;
}

body.loaded .contact {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.contact-link {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 40px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    outline: none;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-link:active {
    transform: translateY(0);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    animation: modalFadeIn 0.4s forwards;
}

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

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-btn:hover {
    color: white;
}

h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.8rem;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

input, textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: white;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
}

textarea {
    resize: none;
    height: 100px;
}

label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #999;
    pointer-events: none;
    transition: 0.3s ease-out;
}

input:focus ~ label,
input:valid ~ label,
textarea:focus ~ label,
textarea:valid ~ label {
    top: -20px;
    left: 0;
    color: white;
    font-size: 12px;
}

input:focus,
textarea:focus {
    border-bottom: 1px solid white;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: white;
    color: #111;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .logo-text {
        font-size: 7vw;
        letter-spacing: 8px;
    }
    
    .coming-soon span {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 9vw;
        letter-spacing: 6px;
    }
    
    .coming-soon {
        max-width: 90%;
    }
    
    .coming-soon span {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }
    
    .subtitle {
        font-size: 0.9rem;
        max-width: 90%;
    }
    
    .contact-link {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 12vw;
        letter-spacing: 4px;
    }
    
    .coming-soon {
        margin: 10px 0 30px;
    }
    
    .coming-soon span {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 0.85rem;
        margin-bottom: 40px;
    }
    
    .contact-link {
        padding: 8px 20px;
        font-size: 0.75rem;
    }
}
