@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    /* Premium MakeMyTrip Style Palette */
    --primary-blue: #0A66C2; /* Deep Sky Blue */
    --light-blue: #E8F4F8;
    --primary-orange: #FF6D38; /* Vibrant Orange for CTAs */
    --bg-main: #F4F5F7;
    --text-main: #1A1A1A;
    --text-muted: #555555;
    --border-color: #E1E5EE;
    
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-lg: 0 16px 40px rgba(0,102,194,0.15); /* Blue tinted shadow */
    
    --bottom-nav-height: 65px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

html, body {
    height: 100%;
    overscroll-behavior: none;
    overflow-x: hidden;
}

img, embed, object, video {
    max-width: 100%;
    height: auto;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Add padding at bottom for mobile to prevent content hiding behind nav */
    padding-bottom: 0; 
}

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--text-main); font-weight: 700; }
a { color: var(--primary-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-orange); }

/* --- Containers --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* updated padding as per user suggestion */
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #FF6D38, #FF8E53);
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 109, 56, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 109, 56, 0.4);
}
.btn-blue {
    background: linear-gradient(135deg, var(--primary-blue), #1a7bdd);
    box-shadow: 0 4px 10px rgba(10, 102, 194, 0.3);
}

/* --- Header / Top Nav --- */
.site-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}
.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span { color: var(--primary-orange); }

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}
.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
}
.nav-links a:hover { color: var(--primary-blue); }

/* --- Mobile Bottom Navigation App Bar --- */
.bottom-nav {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--bottom-nav-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); /* Glassmorphism */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.bottom-nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bottom-nav li { flex: 1; text-align: center; }
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    height: 100%;
}
.bottom-nav i { font-size: 20px; margin-bottom: 4px; }
.bottom-nav a.active, .bottom-nav a:hover { color: var(--primary-blue); }

