* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD700;
    --primary-blue: #0066CC;
    --primary-red: #FF4444;
    --primary-green: #00AA44;
    --accent-gold: #FFA500;
    --bg-light: #FFF8DC;
    --bg-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: 'Comic Neue', cursive, sans-serif;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6B6B 100%);
    color: var(--text-dark);
    line-height: 1.6;
    animation: backgroundPulse 10s ease infinite;
}

@keyframes backgroundPulse {
    0%, 100% { background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6B6B 100%); }
    50% { background: linear-gradient(135deg, #FFA500 0%, #FF6B6B 50%, #FFD700 100%); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Banner */
.banner-top {
    background: var(--primary-red);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    animation: blink 2s infinite;
    position: sticky;
    top: 0;
    z-index: 999;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Header */
.main-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.site-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.header-stars {
    font-size: 2rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Navigation */
.main-nav {
    background: var(--primary-yellow);
    padding: 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 50px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .banner-top {
        font-size: 0.9rem;
        padding: 8px;
        position: relative;
    }
    
    .main-nav {
        position: sticky;
        top: 0;
        z-index: 1001;
        padding: 10px 0;
        min-height: 50px;
        overflow: visible;
    }
    
    .main-nav .container {
        padding-top: 0;
        padding-bottom: 0;
        min-height: 50px;
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        top: 50%;
        transform: translateY(-50%);
        left: 15px;
        position: absolute;
    }
}

.main-nav .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 20px;
    background: white;
    transition: all 0.3s ease;
    display: inline-block;
}

.main-nav a:hover {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1) rotate(2deg);
}

/* Ad Banners */
.ad-banner {
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4, #45B7D1);
    margin: 30px 0;
    padding: 30px;
    text-align: center;
    border: 5px dashed white;
    animation: adPulse 3s ease infinite;
}

@keyframes adPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.ad-placeholder {
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.ad-placeholder p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.ad-subtext {
    font-size: 1rem !important;
    color: var(--text-light) !important;
    font-weight: 400 !important;
}

/* Hero Section */
.hero-section {
    background: var(--bg-light);
    padding: 60px 20px;
    margin: 30px 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h2 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-image {
    text-align: center;
}

.hero-photo {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    object-fit: cover;
}

.image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 20px;
    border-radius: 15px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.image-note {
    font-size: 0.9rem !important;
    margin-top: 10px;
    opacity: 0.8;
}

/* Sections */
section {
    background: var(--bg-white);
    padding: 60px 20px;
    margin: 30px 0;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 700;
}

/* Attractions */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.attraction-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 20px;
    border: 4px solid var(--primary-yellow);
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.attraction-card:hover {
    transform: scale(1.05) rotate(1deg);
}

.card-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-red);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.card-image {
    margin-bottom: 15px;
}

.image-placeholder-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    border-radius: 10px;
    font-size: 3rem;
    text-align: center;
    color: white;
}

.attraction-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.attraction-card p {
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-rating {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Dining */
.dining-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.dining-card {
    background: linear-gradient(135deg, #fff, #f0f0f0);
    border-radius: 15px;
    padding: 25px;
    border: 3px solid var(--primary-green);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.dining-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 15px 0;
    font-weight: 700;
}

.dining-card p {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.price-range {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.1rem;
}

/* Shopping */
.shopping-list {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.shopping-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-yellow);
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.shopping-content {
    max-width: 800px;
    margin: 30px auto 0;
}

.shopping-alert {
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    padding: 20px;
    border-radius: 12px;
    border: 3px solid var(--primary-red);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.shopping-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.shopping-text strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Accommodation */
.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.accommodation-card {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 15px;
    padding: 25px;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.accommodation-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.accommodation-card p {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.amenities {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.1rem;
}

/* History Section */
.history-section {
    background: var(--bg-white);
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.history-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.history-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.history-image {
    text-align: center;
}

.history-photo {
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--primary-yellow);
}

.image-caption {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    font-style: italic;
}

.history-timeline {
    margin-top: 50px;
    position: relative;
    padding-left: 40px;
}

/* Timeline vertical line */
.history-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-yellow), var(--primary-red), var(--primary-blue), var(--primary-green));
    border-radius: 2px;
}

.timeline-item {
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 5px solid var(--primary-yellow);
    box-shadow: var(--shadow-sm);
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

/* Timeline dots */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-yellow);
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-red);
    z-index: 1;
}

.timeline-item:nth-child(1)::before {
    background: var(--primary-red);
    box-shadow: 0 0 0 3px var(--primary-yellow);
}

.timeline-item:nth-child(2)::before {
    background: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--primary-yellow);
}

.timeline-item:nth-child(3)::before {
    background: var(--primary-green);
    box-shadow: 0 0 0 3px var(--primary-yellow);
}

.timeline-item:nth-child(4)::before {
    background: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--primary-red);
}

.timeline-item:hover::before {
    transform: scale(1.3);
    transition: transform 0.3s;
}

.timeline-header {
    width: 100%;
    background: none;
    border: none;
    padding: 25px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: background-color 0.3s;
    position: relative;
    font-family: inherit;
}

.timeline-header:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

.timeline-header.active {
    background-color: rgba(255, 215, 0, 0.2);
}

.timeline-header-image {
    flex-shrink: 0;
    order: 3;
}

.timeline-image-left .timeline-header-image {
    order: 1;
}

.timeline-image-left .timeline-year {
    order: 2;
}

.timeline-image-left .timeline-content {
    order: 3;
}

.timeline-image-right .timeline-header-image {
    order: 4;
}

.timeline-image-right .timeline-year {
    order: 1;
}

.timeline-image-right .timeline-content {
    order: 2;
}

.timeline-header-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid var(--primary-yellow);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.timeline-toggle {
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.timeline-header.active .timeline-toggle {
    transform: rotate(180deg);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 80px;
    order: 1;
}

.timeline-content {
    flex: 1;
    order: 2;
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.timeline-summary {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
}

.timeline-details.active {
    max-height: 2000px;
    padding: 0 25px 25px 25px;
}

.timeline-detail-image {
    text-align: center;
    margin: 20px 0;
}

.timeline-photo {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--primary-yellow);
}

.timeline-details p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-photo {
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--primary-green);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-fact-box {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-gold));
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border: 3px solid var(--primary-red);
    box-shadow: var(--shadow-md);
}

.about-fact-box p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Attraction Photos */
.attraction-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid var(--primary-yellow);
}

