 /* Global Styles & Variables */
:root {
    --primary-color: #007BFF;
    --primary-hover: #0056b3;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-text-color: #f4f4f4;
    --border-color: #ddd;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    padding-top: 80px; 
}

section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: var(--secondary-color);
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 15px; }
a { text-decoration: none; color: var(--primary-color); }
ul { list-style: none; }

/* --- Buttons --- */
.btn, .btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}
.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- Header & Navigation --- */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wzNjUyOXwwfDF8c2VhcmNofDE2fHx0cmF2ZWx8ZW58MHx8fHwxNzE1MjE5Mjc4fDA&ixlib=rb-4.0.3&q=80&w=1200') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.search-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    width: 70%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* --- Card Grid Layout (Used for Destinations, Blogs) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-content .price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    text-align: right;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* --- FAQ Section --- */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}
.faq-question {
    margin-bottom: 0;
    cursor: pointer;
    position: relative;
    font-size: 1.2rem;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer p {
    padding-top: 15px;
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}
.faq-item.active .faq-question::after {
    content: '−';
}

/* --- Footer --- */
footer {
    background-color: #222;
    color: var(--light-text-color);
    padding-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-container h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-container p, .footer-links li {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--light-text-color);
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    padding: 10px 15px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}
.newsletter-form button:hover {
    background: var(--primary-hover);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #444;
}

/* --- Destinations Page --- */
.search-bar-container {
    margin: 30px 0;
}
#destSearch {
    width: 100%;
    padding: 12px 15px;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

/* --- Details Page --- */
.details-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.destination-details h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.details-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.details-main h2 {
    text-align: left;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}
.details-main h3 {
    margin-top: 30px;
}
#dest-attractions li {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 8px;
}

.details-sidebar .info-box {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.details-sidebar .info-box p {
    font-size: 1.1rem;
}
.details-sidebar .btn {
    width: 100%;
    font-size: 1.1rem;
}

/* --- Form Layout (Booking & Contact) --- */
.form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}
.booking-page .form-layout, .contact-page .form-layout {
    background: var(--secondary-color);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info h3, .contact-info h4 {
    margin-bottom: 10px;
}
.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.contact-info p a {
    color: var(--text-color);
}
.contact-info p a:hover {
    color: var(--primary-color);
}

.map-placeholder {
    height: 300px;
    background: #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    border: 1px solid var(--border-color);
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .details-content, .contact-layout {
        grid-template-columns: 1fr;
    }
    .details-sidebar {
        grid-row: 1; 
    }
    .contact-info {
        grid-row: 1;
        text-align: center;
    }
    .map-placeholder {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    h1, .hero-content h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 30px;
        transition: left 0.3s ease-in-out;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links li a {
        font-size: 1.3rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hamburger active state */
    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .search-bar input {
        width: 100%;
    }
    
    .form-layout {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: 1;
    }
}