/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--background-dark); /* Deep black-gray for a dark premium feel */
    color: var(--primary-text); /* Soft white for easy readability */
}

/* Color Palette Variables */
:root {
    --background-dark: #0D0D0D; /* Deep black-gray */
    --secondary-background: #1A1A1A; /* Slightly lighter gray for sections or cards */
    --primary-text: #EAEAEA; /* Soft white */
    --secondary-text: #A0A0A0; /* Muted gray for less important info */
    --accent-highlight: #FF4C29; /* Warm orange-red */
    --link-hover: #FF784E; /* Slightly brighter version of accent color for interactivity */
    --divider-border: #2C2C2C; /* Subtle gray to separate sections cleanly */
}

/* Header Styles */
header {
    background-color: var(--secondary-background);
    color: var(--primary-text);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-highlight);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    color: var(--link-hover);
}

.search-bar {
    display: flex;
}

.search-bar input {
    border: none;
    padding: 8px;
    border-radius: 5px 0 0 5px;
    background-color: var(--background-dark);
    color: var(--primary-text);
}
.search-bar button {
    background-color: var(--accent-highlight);
    color: var(--primary-text);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: var(--link-hover); /* A slightly brighter shade for hover */
}
/* Hero Section */
.hero {
    background: url('main-homepage.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-text);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: -1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background-color: var(--accent-highlight);
    color: var(--primary-text);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--link-hover); /* A slightly brighter shade for hover */
}

/* Booking Placeholder */
.booking-placeholder {
    background-color: var(--secondary-background);
    color: var(--primary-text);
    text-align: center;
    padding: 40px 20px;
    margin: 20px 0;
}

.booking-placeholder h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Booking Form - Pretty Search Bar */
.booking-form-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.booking-form-placeholder input {
    width: min(620px, 70%);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--divider-border);
    background-color: #141414;
    color: var(--primary-text);
    outline: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.booking-form-placeholder input::placeholder {
    color: var(--secondary-text);
}

.booking-form-placeholder input:focus {
    border-color: var(--accent-highlight);
    box-shadow: 0 0 0 3px rgba(255, 76, 41, 0.25);
}

.booking-form-placeholder button {
    background-color: var(--accent-highlight);
    color: var(--primary-text);
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.booking-form-placeholder button:hover {
    background-color: var(--link-hover);
    transform: translateY(-1px);
}

.booking-form-placeholder button:active {
    transform: translateY(0);
}

/* Highlight Cards */
.highlight-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--primary-text); /* Default text color for the section */
    margin-bottom: 40px; /* Add space below the highlight cards section */
}

.highlight-cards-container {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('Home page 2nd.jpg') no-repeat center center/cover;
    padding: 20px 0;
}

