/* Specific overrides for the landing page body */
body {
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- INNOVATIVE LOGO WITH SWEEPING LIGHT --- */

.logo-container {
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.innovative-logo {
    height: 100px;
    width: auto;
    vertical-align: middle;
    display: block;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Subtle popup effect on hover */
.logo-container:hover .innovative-logo {
    transform: scale(1.05);
    filter: drop-shadow(0px 8px 15px rgba(212, 175, 55, 0.6));
}

/* The Sweeping Light Beam */
.logo-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Creates the diagonal light beam */
    background: linear-gradient(
        105deg, 
        transparent 20%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 80%
    );
    background-size: 200% 200%;
    
    /* This mask ensures the light ONLY shines on the logo */
    -webkit-mask-image: url('../images/logo.png');
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('../images/logo.png');
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    
    /* Increased from 4s to 10s to slow down the cycle */
    animation: sweepLight 10s infinite linear; 
    pointer-events: none;
}

@keyframes sweepLight {
    0%   { background-position: 200% 0; }
    /* The light sweeps smoothly across the logo over the first 40% of the animation (4 seconds) */
    40%  { background-position: -200% 0; }
    /* It then stays invisible for the remaining 60% (6 seconds), creating a premium pause before repeating */
    100% { background-position: -200% 0; } 
}

/* --- MOBILE RESPONSIVE FIX (Keeping the Login Button Visible) --- */
@media (max-width: 768px) {
    .top-nav {
        flex-direction: row; /* Keeps elements side-by-side so they don't get pushed down */
        
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
        z-index: 100; /* Forces nav to stay above the hero text */
    
    }
    
    .innovative-logo {
        height: 65px; /* Scales logo down to fit beside the button */
    }

    .login-btn {
        padding: 8px 16px; /* Scales button down slightly */
        font-size: 0.85rem;
    }
    
    .hero-content h1 { font-size: 3rem; }     
    .main-container { margin: -40px 20px 40px 20px; padding: 2rem; }     
    /* Centers the logo and button on small screens */     
    .top-nav { flex-direction: column; gap: 15px; padding: 15px; }

    /* Fix for Get In Touch box overflowing */
    .contact-section {
        padding: 20px 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* --- TOP NAVIGATION & LOGIN BUTTON --- */
.top-nav {
    position: absolute; /* Keeps it floating over the hero image */
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.nav-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.login-btn {
    display: inline-block;
    background-color: rgba(11, 22, 44, 0.6); /* Semi-transparent dark blue */
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.login-btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
   background-color: #0B162C; /* Fallback color */
    background-image: url('../images/pic1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(11, 22, 44, 0.8), rgba(11, 22, 44, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeUp 1.5s ease-out;
}

/* --- HERO TITLE HEARTBEAT ANIMATION --- */

/* --- HERO TITLE SUBTLE ILLUSION BEAT --- */

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
    /* Slowed down to 3 seconds for a much calmer, relaxing rhythm */
    animation: subtleHeartbeat 3s infinite ease-in-out;
    display: inline-block; 
}

/* The Microscopic Heartbeat (Illusion Effect) */
@keyframes subtleHeartbeat {
    0% {
        transform: scale(1);
        text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5); 
    }
    15% {
        transform: scale(1.008); /* Extremely subtle first shift (less than 1%) */
        text-shadow: 0 0 8px rgba(212, 175, 55, 0.2); /* Very faint gold ambient light */
    }
    30% {
        transform: scale(1);
        text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5); 
    }
    45% {
        transform: scale(1.015); /* Barely noticeable second shift (just 1.5%) */
        text-shadow: 0 0 12px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.15); /* Soft shimmer */
    }
    60%, 100% {
        transform: scale(1);
        text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5); 
    }
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1px;
    color: #E0E0E0;
}

.gold-line {
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto 20px auto;
}

/* --- CONTENT CONTAINER --- */
.main-container {
    max-width: 1200px;
    margin: -80px auto 40px auto; 
    background: #FFFFFF;
    padding: 4rem;
    position: relative;
    z-index: 10;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--accent-gold);
}

/* --- AMENITIES GRID --- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.amenity-card {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.amenity-card:hover {
    transform: translateY(-10px);
    background: #FFFFFF;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--accent-gold);
}

.amenity-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.amenity-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border-top: 5px solid var(--accent-gold);
}

.contact-section a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.contact-section a:hover {
    opacity: 0.8;
}

/* --- FOOTER --- */
.site-footer {
    text-align: center;
    padding: 2rem;
    background: #060B16;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
    .main-container { margin: -40px 20px 40px 20px; padding: 2rem; }
    /* Centers the logo and button on small screens */
    .top-nav { flex-direction: column; gap: 15px; padding: 15px; } 
}