/* Strict Mobile-First CSS - Optimized for all viewports */

:root {
    /* Fluid Typography: scales between mobile and desktop but with safe limits */
    --text-title: clamp(1.25rem, 6.5vw, 3.6rem); 
    --text-subtitle: clamp(1.2rem, 5.5vw, 2.8rem);
    
    --gold: #ffd700;
    --white-alpha: rgba(255, 255, 255, 0.05);
    --border-alpha: rgba(255, 255, 255, 0.1);
    --bg-dark: #121d2a;
}

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

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
    background-image: url('images/body_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Playfair Display', serif;
    position: fixed; /* Prevent scrolling */
}

#parallax-container {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: -1;
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translateZ(0);
}

.bg {
    z-index: 1;
}

.clouds {
    z-index: 2;
    opacity: 0.7;
    animation: drift 180s linear infinite;
}

@keyframes drift {
    from { background-position: 0% center; }
    to { background-position: 100% center; }
}

.content {
    height: 100dvh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 10;
}

.message-box {
    width: 92%;
    max-width: 500px; /* Base for mobile */
    padding: 2.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-alpha);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: fadeIn 3s ease-out;
}

@supports (backdrop-filter: blur(12px)) {
    .message-box {
        background: var(--white-alpha);
        backdrop-filter: blur(12px);
    }
}

.logo {
    width: clamp(60px, 15vw, 100px);
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.title {
    font-size: var(--text-title);
    font-weight: 300;
    letter-spacing: 0px; 
    margin-bottom: 0.2rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: fadeInDown 2s ease-out;
    text-transform: uppercase;
    line-height: 1.1;
    color: #ffffff;
}

.word {
    display: inline-block;
    white-space: nowrap; /* Prevent internal word splitting */
}

.subtitle {
    font-family: 'Pinyon Script', cursive;
    font-size: var(--text-subtitle);
    color: var(--gold);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 2.5s ease-out, shimmer 6s infinite;
    background: linear-gradient(90deg, var(--gold), #fff, var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
}

.contact {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: sans-serif;
    letter-spacing: 1px;
    padding: 0.7rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
}

.tour-link {
    background: rgba(212, 175, 55, 0.15); /* Subtle gold background */
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--gold);
}

.cta-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.tour-link:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: var(--gold);
}

.cta-link svg {
    transition: transform 0.3s ease;
}

.cta-link:hover svg {
    transform: scale(1.1);
}

/* Animations */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Enhancements for larger screens */
@media (min-width: 768px) {
    .message-box {
        max-width: 800px;
        padding: 4rem 5rem;
        border-radius: 24px;
    }
    .contact {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    .cta-link {
        width: auto;
        max-width: none;
        font-size: 1rem;
    }
    .title {
        letter-spacing: 2px;
    }
}

@media (min-width: 1200px) {
    .title {
        letter-spacing: 4px;
    }
}
