@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ww2-olive: #556B2F;
    --ww2-khaki: #C3B091;
    --ww2-brown: #8B4513;
    --ww2-tan: #D2B48C;
    --ww2-dark: #2F4F2F;
    --ww2-gold: #DAA520;
    --ww2-red: #8B0000;
    --ww2-cream: #F5F5DC;
    --ww2-dark-brown: #654321;
}

html {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2F2F2F;
    background: linear-gradient(135deg, #F5F5DC 0%, #E8E8D8 100%);
    background-attachment: fixed;
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 69, 19, 0.03) 2px,
            rgba(139, 69, 19, 0.03) 4px
        );
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    background: linear-gradient(180deg, var(--ww2-dark) 0%, var(--ww2-olive) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1000;
    border-bottom: 3px solid var(--ww2-gold);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 110px;
    width: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ww2-gold);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--ww2-cream);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--ww2-gold);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ww2-gold);
    background-color: rgba(218, 165, 32, 0.1);
}

/* Hero Section */
.hero {
    background-image: url('banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 79, 45, 0.7) 0%, rgba(101, 67, 33, 0.7) 50%, rgba(45, 79, 45, 0.7) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tripadvisor-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.9) 0%, rgba(184, 134, 11, 0.9) 100%);
    padding: 1rem 2rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.3);
}

.tripadvisor-logo {
    height: 85px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.badge-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-top: 0.5rem;
}

.tripadvisor-badge-link {
    text-decoration: none;
}

.tripadvisor-badge-wide {
    flex-wrap: wrap;
    padding-inline: 2.5rem;
}

.tripadvisor-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

/* TripAdvisor Travelers' Choice widget image sizing */
.widCOEImg {
    height: 150px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}

.inline-link {
    color: var(--ww2-gold);
    text-decoration: underline;
    font-weight: 600;
}

.inline-link:hover {
    color: white;
    text-decoration: none;
    background: rgba(218, 165, 32, 0.25);
    padding: 0 4px;
    border-radius: 4px;
}

/* Sections */
.intro-section,
.exhibits-section,
.reviews-section,
.about-content,
.contact-section,
.news-section,
.management-section {
    padding: 4rem 0;
    position: relative;
}

.page-header {
    background: linear-gradient(135deg, var(--ww2-dark) 0%, var(--ww2-olive) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 4px solid var(--ww2-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.intro-section {
    background: linear-gradient(to bottom, white 0%, var(--ww2-cream) 100%);
}

.intro-section h2,
.exhibits-section h2,
.reviews-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--ww2-dark);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 1rem;
}

.intro-section h2::after,
.exhibits-section h2::after,
.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--ww2-gold), transparent);
}

.intro-text {
    font-size: 1.15rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.9;
    color: var(--ww2-dark-brown);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, white 0%, var(--ww2-cream) 100%);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s;
    border: 2px solid var(--ww2-khaki);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ww2-gold), var(--ww2-olive));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.feature-card h3 {
    color: var(--ww2-dark);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
}

/* Image Gallery */
.exhibits-section {
    background: linear-gradient(to bottom, var(--ww2-cream) 0%, white 100%);
}

/* Recent Posts Section */
.recent-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 3px solid var(--ww2-gold);
}

.recent-posts h3 {
    font-family: 'Playfair Display', serif;
    color: var(--ww2-dark);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.recent-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recent-post-card {
    background: linear-gradient(135deg, white 0%, var(--ww2-cream) 100%);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 2px solid var(--ww2-khaki);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.recent-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    border-color: var(--ww2-gold);
}

.recent-post-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    object-fit: cover;
    border: 2px solid var(--ww2-khaki);
}

.recent-post-card h4 {
    font-family: 'Playfair Display', serif;
    color: var(--ww2-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.recent-post-date {
    color: var(--ww2-olive);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.recent-post-excerpt {
    color: var(--ww2-dark-brown);
    font-size: 0.95rem;
    line-height: 1.6;
}

.no-recent-posts {
    text-align: center;
    color: var(--ww2-dark-brown);
    font-style: italic;
    padding: 2rem;
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--ww2-dark-brown);
}

.image-gallery {
    max-width: 900px;
    margin: 0 auto;
}

.gallery-container {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    border: 3px solid var(--ww2-khaki);
}

.gallery-main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.gallery-btn {
    background: linear-gradient(135deg, var(--ww2-gold) 0%, var(--ww2-dark-brown) 100%);
    border: 2px solid white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.gallery-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.gallery-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.indicator.active {
    background-color: var(--ww2-gold);
    border-color: white;
    transform: scale(1.2);
}

/* Reviews */
.reviews-section {
    background: linear-gradient(to bottom, white 0%, var(--ww2-cream) 100%);
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(to bottom, var(--ww2-cream) 0%, white 100%);
    padding: 4rem 0;
}

.faq-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--ww2-dark);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 1rem;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--ww2-gold), transparent);
}

