/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 30px;
    z-index: 1000; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar li {
    margin-left: 25px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #ffcc00;
}

/* Hero Section with Background Image */
.hero {
    height: 100vh;
    background: url('https://raw.githubusercontent.com/HotelRoyalMithila/HotelRoyalMithila/refs/heads/main/IMG_6052.JPG') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    flex-direction: column;
    animation: fadeIn 2s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    animation: fadeIn 3s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    animation: fadeIn 4s ease-out;
}

.cta-button {
    padding: 15px 30px;
    background-color: #ffcc00;
    color: #333;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #e5b100;
}

/* Rooms Section */
.rooms {
    padding: 60px 30px;
    text-align: center;
    background-color: #fff;
}

.room-gallery {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.room-card {
    background: #f8f8f8;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.room-card h3 {
    font-size: 1.5rem;
    padding: 15px;
    background: #333;
    color: white;
    margin: 0;
}

.room-card p {
    padding: 15px;
    font-size: 1.2rem;
}

.room-card button {
    padding: 10px;
    background-color: #ffcc00;
    color: #333;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.room-card button:hover {
    background-color: #e5b100;
}

/* Features Section */
.features {
    padding: 60px 30px;
    text-align: center;
    background-color: #f9f9f9;
}

.feature-list {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: white;
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin: 15px 0;
}

.feature-card p {
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 30px;
    background-color: #333;
    color: white;
    text-align: center;
}

.testimonial-slider {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.testimonial-card {
    background-color: #444;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
}

.testimonial-card span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 60px 30px;
    text-align: center;
    background-color: #f4f4f4;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

footer p {
    font-size: 1rem;
    margin: 10px 0;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/* Style the button */
.hero button {
    background-color: #ff6f61; /* Warm color */
    color: white;
    font-size: 18px;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover effect for the button */
.hero button:hover {
    background-color: #e55b4f; /* Darker shade on hover */
    transform: scale(1.05); /* Slightly increase size on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Focus effect for accessibility */
.hero button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 111, 97, 0.6); /* Soft glow on focus */
}

/* Animation when the page loads (optional) */
@keyframes fadeInButton {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero button {
    animation: fadeInButton 1s ease-out;
}
/* General Styling for the Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #333; /* Dark background for the navbar */
    position: fixed; /* Make the navbar stick to the top */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for the logo */
.navbar .logo {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Styling for the navigation links */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px; /* Adds space between the links */
}

.navbar ul li {
    margin: 0;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover effect on navbar links */
.navbar ul li a:hover {
    color: #ff6f61; /* Change text color on hover */
    transform: translateY(-3px); /* Slightly raise the link */
}

/* Active link effect (Optional) */
.navbar ul li a.active {
    color: #ff6f61;
    border-bottom: 2px solid #ff6f61; /* Add underline on active link */
}

/* Adding padding to body to avoid content being hidden behind navbar */
body {
    padding-top: 80px; /* Adjust based on navbar height */
}
/* Hero Section Styling */
.hero {
    position: relative;
    background-image: url('https://raw.githubusercontent.com/HotelRoyalMithila/HotelRoyalMithila/refs/heads/main/IMG_6052.JPG'); /* Add your background image */
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

/* Styling for the h1 (Header in Hero Section) */
.hero h1 {
    font-size: 50px; /* Large font size for the header */
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 5px; /* Space between letters */
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4); /* Add subtle shadow for readability */
    line-height: 1.3;
    margin: 0;
    animation: fadeInText 1.5s ease-out;
}

/* Animation for the Hero Header */
@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styling for the paragraph inside Hero */
.hero p {
    font-size: 20px;
    font-weight: 300;
    margin-top: 10px;
    letter-spacing: 2px;
    text-transform: capitalize;
    opacity: 0.9;
    color: #fff;
}

/* Button inside Hero Section */
.hero button {
    background-color: #ff6f61;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.hero button:hover {
    background-color: #e55b4f;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
