/* Modern Hotel Website Design System */
:root {
    /* Color Palette */
    --primary: #66a5ad;
    --secondary: #c4dfe6;
    --accent: #ffffff;
    --text-dark: #2C3E50;
    --text-light: #F9F9F9;
    --white: #FFFFFF;
    --success: #27AE60;
    --bg-light: #ffffff;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --radius: 8px;

    /* Transitions */
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

.flex {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-between {
    justify-content: space-between;
}

.section {
    padding: var(--spacing-lg) 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #3d8b83;
    /* Darker shade of teal */
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #8c9f94;
    /* Darker sage */
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    /* Ensure zoom doesn't overflow */
}

/* Hero Slider & Animation */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-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: scale(1);
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 8s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    /* Overlay on top of images */
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Content on top of overlay */
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Booking Bar */
.booking-bar {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: -3rem;
    /* Overlap hero */
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 2;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    align-items: end;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

/* Rooms Preview */
.room-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.room-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.room-details {
    padding: 1.5rem;
}

.room-price {
    color: var(--primary);
    /* Using Primary for price now since Gold is gone */
    font-weight: 700;
    font-size: 1.2rem;
}

.amenities-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #666;
}

/* Services */
.service-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid #eee;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--secondary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--accent);
    /* Light beige for footer headings */
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Image Slider */
.slider-container {
    position: relative;
    max-width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--secondary);
}

.slider-btn.prev {
    left: 0;
}
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: var(--white);
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-icon {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Enhanced Amenities Section */
.amenities-section {
    position: relative;
    background-image: url('../images/hero (2).png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.amenities-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 165, 173, 0.8);
    /* Teal overlay */
    z-index: 1;
}

.amenities-section .service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenities-section .service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--white);
}

.amenities-section .service-icon {
    color: var(--white);
    transition: transform 0.3s ease;
}

.amenities-section .service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background 0.3s;
}

.amenities-section .service-card:hover .icon-box {
    background: var(--secondary);
}

.amenities-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.amenities-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Scroll Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}
/* Auto-Scrolling Gallery */
.scrolling-gallery {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1rem 0;
    background: var(--bg-light);
}
.gallery-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}
.gallery-track:hover {
    animation-play-state: paused;
}
.scroll-img {
    height: 300px;
    width: 450px;
    object-fit: cover;
    margin: 0 0.5rem;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}
.scroll-img:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow-hover);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Testimonial Slider */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}
.testimonial-slide {
    display: none;
    animation: fadeUp 0.5s ease-in-out;
}
.testimonial-slide.active {
    display: block;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.dot {
    width: 12px;
    height: 12px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.testimonial-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}
.testimonial-btn:hover {
    transform: translateY(-50%) scale(1.2);
    color: var(--text-dark);
}
.testimonial-btn.prev { left: 0; }
.testimonial-btn.next { right: 0; }

/* Video Modal */
.video-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 0 0 10px rgba(255,255,255,0.3);
}
.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 15px rgba(255,255,255,0.3);
}
.play-icon {
    font-size: 30px;
    color: var(--primary);
    margin-left: 5px;
}

/* Mobile fix: iOS Safari does not support background-attachment:fixed (parallax).
   Override to 'scroll' on tablets and phones to prevent broken/blank sections. */
@media (max-width: 1024px) {
    .amenities-section {
        background-attachment: scroll;
    }
}