.highlight-cards .card {
    background-color: rgba(26, 26, 26, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.highlight-cards .card h3,
.highlight-cards .card p {
    color: var(--primary-text); /* Ensure text inside cards is readable */
}

.highlight-cards .card a {
    background-color: var(--accent-highlight);
    color: var(--primary-text);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.highlight-cards .card a:hover {
    background-color: var(--link-hover); /* Slightly darker orange */
}

.card:hover {
    transform: translateY(-10px);
}

/* Testimonial Section */
.testimonial {
    background: url('home 3nd.jpg') no-repeat center center/cover;
    color: var(--primary-text);
    text-align: center;
    padding: 60px 20px;
    font-style: italic;
}

.testimonial blockquote {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

.testimonial p {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Small Hero Section */
.hero-small {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('Neigbhorhood back groumd.jpg') no-repeat center center/cover;
    color: var(--primary-text);
    text-align: center;
    padding: 80px 20px;
}

.hero-small h1 {
    font-size: 3rem;
    margin: 0;
}

/* Explore page hero override */
.hero-small.hero-explore {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('Explore page background.jpg') no-repeat center center/cover;
}

/* Visitor Info page hero override */
.hero-small.hero-visitor {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('Visitors page.jpg') no-repeat center center/cover;
}

/* About & Contact page hero override */
.hero-small.hero-about {
    background: var(--secondary-background);
    padding: 60px 20px;
}

/* About page main background removed */

/* Itinerary List */
.itinerary-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
    margin: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
                url('jermaine-ee-A2CChTZvzTE-unsplash.jpg') no-repeat center center/cover;
}

.itinerary-card {
    background-color: var(--secondary-background);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.itinerary-card:hover {
    transform: translateY(-10px);
}

/* Neighborhood card backgrounds */
.neighborhood-card.bg-midtown {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('Midtown NYC.jpg') no-repeat center center/cover;
}

.neighborhood-card.bg-soho {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('Soho NYC.jpg') no-repeat center center/cover;
}

.neighborhood-card.bg-greenwich {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('nyc greenwich village.jpg') no-repeat center center/cover;
}

.neighborhood-card.bg-brooklyn {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('Brooklyn.jpg') no-repeat center center/cover;
}

.neighborhood-card.bg-centralpark {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('Central Park.jpg') no-repeat center center/cover;
}

.neighborhood-card.bg-midtown,
.neighborhood-card.bg-soho,
.neighborhood-card.bg-greenwich,
.neighborhood-card.bg-brooklyn,
.neighborhood-card.bg-centralpark {
    color: var(--primary-text);
}

/* Ensure text inside image-backed cards stays high-contrast */
.neighborhood-card.bg-midtown h3,
.neighborhood-card.bg-soho h3,
.neighborhood-card.bg-greenwich h3,
.neighborhood-card.bg-brooklyn h3,
.neighborhood-card.bg-centralpark h3,
.neighborhood-card.bg-midtown p,
.neighborhood-card.bg-soho p,
.neighborhood-card.bg-greenwich p,
.neighborhood-card.bg-brooklyn p,
.neighborhood-card.bg-centralpark p {
    color: var(--primary-text);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* High-contrast small CTA buttons on neighborhood cards */
.cta-button-small {
    display: inline-block;
    background-color: var(--accent-highlight);
    color: var(--primary-text);
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-button-small:hover {
    background-color: var(--link-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.cta-button-small:active {
    transform: translateY(0);
}

/* CSS-only modal using :target */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.modal:target {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-checkbox {
    position: fixed;
    top: -10000px;
    left: -10000px;
}

.modal-checkbox:checked + .modal {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--secondary-background);
    color: var(--primary-text);
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    max-width: 720px;
    width: 92%;
    padding: 24px;
    position: relative;
}

.modal-content h3 {
    margin-top: 0;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-highlight);
    color: var(--primary-text);
    text-decoration: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: 600;
}

.modal-close:hover {
    background: var(--link-hover);
}

.itinerary-card h3 {
    color: var(--primary-text);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.itinerary-card p {
    color: var(--secondary-text);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cta-button-small {
    background-color: var(--accent-highlight);
    color: var(--primary-text);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button-small:hover {
    background-color: var(--link-hover);
}

/* Neighborhood List */
.neighborhood-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.neighborhood-card {
    background-color: var(--secondary-background);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 20px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.neighborhood-card:hover {
    transform: translateY(-10px);
}

.neighborhood-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.neighborhood-card h3 {
    color: var(--primary-text);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.neighborhood-card p {
    color: var(--secondary-text);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Collapsible info box inside neighborhood cards */
.neighborhood-info {
    background-color: rgba(0, 0, 0, 0.55);
    color: var(--primary-text);
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    margin-top: 12px;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.neighborhood-details { margin-top: 8px; }
.neighborhood-details summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ''; }

.neighborhood-details[open] .neighborhood-info {
    padding: 16px;
    max-height: 500px; /* large enough to reveal content */
}

.neighborhood-info h4 {
    margin: 0 0 8px 0;
    color: var(--accent-highlight);
}

.neighborhood-info ul {
    margin: 0 0 8px 18px;
}

.neighborhood-info li {
    color: var(--primary-text);
    margin-bottom: 6px;
}

/* Info Section */
.info-section {
    background-color: rgba(26, 26, 26, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    padding: 30px;
    max-width: 900px;
}

main.page-bg-visitor {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('visitor page main bg.jpg') no-repeat center center/cover;
}

.info-section h2 {
    color: var(--primary-text);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.info-content h3 {
    color: var(--accent-highlight);
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.info-content p {
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-content p strong {
    color: var(--primary-text);
}

/* About Section */
.about-section {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    padding: 30px;
    max-width: 900px;
    text-align: center;
}

.about-section h2 {
    color: var(--almost-black);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-section p {
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    padding: 30px;
    max-width: 600px;
}

.contact-section h2 {
    color: var(--almost-black);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--almost-black);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    font-size: 1.1rem;
    background-color: var(--golden-orange);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e09100; /* A slightly darker shade for hover */
}

/* Social Media Section */
.social-media {
    text-align: center;
    padding: 40px 20px;
}

.social-media h2 {
    color: var(--almost-black);
    font-size: 2rem;
    margin-bottom: 20px;
}

.social-icons a {
    color: var(--deep-blue-gray);
    font-size: 2.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--golden-orange);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .nav-links li {
        margin: 5px 0;
    }

    .search-bar {
        width: 100%;
        margin-top: 10px;
    }

    .search-bar input {
        width: calc(100% - 80px); /* Adjust for button width */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .highlight-cards,
    .itinerary-list,
    .neighborhood-list {
        flex-direction: column;
        align-items: center;
    }

    .card,
    .itinerary-card,
    .neighborhood-card {
        width: 90%;
        margin: 15px 0;
    }

    .testimonial blockquote {
        font-size: 1.4rem;
    }

    .info-section {
        margin: 20px;
        padding: 20px;
    }

    .contact-section {
        margin: 20px;
        padding: 20px;
    }

    .social-icons a {
        font-size: 2rem;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .booking-placeholder h2 {
        font-size: 1.5rem;
    }

    .testimonial blockquote {
        font-size: 1.2rem;
    }

    .info-section h2,
    .contact-section h2,
    .social-media h2 {
        font-size: 1.5rem;
    }

    .info-content h3 {
        font-size: 1.1rem;
    }
}

footer {
    background-color: var(--secondary-background);
    color: var(--secondary-text);
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 1px solid var(--divider-border);
}

footer .social-links a {
    color: var(--primary-text);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--accent-highlight);
}

footer p {
    margin-top: 20px;
    font-size: 0.9rem;
}
/* About page main background */
main.page-bg-about {
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
                url('About us baclground.jpg') no-repeat center center/cover;
}
