* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C5F7C;
    --secondary-color: #F4A259;
    --accent-color: #E76F51;
    --light-bg: #F8F9FA;
    --dark-bg: #1a1a2e;
    --text-light: #2d3748;
    --text-dark: #e2e8f0;
}

[data-theme="dark"] {
    --primary-color: #4A90B8;
    --light-bg: #1a1a2e;
    --dark-bg: #0f0f1e;
    --text-light: #e2e8f0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-bg);
    color: var(--text-light);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] body {
    background: var(--dark-bg);
    color: var(--text-dark);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(26, 26, 46, 0.95);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    position: relative;
}

.navbar-brand::after {
    content: '🦐';
    margin-left: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.nav-link {
    position: relative;
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 10px;
}

[data-theme="dark"] .nav-link {
    color: var(--text-dark) !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.theme-toggle {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(20deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    margin-top: 30px;
    font-weight: 600;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-color);
}

/* Card Styles */
.culture-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .culture-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.culture-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.culture-card:hover::before {
    opacity: 0.1;
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.culture-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

[data-theme="dark"] .culture-card h3 {
    color: var(--secondary-color);
}

/* Food Section */
.food-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.food-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
    z-index: 1;
}

.food-item:hover {
    transform: scale(1.05);
}

.food-bg-1 {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect fill="%23F4A259" width="400" height="400"/><text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-size="100" fill="%23fff">🍜</text></svg>') center/cover;
}

.food-bg-2 {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect fill="%23E76F51" width="400" height="400"/><text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-size="100" fill="%23fff">🐟</text></svg>') center/cover;
}

.food-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: white;
}

.food-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Characteristics Section */
.char-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.char-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.5); opacity: 1; }
}

.char-badge:hover {
    transform: scale(1.05);
}

.char-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.char-badge h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Tour Button */
.tour-btn {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.tour-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Intro Modal */
.intro-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.intro-modal-overlay.show { opacity: 1; }

.intro-modal {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 50px 40px;
    border-radius: 30px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}
.intro-modal h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 5px 25px rgba(0,0,0,0.3);
}
.intro-modal p.lead { font-size: 1.25rem; line-height: 1.6; margin-bottom: 20px; }
.intro-modal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.intro-modal ul li {
    background: rgba(255,255,255,0.15);
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
}
.intro-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}
.intro-close:hover { background: rgba(255,255,255,0.35); transform: rotate(15deg); }

@media (max-width: 600px) {
    .intro-modal { padding: 35px 25px; }
    .intro-modal h2 { font-size: 2.2rem; }
    .intro-modal p.lead { font-size: 1.05rem; }
    .intro-modal ul { gap: 10px; }
    .intro-modal ul li { font-size: 0.85rem; padding: 8px 14px; }
}

/* About Image (Custom instead of culture-icon) */
.about-image {
    max-width: 380px; /* default for mobile & small screens */
    margin: 0 auto 40px;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(0,0,0,0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(0,0,0,0.25));
    pointer-events: none;
    mix-blend-mode: overlay;
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0; /* already clipped by parent */
    filter: saturate(1.05) contrast(1.05);
    transition: transform 0.6s cubic-bezier(0.16,0.6,0.3,1), filter 0.4s ease;
}
.about-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.35);
}
.about-image:hover img {
    transform: scale(1.06);
    filter: saturate(1.15) contrast(1.1);
}
[data-theme="dark"] .about-image {
    box-shadow: 0 18px 55px rgba(0,0,0,0.6);
}
[data-theme="dark"] .about-image::before {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(0,0,0,0.5));
}
[data-theme="dark"] .about-image:hover {
    box-shadow: 0 25px 70px rgba(0,0,0,0.75);
}

@media (max-width: 992px) {
    .about-image { margin-bottom: 30px; }
}

/* Larger sizing for desktop */
@media (min-width: 992px) {
    .about-image { max-width: 460px; }
}
@media (min-width: 1400px) {
    .about-image { max-width: 520px; }
}

/* Video Trigger Card */
.video-trigger {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 28px;
    padding: 30px 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}
.video-trigger::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.video-trigger:hover::before { opacity: 0.15; }
.video-trigger:hover { transform: translateY(-8px); box-shadow: 0 25px 70px rgba(0,0,0,0.35); }

.video-thumb {
    position: relative;
    width: 220px;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display:block; filter: brightness(0.85) contrast(1.05); transition: filter 0.4s ease, transform 0.5s ease; }
.video-trigger:hover .video-thumb img { filter: brightness(1) contrast(1.1); transform: scale(1.05); }
.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 5px 25px rgba(0,0,0,0.4);
    pointer-events: none;
}
.video-info h3 { font-family: 'Playfair Display', serif; margin:0 0 8px; font-size:1.9rem; }
.video-info p { margin:0; font-size:1.05rem; opacity:0.9; }
.video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.85);
    color: #222;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: opacity 0.3s ease;
}
.video-badge.hidden { opacity: 0; pointer-events: none; }
[data-theme="dark"] .video-badge { background: rgba(0,0,0,0.55); color: #fff; }

@media (max-width: 992px) {
    .video-trigger { flex-direction: column; text-align: center; padding:25px 25px; }
    .video-thumb { width:100%; }
}

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 30px 20px;
}
.video-modal-overlay.show { opacity: 1; }
.video-modal {
    background: var(--light-bg);
    color: var(--text-light);
    border-radius: 30px;
    max-width: 1080px;
    width: 100%;
    padding: 35px 35px 28px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.5);
    position: relative;
}
[data-theme="dark"] .video-modal { background: #1f1f33; color: var(--text-dark); }
.video-modal h2 { font-family:'Playfair Display', serif; font-size:2.2rem; margin:0 0 20px; }
.video-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: rgba(0,0,0,0.2);
    color:#fff;
    border:none;
    width:46px; height:46px;
    border-radius:50%;
    font-size:1.8rem;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition: background 0.3s ease, transform 0.3s ease;
}
.video-close:hover { background: rgba(0,0,0,0.4); transform: rotate(12deg); }
.video-frame-wrapper { position: relative; width:100%; aspect-ratio:16 / 9; border-radius: 18px; overflow:hidden; box-shadow:0 15px 50px rgba(0,0,0,0.4); }
.video-frame-wrapper iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

.video-modal .btn.btn-outline-secondary {
    border-radius: 25px;
    font-weight: 600;
    padding: 10px 20px;
}
[data-theme="dark"] .video-modal .btn.btn-outline-secondary {
    color: #fff;
    border-color: #fff;
}
.video-modal .btn.btn-outline-secondary:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

/* Music Controls */
.music-controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1100;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    padding: 10px 18px 10px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
[data-theme="dark"] .music-controls { background: rgba(255,255,255,0.08); }
.music-btn {
    background: var(--accent-color);
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: background 0.3s ease, transform 0.3s ease;
}
.music-btn:hover { transform: translateY(-4px); background: #ff8b6c; }
.music-btn:active { transform: translateY(0); }
.music-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    text-transform: uppercase;
    opacity: 0.85;
    white-space: nowrap;
}
[data-theme="dark"] .music-label { color: #f5f5f5; }
@media (max-width: 600px) {
    .music-controls { bottom: 15px; left: 15px; padding: 8px 14px 8px 16px; gap: 10px; }
    .music-btn { width: 40px; height: 40px; font-size: 0.85rem; }
    .music-label { display: none; }
}

@media (max-width: 600px) {
    .video-modal { padding:25px 22px 20px; }
    .video-modal h2 { font-size:1.7rem; }
}

body.modal-open-dim { overflow:hidden; }