/* --- Forms & Inputs --- */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], select, textarea {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 15px;
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

/* --- Search Bar --- */
.search-bar {
    display: flex;
    background: #ffffff70;
    backdrop-filter: blur(15px); /* Glassmorphism */
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-top: -150px;
    position: relative;
    z-index: 10;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}
.search-field {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.search-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Advanced Filters --- */
.advanced-filters {
    flex-basis: 100%;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-label {
    font-size: 14px;
    font-weight: bold;
    color: #7f8c8d;
}
.filter-item {
    display: flex;
    gap: 10px;
    align-items: center;
}
.filter-item label {
    font-size: 12px;
    font-weight: bold;
    color: var(--text-main);
}
.filter-item input, .filter-item select {
    width: 80px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}

/* --- Cards (MakeMyTrip Style) --- */
.hotel-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}
.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.hotel-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.price-badge {
    position: absolute;
    bottom: -15px; /* Overlaps the image and content */
    right: 20px;
    background: var(--primary-orange);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(255, 109, 56, 0.3);
}
.hotel-content {
    padding: 25px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hotel-content h3 { font-size: 18px; margin-bottom: 5px; }
.hotel-content p { color: var(--text-muted); font-size: 13px; margin-bottom: 15px; }
.book-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    background: var(--light-blue);
    color: var(--primary-blue) !important;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.2s;
}
.book-btn:hover {
    background: var(--primary-blue);
    color: white !important;
}

/* --- Media Queries (Mobile View) --- */
@media (max-width: 768px) {
    body {
        padding-bottom: var(--bottom-nav-height); /* Space for bottom nav */
    }
    
    /* Hide top nav links on mobile */
    .site-header .nav-links { display: none; }
    
    /* Show bottom app nav */
    .bottom-nav { display: block; }
    
    /* Adjust Hero */
    .hero { padding: 60px 20px !important; }
    .hero h1 { font-size: 2rem !important; }
    
    /* Adjust Search Bar */
    .search-bar { 
        flex-direction: column; 
        margin-top: -30px !important;
        padding: 15px !important;
        border-radius: 12px !important;
        align-items: stretch;
    }
    .search-field { width: 100%; max-width: 100% !important; }
    .search-field input, .search-field select { width: 100%; }
    .search-field button { width: 100%; padding: 13px 30px; font-size: 16px; }
    .guests-field { max-width: 100% !important; }
    .submit-field { flex: 1 1 100% !important; margin-top: 10px; }
    
    /* Advanced Filters Mobile */
    .advanced-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .filter-item {
        justify-content: space-between;
    }
    .filter-item input, .filter-item select {
        width: 60%; /* Take up more space on mobile */
    }
}
 . f o o t e r - g r i d   {   d i s p l a y :   g r i d ;   g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( a u t o - f i t ,   m i n m a x ( 2 0 0 p x ,   1 f r ) ) ;   g a p :   4 0 p x ;   m a r g i n - b o t t o m :   4 0 p x ;   } 
 
 . f o o t e r - c o l   h 4   {   c o l o r :   # f 8 f a f c ;   f o n t - s i z e :   1 6 p x ;   m a r g i n - b o t t o m :   2 0 p x ;   f o n t - w e i g h t :   6 0 0 ;   t e x t - t r a n s f o r m :   u p p e r c a s e ;   l e t t e r - s p a c i n g :   0 . 5 p x ;   } 
 
 . f o o t e r - c o l   p   {   m a r g i n - b o t t o m :   1 5 p x ;   l i n e - h e i g h t :   1 . 7 ;   } 
 
 . f o o t e r - l o g o - i m g   {   m a x - h e i g h t :   4 5 p x ;   m a r g i n - b o t t o m :   1 5 p x ;   f i l t e r :   b r i g h t n e s s ( 0 )   i n v e r t ( 1 ) ;   o p a c i t y :   0 . 9 ;   t r a n s i t i o n :   o p a c i t y   0 . 3 s ;   } 
 
 . f o o t e r - l o g o - i m g : h o v e r   {   o p a c i t y :   1 ;   } 
 
 . f o o t e r - l i n k s   {   l i s t - s t y l e :   n o n e ;   p a d d i n g :   0 ;   m a r g i n :   0 ;   } 
 
 . f o o t e r - l i n k s   l i   {   m a r g i n - b o t t o m :   1 0 p x ;   } 
 
 . f o o t e r - l i n k s   a   {   c o l o r :   # 9 4 a 3 b 8 ;   t e x t - d e c o r a t i o n :   n o n e ;   t r a n s i t i o n :   a l l   0 . 2 s   e a s e ;   d i s p l a y :   i n l i n e - f l e x ;   a l i g n - i t e m s :   c e n t e r ;   g a p :   8 p x ;   } 
 
 . f o o t e r - l i n k s   a : h o v e r   {   c o l o r :   # F F 6 D 3 8 ;   t r a n s f o r m :   t r a n s l a t e X ( 5 p x ) ;   } 
 
 . f o o t e r - l i n k s   a   i   {   f o n t - s i z e :   1 2 p x ;   o p a c i t y :   0 . 7 ;   } 
 
 . f o o t e r - b o t t o m   {   b o r d e r - t o p :   1 p x   s o l i d   # 1 e 2 9 3 b ;   p a d d i n g - t o p :   2 0 p x ;   d i s p l a y :   f l e x ;   j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;   a l i g n - i t e m s :   c e n t e r ;   f l e x - w r a p :   w r a p ;   g a p :   1 5 p x ;   } 
 
 . f o o t e r - s o c i a l s   {   d i s p l a y :   f l e x ;   g a p :   1 5 p x ;   } 
 
 . f o o t e r - s o c i a l s   a   {   w i d t h :   3 6 p x ;   h e i g h t :   3 6 p x ;   b o r d e r - r a d i u s :   5 0 % ;   b a c k g r o u n d :   # 1 e 2 9 3 b ;   c o l o r :   # 9 4 a 3 b 8 ;   d i s p l a y :   f l e x ;   a l i g n - i t e m s :   c e n t e r ;   j u s t i f y - c o n t e n t :   c e n t e r ;   t e x t - d e c o r a t i o n :   n o n e ;   t r a n s i t i o n :   a l l   0 . 3 s   e a s e ;   } 
 
 . f o o t e r - s o c i a l s   a : h o v e r   {   b a c k g r o u n d :   # F F 6 D 3 8 ;   c o l o r :   w h i t e ;   t r a n s f o r m :   t r a n s l a t e Y ( - 3 p x ) ;   b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 2 5 5 , 1 0 9 , 5 6 , 0 . 3 ) ;   } 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   {   . f o o t e r - b o t t o m   {   f l e x - d i r e c t i o n :   c o l u m n ;   t e x t - a l i g n :   c e n t e r ;   j u s t i f y - c o n t e n t :   c e n t e r ;   }   . s i t e - f o o t e r   {   p a d d i n g - b o t t o m :   8 0 p x ;   }   } 
 
 

/* --- Perfect Premium Footer --- */
.site-footer { background: #0f172a; color: #94a3b8; padding: 60px 0 20px; font-size: 14px; margin-top: auto; border-top: 1px solid #1e293b; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #f8fafc; font-size: 16px; margin-bottom: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col p { margin-bottom: 15px; line-height: 1.7; }
.footer-logo-img { max-height: 45px; margin-bottom: 15px; filter: brightness(0) invert(1); opacity: 0.9; transition: opacity 0.3s; }
.footer-logo-img:hover { opacity: 1; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: #FF6D38; transform: translateX(5px); }
.footer-links a i { font-size: 12px; opacity: 0.7; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-socials { display: flex; gap: 15px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: #1e293b; color: #94a3b8; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s ease; }
.footer-socials a:hover { background: #FF6D38; color: white; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(255, 109, 56, 0.3); }
@media (max-width: 768px) { .footer-bottom { flex-direction: column; text-align: center; justify-content: center; } .site-footer { padding-bottom: 80px; } }
