* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
    transition: transform 0.3s;
}

.logo a:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: var(--white);
    border-radius: 3px;
}

.feature-card:nth-child(1) .feature-icon::before {
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.feature-card:nth-child(2) .feature-icon::before {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.feature-card:nth-child(3) .feature-icon::before {
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.map-section h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.map-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.museum-map {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.museum-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.museum-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.museum-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--light-blue);
}

.museum-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.museum-card:hover .museum-image img {
    transform: scale(1.1);
}

.museum-info {
    padding: 1.5rem;
}

.museum-info h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.museum-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.museum-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.museum-card[data-category] {
    display: block;
}

.museum-card.hidden {
    display: none;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Museums List */
.museums-list {
    padding: 4rem 0;
}

.museum-detail-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.museum-detail-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    background-color: var(--light-blue);
}

.museum-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.museum-detail-content {
    padding: 2rem;
}

.museum-detail-content h2 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.museum-address {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.museum-detail-content p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.museum-hours {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.museum-hours h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.museum-hours p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Events Section */
.events-section {
    padding: 4rem 0;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-card {
    display: flex;
    gap: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 1rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 10px;
    text-align: center;
}

.event-day {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.event-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.event-location {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.event-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.event-time {
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 1rem;
}

/* Guide Section */
.guide-section {
    padding: 4rem 0;
}

.guide-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 2rem;
    margin-top: 2rem;
}

.guide-content h2:first-child {
    margin-top: 0;
}

.guide-content h3 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.guide-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.guide-list {
    margin-left: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.guide-list li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.route-card {
    background-color: var(--light-blue);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-blue);
}

.route-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.route-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.route-time {
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2,
.contact-map h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-info p,
.contact-map p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-details h3 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-details p {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-list {
    margin-left: 2rem;
    color: var(--text-dark);
}

.contact-list li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* Privacy Section */
.privacy-section {
    padding: 4rem 0;
}

.privacy-content h2 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.privacy-list {
    margin-left: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.privacy-list li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* Contact Form */
.contact-form-section {
    margin-top: 4rem;
    padding: 3rem;
    background-color: #f9fafb;
    border-radius: 10px;
}

.contact-form-section h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-form-section p {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-label span {
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */

/* Large Desktops (1440px and above) */
@media (min-width: 1440px) {
    .header-content {
        padding: 1.25rem 0;
    }

    .logo a {
        font-size: 1.75rem;
    }

    .nav-menu {
        gap: 2.5rem;
    }

    .nav-menu a {
        font-size: 1.05rem;
        padding: 0.6rem 0;
    }

    .container {
        max-width: 1400px;
    }
}

/* Desktops (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .header-content {
        padding: 1.1rem 0;
    }

    .logo a {
        font-size: 1.6rem;
    }

    .nav-menu {
        gap: 2rem;
    }

    .nav-menu a {
        font-size: 1rem;
    }
}

/* Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .header-content {
        padding: 1rem 0;
    }

    .logo a {
        font-size: 1.4rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.95rem;
        padding: 0.4rem 0;
    }

    .nav-menu a:hover {
        transform: none;
    }
}

/* Mobile and Small Tablets (up to 768px) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .museum-map {
        grid-template-columns: 1fr;
    }

    .museum-detail-card {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-filters {
        justify-content: flex-start;
    }

    .filter-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        padding: 0.75rem 0;
    }

    .logo a {
        font-size: 1.25rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-form-section {
        padding: 2rem 1.5rem;
    }
}

