@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --primary: #4F46E5;
    --primary-dark: #4338ca;
    --secondary: #EC4899;
    --dark: #111827;
    --gray: #6B7280;
    --light: #F9FAFB;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --border: rgba(229, 231, 235, 0.8);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: #f3f4f6;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    /* Premium feel */
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Header/Nav */
.navbar {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #374151;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 0.5rem 1.2rem;
    background: var(--primary);
    color: white !important;
    border-radius: 99px;
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Search Bar (Floating) */
.search-container {
    background: white;
    padding: 1.5rem;
    border-radius: 99px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: 900px;
    margin: -3rem auto 3rem;
    position: relative;
    z-index: 10;
}

.search-input {
    flex: 1;
    border: none;
    padding: 0 1rem;
    border-right: 1px solid #e5e7eb;
}

.search-input:last-child {
    border-right: none;
}

.search-input label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-input input,
.search-input select {
    width: 100%;
    border: none;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    background: transparent;
}

.btn-search {
    background: var(--secondary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

.btn-search:hover {
    transform: scale(1.05);
    background: #db2777;
}

/* Sections */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #f3f4f6;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.card-text {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.card-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--dark);
    color: white;
    padding: 0.8rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    font-weight: 600;
}

.card-btn:hover {
    background: var(--primary);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: auto;
}

/* Forms */
.auth-container {
    max-width: 400px;
    margin: 4rem auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
}

.btn-primary {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Hotel Detail */
.hotel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    height: 400px;
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amenities-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.amenity-tag {
    background: #eff6ff;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}