/* History Section */
.history-section {
    background: var(--bg-white);
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.history-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.history-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.history-image {
    text-align: center;
}

.history-photo {
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--primary-yellow);
}

.image-caption {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    font-style: italic;
}

.history-timeline {
    margin-top: 50px;
    position: relative;
    padding-left: 40px;
}

/* Timeline vertical line */
.history-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-yellow), var(--primary-red), var(--primary-blue), var(--primary-green));
    border-radius: 2px;
}

.timeline-item {
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 5px solid var(--primary-yellow);
    box-shadow: var(--shadow-sm);
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

/* Timeline dots */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-yellow);
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-red);
    z-index: 1;
}

.timeline-item:nth-child(1)::before {
    background: var(--primary-red);
    box-shadow: 0 0 0 3px var(--primary-yellow);
}

.timeline-item:nth-child(2)::before {
    background: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--primary-yellow);
}

.timeline-item:nth-child(3)::before {
    background: var(--primary-green);
    box-shadow: 0 0 0 3px var(--primary-yellow);
}

.timeline-item:nth-child(4)::before {
    background: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--primary-red);
}

.timeline-item:hover::before {
    transform: scale(1.3);
    transition: transform 0.3s;
}

.timeline-header {
    width: 100%;
    background: none;
    border: none;
    padding: 25px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: background-color 0.3s;
    position: relative;
    font-family: inherit;
}

.timeline-header:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

.timeline-header.active {
    background-color: rgba(255, 215, 0, 0.2);
}

.timeline-header-image {
    flex-shrink: 0;
    order: 3;
}

.timeline-image-left .timeline-header-image {
    order: 1;
}

.timeline-image-left .timeline-year {
    order: 2;
}

.timeline-image-left .timeline-content {
    order: 3;
}

.timeline-image-right .timeline-header-image {
    order: 4;
}

.timeline-image-right .timeline-year {
    order: 1;
}

.timeline-image-right .timeline-content {
    order: 2;
}

