/* assets/css/style.css */

/* --- 1. Variables and Global Styles --- */
:root {
    --primary-color: #D4AF37; /* A luxurious gold/amber */
    --background-color: #121212; /* A deep, near-black */
    --card-background: #1E1E1E; /* A slightly lighter dark for cards */
    --text-color: #E0E0E0; /* A soft white for readability */
    --text-secondary: #AAAAAA; /* Gray for descriptions */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- 2. Header and Hero Section --- */
.hero {
    height: 40vh;
    background: url('../images/hotel_banner.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Dark overlay for text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}

.hero-content {
    position: relative; /* To be on top of the overlay */
    z-index: 1;
    color: #fff;
}

.hotel-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hotel-tagline {
    font-size: 1.2rem;
    font-weight: 300;
}

/* --- 3. Section Styling --- */
section {
    padding: 40px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.menu-category h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* --- 4. Menu Card Design --- */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to 1 column for mobile */
    gap: 30px;
}

.menu-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease-out forwards;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.item-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
}

.item-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    white-space: nowrap;
    margin-left: 15px;
}

.item-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- 5. AI CTA Section --- */
.cta-section {
    background: var(--card-background);
    text-align: center;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: var(--border-radius);
}

.cta-button {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: not-allowed;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

/* --- 6. Reviews Section --- */
.review-card {
    background: transparent;
    border: 1px solid #333;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
}

.review-rating {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.review-comment {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.review-author {
    margin-top: 15px;
    font-weight: bold;
    color: var(--text-color);
}

/* --- 7. Footer --- */
.footer {
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    border-top: 1px solid #333;
    color: var(--text-secondary);
}

/* --- 8. Animations & Responsive Design --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* For tablets and larger screens */
@media (min-width: 768px) {
    .hotel-title {
        font-size: 4rem;
    }
    .menu-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on larger screens */
    }
}
/* --- 9. Review Form Styling --- */
.review-form-container {
    margin-top: 40px;
    padding: 30px;
    background: var(--card-background);
    border-radius: var(--border-radius);
}

.review-form-container h4 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #333;
    border: 1px solid #555;
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-body);
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #f0c961; /* Lighter gold on hover */
}

/* Interactive Star Rating */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input { display: none; }

.star-rating label {
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating input:checked ~ label,
.star-rating:not(:checked) > label:hover,
.star-rating:not(:checked) > label:hover ~ label {
    color: var(--primary-color);
}