body{
    margin: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #fefefe;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* MAIN HEADER */
.header{
  height: 90vh;

  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("images/hotel.jpg");

  background-size: cover;
  background-position: center;

  color: white;

  display: flex;
  flex-direction: column;
}

/* SMALL HEADER FOR INNER PAGES */
.small-header{
  height: 50vh;
}

/* NAV BAR */
.nav-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 50px;
    background: rgba(0, 51, 102, 0.85);
}

.nav-bar a{
    color: white;
    margin-left: 20px;
    text-decoration: none;
}

/* BRAND LOGO - CLICKABLE */
.brand{
    font-size: 1.5rem;
    font-weight: bold;
}

.brand a{
    color: white;
    text-decoration: none;
    margin-left: 0;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.brand a:hover{
    color: #ffcc00;
    transform: scale(1.05);
}

nav{
    margin-top: 0.5rem;
}

nav a{
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover{
    color: #ffcc00;
}

/* BOOK NOW BUTTON IN NAV */
.nav-btn{
    background: #c47a2c;
    padding: 10px 20px;
    border-radius: 5px;
    margin-left: 15px !important;
    transition: background 0.3s, transform 0.3s;
}

.nav-btn:hover{
    background: #a8631f;
    color: white !important;
    transform: translateY(-2px);
}

/* HERO TEXT */
.hero-text{
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.hero-text h2{
    font-size: 3rem;
}

.hero-text p{
    margin: 15px 0 25px;
}

/*
   PERFECTED ABOUT SECTION*/

.about{
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.about::before{
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.about::after{
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 122, 44, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.container{
    flex: 1;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.about h2{
    text-align: center;
    font-size: 2.8rem;
    color: #003366;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.about h2::after{
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #c47a2c, #d4894f);
    border-radius: 2px;
}

.about > p{
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Content Layout */
.about-content{
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover{
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 51, 102, 0.12);
}

.about-content img{
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-content img:hover{
    transform: scale(1.02);
}

.about-content div{
    flex: 1;
}

.about-content div p{
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: left;
}

.about-content div p:first-of-type{
    font-weight: 500;
    color: #333;
}

/* Button Styling */
.btn-outline{
    display: inline-block;
    margin-top: 25px;
    border: 2px solid #c47a2c;
    color: #c47a2c;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #c47a2c;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline:hover{
    color: #fff;
    border-color: #c47a2c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 122, 44, 0.3);
}

.btn-outline:hover::before{
    left: 0;
}


footer{
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #003366 0%, #002244 100%);
    color: #fff;
    font-size: 1rem;
    margin-top: auto;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

footer::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #c47a2c, #d4894f, #c47a2c);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove{
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 
   ROOMS PAGE */

   /* BRAND LOGO - CLICKABLE */
.brand{
    font-size: 1.5rem;
    font-weight: bold;
}

.rooms-grid{
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 40px;
}

.card{
    border: 1px solid #e0e0e0;
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card:hover{
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card h3{
    color: #c47a2c;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p{
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 900px){
    .rooms-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content{
        gap: 40px;
        padding: 40px;
    }
    
    .about-content img{
        max-width: 450px;
        height: 350px;
    }
}

@media (max-width: 768px){
    .about{
        padding: 60px 0;
    }
    
    .about h2{
        font-size: 2.2rem;
    }
    
    .about-content{
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 30px;
    }

    .about-content img{
        max-width: 100%;
        height: 320px;
    }
    
    .about-content div{
        text-align: center;
    }
    
    .about-content div p{
        text-align: center;
    }
    
    .nav-bar{
        flex-direction: column;
        padding: 15px 20px;
    }
    
    nav{
        margin-top: 15px;
    }
}

@media (max-width: 600px){
    .rooms-grid{
        grid-template-columns: 1fr;
    }
    
    .about h2{
        font-size: 1.9rem;
    }
    
    .about-content{
        padding: 25px 20px;
    }
    
    .about-content img{
        height: 280px;
    }
    
    .about-content div p{
        font-size: 1rem;
    }
    
    .hero-text h2{
        font-size: 2.2rem;
    }
    
    .container{
        width: 90%;
    }
}




/* IMPROVED BOOKING PAGE STYLE */

.booking-form {
    max-width: 600px;
    width: 90%;
    margin: 40px auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.12);
    position: relative;
    overflow: hidden;
}

/* Decorative accent */
.booking-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #003366, #0066cc, #003366);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Form heading (if you add one) */
.booking-form h2 {
    margin: 0 0 30px 0;
    color: #003366;
    font-size: 28px;
    text-align: center;
}

/* Form groups for better organization */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.booking-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 14px 16px;
    margin: 0;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
    transform: translateY(-2px);
}

.booking-form input:hover,
.booking-form select:hover {
    border-color: #0066cc;
}

/* Select dropdown styling */
.booking-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23003366' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

/* Input icons placeholder (optional enhancement) */
.form-group.has-icon input {
    padding-left: 45px;
}

.form-group.has-icon::before {
    position: absolute;
    left: 16px;
    top: 43px;
    color: #7f8c8d;
    font-size: 18px;
}

/* Button styling */
.booking-form button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
    margin-top: 10px;
}

.booking-form button:hover {
    background: linear-gradient(135deg, #002244 0%, #003d7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.4);
}

.booking-form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 51, 102, 0.3);
}

/* Required field indicator */
.booking-form label.required::after {
    content: ' *';
    color: #e74c3c;
    font-weight: bold;
}

/* Error state */
.booking-form input.error,
.booking-form select.error {
    border-color: #e74c3c;
}

.booking-form .error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.booking-form input.error + .error-message,
.booking-form select.error + .error-message {
    display: block;
}

/* Success state */
.booking-form input.success,
.booking-form select.success {
    border-color: #27ae60;
}

/* Form row for side-by-side inputs */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .booking-form {
        padding: 30px 20px;
        margin: 20px auto;
    }

    .booking-form h2 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .booking-form button {
        font-size: 15px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-content img {
        max-width: 100%;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .booking-form {
        padding: 25px 15px;
        border-radius: 12px;
    }

    .booking-form input,
    .booking-form select {
        padding: 12px 14px;
        font-size: 14px;
    }

    .booking-form label {
        font-size: 13px;
    }
}

/* Loading state for button */
.booking-form button.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.booking-form button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Optional: Helper text */
.helper-text {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
    font-style: italic;
}