.timeline-header-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid var(--primary-yellow);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.timeline-toggle {
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.timeline-header.active .timeline-toggle {
    transform: rotate(180deg);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 80px;
    order: 1;
}

.timeline-content {
    flex: 1;
    order: 2;
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.timeline-summary {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
}

.timeline-details.active {
    max-height: 2000px;
    padding: 0 25px 25px 25px;
}

.timeline-detail-image {
    text-align: center;
    margin: 20px 0;
}

.timeline-photo {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--primary-yellow);
}

.timeline-details p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-photo {
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--primary-green);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-fact-box {
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border: 3px solid var(--primary-red);
    box-shadow: var(--shadow-md);
}

.about-fact-box p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Attraction Photos */
.attraction-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid var(--primary-yellow);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    border: 3px solid var(--primary-yellow);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.testimonial-stars {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-blue);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin: 30px 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-section h2 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.cta-button {
    background: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    padding: 20px 40px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    font-family: 'Comic Neue', cursive;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.cta-note {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Contact Form Section */
.contact-section {
    background: var(--bg-white);
    padding: 60px 20px;
    margin: 30px 0;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    border: 4px solid var(--primary-yellow);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 3px solid var(--primary-blue);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Comic Neue', cursive;
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transform: scale(1.02);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    font-family: 'Comic Neue', cursive;
    margin-top: 10px;
}

.submit-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: scale(1);
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
}

.form-status.success {
    background: var(--primary-green);
    color: white;
    border: 3px solid var(--primary-green);
}

.form-status.error {
    background: var(--primary-red);
    color: white;
    border: 3px solid var(--primary-red);
}

/* Responsive contact form */
@media (max-width: 768px) {
    .contact-form {
        padding: 25px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-button {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-white);
    margin: 5% auto;
    padding: 0;
    border: 5px solid var(--primary-yellow);
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--primary-blue);
    padding: 30px 30px 20px;
    margin: 0;
    border-bottom: 3px solid var(--primary-yellow);
    background: linear-gradient(135deg, var(--bg-light), white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-body {
    padding: 30px;
    color: var(--text-dark);
}

.modal-body h3 {
    color: var(--primary-blue);
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.modal-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal-note {
    margin-top: 30px;
    padding: 15px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-yellow);
    border-radius: 5px;
    font-size: 0.9rem;
}

.modal-close {
    color: var(--primary-red);
    float: right;
    font-size: 35px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
    z-index: 20;
}

.modal-close:hover,
.modal-close:focus {
    transform: scale(1.2) rotate(90deg);
    color: var(--primary-blue);
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 90vh;
    }
    
    .modal-content h2 {
        padding: 20px 50px 15px 20px;
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body h3 {
        font-size: 1.2rem;
    }
    
    .modal-close {
        font-size: 30px;
        right: 15px;
        top: 15px;
    }
}

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 30px;
}

.footer-note {
    font-size: 0.9rem;
    margin: 15px 0;
    opacity: 0.8;
    font-style: italic;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: var(--primary-yellow);
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section .container {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        padding: 10px 0;
    }
    
    .main-nav .container {
        justify-content: flex-start;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-yellow);
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px 20px 20px;
        gap: 10px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-nav ul.active {
        left: 0;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    .main-nav a {
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
        text-align: left;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .attractions-grid,
    .dining-grid,
    .accommodation-grid,
    .testimonials-grid,
    .history-timeline {
        padding-left: 40px;
    }
    
    .history-timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: -45px;
    }
    
    .timeline-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .timeline-year {
        min-width: auto;
        width: 100%;
    }
    
    .timeline-toggle {
        position: absolute;
        right: 25px;
        top: 25px;
    }
    
    .timeline-photo {
        max-width: 100%;
    }
    
    .timeline-header {
        flex-wrap: wrap;
    }
    
    .timeline-header-photo {
        width: 80px;
        height: 80px;
    }
    
    .timeline-header-image {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .history-content,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .history-photo,
    .about-photo {
        max-width: 100%;
    }
    
    .history-content,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .history-photo,
    .about-photo {
        max-width: 100%;
    }
}

/* Timeline image positioning and expansion enhancements */
.timeline-header-image {
    order: 2 !important;
}

.timeline-image-left .timeline-header-image {
    order: 1 !important;
}

.timeline-image-right .timeline-header-image {
    order: 3 !important;
}

.timeline-header-photo {
    transition: all 0.4s ease !important;
}

.timeline-header.active .timeline-header-photo {
    width: 150px !important;
    height: 150px !important;
}

.timeline-details.active .timeline-header-image {
    display: block !important;
    text-align: center;
    margin: 20px 0;
    width: 100%;
}

.timeline-details.active .timeline-header-photo {
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    border-radius: 15px;
    border: 4px solid var(--primary-yellow);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Local Heroes Section */
.local-heroes-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid var(--primary-yellow);
}

.subsection-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subsection-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.heroes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.hero-card {
    background: linear-gradient(135deg, #fff, #f8f8f8);
    border-radius: 15px;
    padding: 25px;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.hero-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.hero-card h4 {
    font-size: 1.4rem;
    color: var(--primary-red);
    margin-bottom: 12px;
    font-weight: 700;
}

.hero-card p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.hero-card strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Living in Milngavie Section */
.living-section {
    background: var(--bg-light);
}

.living-content {
    max-width: 1000px;
    margin: 0 auto;
}

.living-subsection {
    margin-bottom: 50px;
}

.living-subsection:last-child {
    margin-bottom: 0;
}

/* Quote Box */
.quote-box {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-left: 6px solid var(--primary-blue);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-style: italic;
}

.quote-text:last-of-type {
    margin-bottom: 20px;
}

.quote-attribution {
    text-align: right;
    font-size: 1rem;
    color: var(--text-light);
    font-style: normal;
    margin: 0;
    padding-top: 15px;
    border-top: 2px solid var(--primary-yellow);
}

.quote-attribution strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Factfile Grid */
.factfile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.factfile-item {
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    border-radius: 12px;
    padding: 20px;
    border: 3px solid var(--primary-red);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.factfile-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.factfile-value {
    font-size: 1.4rem;
    color: var(--primary-blue);
    font-weight: 700;
    font-family: 'Fredoka One', cursive;
}

/* Twinning Grid */
.twinning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.twin-card {
    background: linear-gradient(135deg, #fff, #f8f8f8);
    border-radius: 15px;
    padding: 25px;
    border: 3px solid var(--primary-green);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.twin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.twin-card h4 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: 700;
}

.twin-card p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.twin-card strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.twin-card em {
    color: var(--text-light);
    font-style: italic;
}

/* Responsive styles for Living section */
@media (max-width: 768px) {
    .quote-box {
        padding: 20px;
    }
    
    .quote-text {
        font-size: 1rem;
    }
    
    .factfile-grid {
        grid-template-columns: 1fr;
    }
    
    .twinning-grid {
        grid-template-columns: 1fr;
    }
}