.faq-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: var(--ww2-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.faq-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--ww2-dark-brown);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, white 0%, var(--ww2-cream) 100%);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--ww2-khaki);
    border-left: 5px solid var(--ww2-gold);
    transition: all 0.3s;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.faq-question {
    font-family: 'Playfair Display', serif;
    color: var(--ww2-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.faq-answer {
    color: var(--ww2-dark-brown);
    line-height: 1.8;
    font-size: 1.05rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: linear-gradient(135deg, white 0%, var(--ww2-cream) 100%);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 2px solid var(--ww2-khaki);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--ww2-gold);
    font-family: 'Playfair Display', serif;
    opacity: 0.3;
}

.review-stars {
    color: var(--ww2-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--ww2-dark-brown);
}

.review-author {
    font-weight: bold;
    color: var(--ww2-dark);
    font-size: 0.95rem;
}

/* About Page */
.about-content {
    background: linear-gradient(to bottom, white 0%, var(--ww2-cream) 100%);
}

.history-text {
    max-width: 900px;
    margin: 0 auto 4rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--ww2-khaki);
}

.history-text h2 {
    font-family: 'Playfair Display', serif;
    color: var(--ww2-dark);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--ww2-gold);
}

.history-text p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.1rem;
    color: var(--ww2-dark-brown);
    text-align: justify;
}

.videos-section {
    max-width: 1000px;
    margin: 0 auto;
}

.videos-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    color: var(--ww2-dark);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--ww2-gold);
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.video-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 2px solid var(--ww2-khaki);
}

.video-wrapper h3 {
    color: var(--ww2-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.museum-video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Contact Page */
.contact-section {
    background: linear-gradient(to bottom, white 0%, var(--ww2-cream) 100%);
}

.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    color: var(--ww2-dark);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--ww2-gold);
    display: inline-block;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--ww2-khaki);
    min-width: 250px;
}

.contact-item h3 {
    color: var(--ww2-dark);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--ww2-olive);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--ww2-gold);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, white 0%, var(--ww2-cream) 100%);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 2px solid var(--ww2-khaki);
}

.contact-form-container h2 {
    font-family: 'Playfair Display', serif;
    color: var(--ww2-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--ww2-gold);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ww2-dark);
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--ww2-khaki);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ww2-gold);
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, var(--ww2-olive) 0%, var(--ww2-dark-brown) 100%);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid var(--ww2-gold);
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, var(--ww2-dark-brown) 0%, var(--ww2-olive) 100%);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

/* News Page */
.news-section {
    background: linear-gradient(to bottom, white 0%, var(--ww2-cream) 100%);
}

.news-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-post {
    background: linear-gradient(135deg, white 0%, var(--ww2-cream) 100%);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 2px solid var(--ww2-khaki);
    border-left: 5px solid var(--ww2-gold);
    transition: all 0.3s;
}

.news-post:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.news-post h3 {
    font-family: 'Playfair Display', serif;
    color: var(--ww2-dark);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.news-post-date {
    color: var(--ww2-olive);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.news-post-content {
    line-height: 1.9;
    color: var(--ww2-dark-brown);
    font-size: 1.05rem;
}

.no-news {
    text-align: center;
    padding: 4rem;
    color: var(--ww2-dark-brown);
    font-size: 1.3rem;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--ww2-khaki);
}

/* Management Page */
.management-section {
    background: linear-gradient(to bottom, white 0%, var(--ww2-cream) 100%);
}

.login-section,
.dashboard-section {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, white 0%, var(--ww2-cream) 100%);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 2px solid var(--ww2-khaki);
}

.login-section h2,
.dashboard-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--ww2-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--ww2-gold);
}

.login-form {
    margin-top: 2rem;
}

.dashboard-actions {
    text-align: right;
    margin-bottom: 2rem;
}

.logout-btn {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-weight: 500;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.add-post-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--ww2-khaki);
}

