/* GENERAL STYLES */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #ff4d6d;
    --secondary-color: #0077b6;
    --accent-color: #ffd166;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: 0.4s;
}

nav.sticky {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 8%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

nav.sticky .nav-links a {
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.auth-btns a {
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.login-btn {
    color: #fff;
    margin-right: 15px;
}

.signup-btn {
    background: var(--primary-color);
    color: #fff !important;
}

nav.sticky .login-btn {
    color: var(--text-color);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 1.2s ease;
}

/* SEARCH BAR */
.search-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    width: 60%;
    min-width: 300px;
    box-shadow: var(--shadow);
    animation: fadeInUp 1.4s ease;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.1rem;
    padding-left: 20px;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-btn {
    background: var(--primary-color);
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 77, 109, 0.4);
}

/* CARDS */
.section-title {
    text-align: center;
    padding: 80px 0 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-color);
}

.container {
    padding: 20px 8%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.4s;
    position: relative;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 250px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.card-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.book-now {
    padding: 8px 20px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.book-now:hover {
    background: var(--primary-color);
}

/* FORMS */
.auth-page {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
}

.form-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    width: 400px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-align: center;
}

.form-box h2 {
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.input-box {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
}

.input-box input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #e63946;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER */
footer {
    background: #111;
    color: #fff;
    padding: 50px 8%;
    text-align: center;
}

.footer-links {
    margin: 30px 0;
}

.footer-links a {
    color: #ccc;
    margin: 0 15px;
    text-decoration: none;
}

/* DASHBOARD */
.dashboard-header {
    background: linear-gradient(135deg, #2c3e50, #000);
    color: #fff;
    padding: 100px 8% 50px;
    text-align: center;
}

/* GLASSMORPHISM */
.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    color: #fff;
}

.review-form textarea {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
}

.rating-stars {
    color: var(--accent-color);
    font-size: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .search-container {
        width: 90%;
        flex-direction: column;
        border-radius: 20px;
    }
    .search-input {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
}
