/* MetroStay Premium Design System */
:root {
    --primary: #FFD700; /* Vibrant Yellow */
    --primary-dark: #ccac00;
    --primary-light: #fff5cc;
    --background: #ffffff;
    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 20px;
    --midnight: #0c0e12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Styles */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

h1 { font-size: 4rem; letter-spacing: -1px; }
h2 { font-size: 3rem; margin-bottom: 2rem; }
h3 { font-size: 1.8rem; }
h2 span { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-white {
    background-color: #ffffff;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-white:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: var(--transition);
}

nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: white; /* Default for hero */
}

nav.scrolled .logo {
    color: var(--text-primary);
}

.logo span {
    color: var(--primary);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links {
    margin-left: auto;
    margin-right: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: white; /* Default for hero */
    font-weight: 600;
}

nav.scrolled .nav-links a {
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    color: white; /* Default for hero */
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

@media (hover: hover) {
    .phone-link:hover {
        color: var(--primary);
        transform: scale(1.1);
    }
}

nav.scrolled .phone-link {
    color: var(--text-primary);
}

.nav-book-btn {
    padding: 10px 25px !important;
    font-size: 0.9rem !important;
}

@media (max-width: 768px) {
    .nav-book-btn {
        padding: 8px 15px !important;
        font-size: 0.8rem !important;
    }
}

/* Hero Section */
#hero-header {
    min-height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero {
    min-height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('assets/hero_pod_interior.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--primary);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 40px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-title .main-line {
    display: block;
}

.hero-title .sub-line {
    display: block;
    font-size: 3rem;
    font-weight: 600;
    margin-top: 10px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-title i {
    font-size: 0.8em;
    margin-right: 10px;
    opacity: 0.9;
}

.hero p {
    font-size: 1.3rem;
    margin: 20px auto 40px;
    opacity: 0.9;
    max-width: 700px;
}

/* Pods Grid */
.pods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s ease-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1.05); /* Ken Burns effect */
}

/* Gallery Filters */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item.hidden {
    display: none;
}

.pod-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pod-card:hover {
    transform: translateY(-10px);
}

.pod-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.pod-info {
    padding: 25px;
}

.pod-info h3 {
    margin-bottom: 10px;
}

.pod-price {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 15px;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.amenity-item {
    background: var(--primary);
    padding: 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.amenity-item:hover {
    transform: translateY(-10px);
}

.amenity-inner {
    background: white;
    padding: 30px;
    border-radius: calc(var(--border-radius) - 10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.amenity-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.amenity-item i {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 0;
}

.amenity-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.amenity-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Reviews Marquee */
.reviews-marquee-container {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.review-card {
    width: 400px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 2)); }
}

/* Footer */
footer {
    background: #111;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.premium-reveal {
    animation: fadeInUp 1s forwards;
}

.image-reveal {
    overflow: hidden;
}

.image-reveal img {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.image-reveal:hover img {
    transform: scale(1.08);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu logic in JS */
    }
    
    .mobile-toggle {
        display: block !important;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    nav.scrolled .mobile-toggle {
        color: var(--text-primary);
    }
    
    .nav-right {
        margin-left: auto;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-links.active a {
        color: var(--text-primary) !important;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    .hero-title .sub-line {
        font-size: 1.8rem;
    }
    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 15px;
    }
    h1 { font-size: 2.5rem; }
    .section-padding { padding: 60px 0; }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    #hero-header {
        align-items: flex-end;
        padding-bottom: 15vh;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .btn { padding: 12px 25px; width: 100%; margin-bottom: 10px; }
    .hero-btns { flex-direction: column; }
    .hero-btns a { margin-left: 0 !important; }
    
    .logo {
        font-size: 1.1rem;
        gap: 3px;
    }
    .logo-img {
        height: 35px;
        width: 35px;
    }
    .nav-book-btn {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 55px;
    width: 55px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: white; /* Ensures the logo background is clean */
}