.add-post-section h3,
.existing-posts-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--ww2-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ww2-gold);
}

.post-form {
    margin-top: 1.5rem;
}

.posts-list {
    margin-top: 1.5rem;
}

.post-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--ww2-gold);
    border: 2px solid var(--ww2-khaki);
    border-left-width: 5px;
}

.post-item h4 {
    color: var(--ww2-dark);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.post-item-meta {
    color: var(--ww2-olive);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.post-item-actions {
    margin-top: 1rem;
}

.delete-btn {
    background: linear-gradient(135deg, var(--ww2-red) 0%, #6B0000 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-weight: 500;
}

.delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Image Preview */
.image-preview {
    margin-top: 1rem;
}

.image-preview img {
    max-width: 300px;
    max-height: 200px;
    border-radius: 8px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid var(--ww2-khaki);
}

/* Resizable Image Container */
.resizable-image-container {
    position: relative;
    display: inline-block;
    margin-top: 1rem;
    border: 2px dashed var(--ww2-khaki);
    padding: 5px;
    border-radius: 8px;
}

.resizable-image {
    display: block;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    user-select: none;
}

.resize-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--ww2-gold);
    border: 2px solid white;
    border-radius: 50%;
    cursor: nwse-resize;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.resize-handle-se {
    bottom: -6px;
    right: -6px;
    cursor: nwse-resize;
}

.resize-handle-sw {
    bottom: -6px;
    left: -6px;
    cursor: nesw-resize;
}

.resize-handle-ne {
    top: -6px;
    right: -6px;
    cursor: nesw-resize;
}

.resize-handle-nw {
    top: -6px;
    left: -6px;
    cursor: nwse-resize;
}

.image-preview small {
    display: block;
    margin-top: 0.5rem;
    color: var(--ww2-dark-brown);
    font-size: 0.85rem;
}

/* News Post Images */
.news-post-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid var(--ww2-khaki);
}

.post-item-image {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    margin-top: 0.5rem;
    object-fit: cover;
    border: 2px solid var(--ww2-khaki);
}

/* WW2 Entry Animation */
@keyframes fadeInVintage {
    0% {
        opacity: 0;
        filter: sepia(100%) contrast(120%) brightness(0.8);
        transform: scale(0.95) translateY(20px);
    }
    50% {
        filter: sepia(50%) contrast(110%) brightness(0.9);
    }
    100% {
        opacity: 1;
        filter: sepia(0%) contrast(100%) brightness(1);
        transform: scale(1) translateY(0);
    }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-60px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.entry-animation {
    opacity: 0;
}

.entry-animation.animate {
    animation: fadeInVintage 1.2s ease-out forwards;
}

.page-header.entry-animation.animate {
    animation: slideInFromTop 0.8s ease-out forwards;
}

.hero.entry-animation.animate {
    animation: slideInFromTop 1s ease-out forwards;
}

.intro-section.entry-animation.animate,
.exhibits-section.entry-animation.animate,
.reviews-section.entry-animation.animate,
.about-content.entry-animation.animate,
.contact-section.entry-animation.animate,
.news-section.entry-animation.animate {
    animation: fadeInUp 1s ease-out forwards;
}

.contact-info.entry-animation.animate,
.contact-form-container.entry-animation.animate,
.videos-section.entry-animation.animate {
    animation: fadeInUp 1s ease-out forwards;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--ww2-olive) 0%, var(--ww2-dark) 100%);
    color: var(--ww2-cream);
    padding: 2.5rem 0;
    margin-top: auto;
    border-top: 3px solid var(--ww2-gold);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    width: 100%;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer p {
    font-size: 1rem;
    letter-spacing: 1px;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icons a {
    color: var(--ww2-cream);
    font-size: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.social-icons a:hover {
    color: var(--ww2-gold);
    background-color: rgba(218, 165, 32, 0.2);
    border-color: var(--ww2-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.tripadvisor-svg-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tripadvisor-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: all 0.3s;
}

.tripadvisor-svg-link:hover .tripadvisor-icon {
    fill: var(--ww2-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .tripadvisor-badge {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .tripadvisor-top-row {
        flex-direction: column;
        gap: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .gallery-main-image {
        height: 400px;
    }

    .videos-container {
        grid-template-columns: 1fr;
    }

    .contact-details {
        flex-direction: column;
        gap: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .intro-section h2,
    .exhibits-section h2,
    .reviews-section h2 {
        font-size: 2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}
