/* --- Base/Reset Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #e67e22; /* Orange for accents */
    --secondary-color: #34495e; /* Dark Blue for nav/footer */
    --light-color: #ecf0f1; /* Light background */
    --text-color: #333;
    --success-color: #27ae60;
    --error-color: #c0392b;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f4f4;
    padding-top: 60px; /* Space for the sticky header */
}

/* --- Hero Section --- */
.hero {
    /* Assuming a hero.jpg exists in assets/images */
    background: url('../assets/images/hero.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-out; /* Added animation */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h2 {
    font-size: 3.5em; /* Slightly larger */
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Stronger shadow */
    line-height: 1.1;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons/CTAs --- */
.cta-button {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px; /* Pill shape */
    font-weight: 700;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

.primary-button {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.primary-button:hover {
    background: #c0631e;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.secondary-button {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    margin-left: 10px;
}

.secondary-button:hover {
    background: #2c3e50;
    transform: translateY(-1px);
}

/* --- Header & Navigation (Improved) --- */
.main-header {
    background: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed; /* Make it sticky */
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.site-title-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8em;
    font-weight: 700;
    padding: 5px 0;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    align-items: center;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--light-color);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.main-nav ul li a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.welcome-message {
    color: var(--primary-color);
    font-weight: 700;
    padding: 10px 15px;
}

/* Mobile Menu Button */
.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 11;
    position: relative;
    outline: none;
}

/* Menu Icon (Hamburger) */
.menu-toggle-btn .menu-icon {
    width: 30px;
    height: 3px;
    background-color: #fff;
    display: block;
    position: relative;
    transition: 0.3s ease;
}

.menu-toggle-btn .menu-icon::before, .menu-toggle-btn .menu-icon::after {
    content: '';
    width: 30px;
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: 0.3s ease;
}

.menu-toggle-btn .menu-icon::before {
    top: -10px;
}

.menu-toggle-btn .menu-icon::after {
    top: 10px;
}

/* Menu Icon (Close 'X' state) */
.menu-toggle-btn[aria-expanded="true"] .menu-icon {
    background-color: transparent;
}

.menu-toggle-btn[aria-expanded="true"] .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle-btn[aria-expanded="true"] .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile View Adjustments */
@media (max-width: 900px) { /* Increased breakpoint for better display */
    .menu-toggle-btn {
        display: block;
    }

    .main-nav ul {
        display: none; 
        flex-direction: column;
        width: 100%;
        background-color: var(--secondary-color);
        position: fixed; /* Use fixed for full screen menu overlay */
        top: 60px; /* Below the header */
        left: 0;
        height: calc(100vh - 60px);
        padding: 30px 0;
        gap: 20px;
        align-items: center;
        overflow-y: auto;
    }

    .main-nav ul.active {
        display: flex; 
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2.5em;
    }
}

/* --- Content Sections --- */
.section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 25px; /* Slightly more padding */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08); /* Better shadow */
    transition: all 0.5s ease-out; /* Smooth entrance */
}

.section h3 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 1.7em;
    display: flex;
    align-items: center;
}

.section h3 i {
    margin-right: 10px;
    font-size: 1.2em;
}

.attractions-list {
    list-style-type: none;
    padding-left: 0;
}

.attractions-list li {
    background: var(--light-color);
    padding: 12px 18px;
    margin-bottom: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    font-weight: 500;
    border-left: 5px solid var(--primary-color);
}

.attractions-list li i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* --- Itinerary Preview Section --- */
.itinerary-form-container {
    margin-bottom: 20px;
    padding: 20px;
    border: 2px dashed #bdc3c7;
    border-radius: 10px;
    background: #f9f9f9;
    display: flex;
    flex-wrap: wrap; /* Allows input and button to wrap */
    gap: 10px;
    align-items: center;
}

.itinerary-input {
    flex-grow: 1; /* Takes up available space */
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
    min-width: 250px;
}

.form-message {
    width: 100%;
    margin-top: 5px;
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
}

.success-message {
    background-color: #e8f5e9; /* Light green */
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.error-message {
    background-color: #fce4e4; /* Light red */
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.itinerary-item {
    background: #ecf0f1;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* --- Loading Spinner --- */
.loading-spinner {
    border: 4px solid var(--light-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* --- Footer --- */
footer {
    background: var(--secondary-color);
    color: #bdc3c7;
    text-align: center;
    padding: 20px 20px;
    font-size: 0.95em;
    margin-top: 40px;
}

/* --- Attractions Grid Styling --- */

.section-intro {
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #555;
    text-align: center;
}

.attractions-grid {
    display: grid;
    /* Responsive grid: 2 columns on large screens, 1 column on small screens */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.attraction-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Ensures image corners are rounded */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.attraction-image {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Ensures images fill the container without distortion */
    margin-bottom: 15px;
    display: block;
}

.attraction-card h4 {
    color: var(--secondary-color);
    font-size: 1.3em;
    margin: 10px 0 10px;
    padding: 0 15px;
}

.attraction-card p {
    color: var(--text-color);
    padding: 0 15px 15px;
    font-size: 0.95em;
}

.details-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    transition: color 0.2s;
}

.details-link:hover {
    color: #c0631e;
}

/* Styling for sub-headings within the About section */
.about-content h4 {
    color: var(--secondary-color); /* Dark Blue */
    font-size: 1.25em;
    margin-top: 25px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ccc;
}