/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Volkhov:wght@700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #F85F43;
    --secondary-color: #007bff; /* A nice blue for search button */
    --heading-font: 'Volkhov', serif;
    --body-font: 'Poppins', sans-serif;
    --text-color: #333;
    --light-text-color: #666;
    --background-color: #FFF9F8;
    --footer-background: #F97860;
    --container-width: 1200px;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background-color: #fdfdfd;
    color: var(--text-color);
    font-size: 16px;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Header & Navigation */
header {
    background-color: var(--background-color);
    padding: 20px 0;
    border-bottom-left-radius: 90px;
    border-bottom-right-radius: 90px;
}

nav {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 28px;
    font-weight: bold;
    font-family: var(--heading-font);
}

.logo-image img {
    width: 200px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.btn-book-now {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(248, 95, 67, 0.3);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    padding: 80px 0;
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 40px;
}

.hero-text {
    flex: 1.2;
}

.hero-text h1 {
    font-family: var(--heading-font);
    font-size: 64px;
    line-height: 1.25;
    font-weight: 700;
}

.hero-text .highlight {
    color: var(--primary-color);
}

.hero-text p {
    margin-top: 25px;
    color: var(--light-text-color);
    max-width: 500px;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
}

/* Booking Form */
.booking-form-container {
    padding: 0 40px;
    margin-top: -70px; /* Pulls the form up */
    position: relative;
    z-index: 10;
}

.booking-form {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.form-group label {
    font-size: 14px;
    color: var(--light-text-color);
    margin-bottom: 8px;
}
.form-group label i {
    margin-right: 5px;
    color: var(--primary-color);
}

.form-group input {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-family: var(--body-font);
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(248, 95, 67, 0.2);
}

.btn-search {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-search:hover {
    background-color: #0056b3;
}

/* Main Content & Shared Styles */
main {
    padding: 100px 40px 0; /* Adjusted padding-bottom */
}

section {
    max-width: var(--container-width);
    margin: 0 auto 100px auto;
}

h2 {
    font-family: var(--heading-font);
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
}

.subtitle {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 18px;
}

/* Featured Hotels Section */
.hotel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.hotel-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.hotel-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.hotel-card .hotel-info { padding: 25px; }
.hotel-info h3 { font-size: 20px; margin-bottom: 8px; }
.hotel-info .location { color: var(--light-text-color); margin-bottom: 15px; font-size: 14px; }
.hotel-details { margin-bottom: 15px; }
.rating { font-weight: 600; color: #f0ad4e; }
.rating i { margin-right: 4px; }
.hotel-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eee; padding-top: 15px; }
.amenities { display: flex; gap: 15px; color: var(--light-text-color); }
.amenities i { cursor: pointer; }
.price span { color: var(--light-text-color); font-size: 14px; display: block; text-align: right; }
.price strong { font-size: 22px; color: var(--primary-color); font-weight: 700; }

/* About Us Section */
.about { display: flex; align-items: center; gap: 80px; }
.about-image { flex: 1; position: relative; }
.about-image img { width: 100%; border-radius: 20px; }
.experience-badge { position: absolute; bottom: -35px; right: -35px; background-color: var(--primary-color); color: white; padding: 25px; border-radius: 15px; text-align: center; width: 160px; box-shadow: 0 10px 20px rgba(248, 95, 67, 0.3); }
.experience-badge i { font-size: 32px; margin-bottom: 10px; }
.experience-badge strong { font-size: 20px; display: block; }
.about-content { flex: 1.2; }
.about-content h2 { text-align: left; margin-left: 0; margin-bottom: 20px; }
.about-content .subtitle { text-align: left; }
.about-content p { line-height: 1.8; color: var(--light-text-color); margin-bottom: 30px; }
.author { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
.author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.author .signature { height: 40px; width: auto; margin-left: auto; }
.btn-learn-more { background-color: var(--primary-color); color: white; padding: 14px 35px; border-radius: 8px; text-decoration: none; font-weight: 600; display: inline-block; }

/* Top Destinations Section */
.destination-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 20px; }
.destination-item { position: relative; overflow: hidden; border-radius: 15px; display: flex; align-items: flex-end; padding: 25px; }
.destination-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; z-index: -1; }
.destination-item:hover img { transform: scale(1.1); }
.destination-item span { color: white; font-size: 24px; font-weight: 600; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); }
.destination-item small { display: block; font-weight: 400; font-size: 16px; }

/* Blog Section */
.blog-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.blog-post { background: #fff; border-radius: 15px; box-shadow: 0 8px 30px rgba(0,0,0,0.08); overflow: hidden; }
.blog-post img { width: 100%; height: 250px; object-fit: cover; }
.post-content { padding: 25px; }
.post-content h3 { font-size: 20px; margin-bottom: 15px; line-height: 1.4; }
.post-content p { color: var(--light-text-color); line-height: 1.7; }
.post-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.post-meta a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.post-meta span { color: #999; }

/* === NEW SECTION: TESTIMONIALS === */
.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}
.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 3px solid var(--background-color);
}
.testimonial-card p {
    font-style: italic;
    color: var(--light-text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}
.rating-stars {
    color: #f0ad4e;
    font-size: 18px;
    margin-bottom: 20px;
}
.customer-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}
.customer-info span {
    color: var(--light-text-color);
}

/* === NEW SECTION: CALL TO ACTION (CTA) === */
.cta {
    background: linear-gradient(rgba(20, 30, 40, 0.6), rgba(20, 30, 40, 0.6)), url('https://images.unsplash.com/photo-1534214526114-0ea5d216e52f?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    padding: 80px 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
}
.cta-content h2 {
    font-family: var(--heading-font);
    font-size: 40px;
    margin-bottom: 15px;
}
.cta-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}
.btn-cta {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(248, 95, 67, 0.4);
}
.btn-cta:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background-color: var(--footer-background); color: white;
    padding: 80px 40px; margin-top: 100px;
}
.footer-container {
    max-width: var(--container-width); margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px;
}
.footer-about h3, .footer-links h3, .footer-services h3, .footer-contact h3 { font-size: 22px; margin-bottom: 25px; }
.footer-about p { line-height: 1.8; margin-bottom: 25px; opacity: 0.9; }
.social-icons a {
    color: white; background-color: rgba(255,255,255, 0.2);
    width: 40px; height: 40px; display: inline-flex; justify-content: center;
    align-items: center; border-radius: 50%; text-decoration: none;
    margin-right: 10px; transition: background-color 0.3s;
}
.social-icons a:hover { background-color: var(--primary-color); }
.footer-links ul, .footer-services ul, .footer-contact ul { list-style: none; }
.footer-links ul li, .footer-services ul li { margin-bottom: 15px; }
.footer-links ul li a, .footer-services ul li a {
    color: white; text-decoration: none; opacity: 0.9; transition: opacity 0.3s;
}
.footer-links ul li a:hover, .footer-services ul li a:hover { opacity: 1; }
.footer-contact ul li {
    display: flex; align-items: flex-start; gap: 15px;
    margin-bottom: 20px; opacity: 0.9;
}
.footer-contact ul li i { margin-top: 5px; }

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hotel-cards, .blog-posts {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}
@media (max-width: 992px) {
    .booking-form { flex-direction: column; align-items: stretch; }
    .about { flex-direction: column; }
    .destination-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero-section { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 48px; }
    .hero-text p { margin: 25px auto; }
    .destination-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-contact ul li { justify-content: center; }
    .cta-content h2 { font-size: 32px; }
}