body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Crimson Text', 'Times New Roman', serif;
    background: linear-gradient(135deg, #F4F1E8 0%, #E8DCC6 100%);
    color: #3E2723;
    height: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

/* Header */
.header {
    background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
    padding: 20px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid #D2B48C;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #F5F1E8;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #D7CCC8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #FFF8F0;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(141, 110, 99, 0.95) 0%, rgba(93, 64, 55, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="zapotec" patternUnits="userSpaceOnUse" width="60" height="60"><rect width="60" height="60" fill="%23D7CCC8" opacity="0.1"/><path d="M30 10 L50 30 L30 50 L10 30 Z" fill="%23A1887F" opacity="0.2"/><circle cx="30" cy="30" r="8" fill="%23795548" opacity="0.3"/></pattern></defs><rect width="1200" height="600" fill="url(%23zapotec)"/></svg>');
    background-size: cover;
    background-position: center;
    background-image: url('/img/bg.webp');
    padding: 100px 40px;
    text-align: center;
    color: #F5F1E8;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(141, 110, 99, 0.1) 0%, rgba(93, 64, 55, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 52px;
    margin: 0 0 24px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero p {
    font-size: 22px;
    margin: 0 0 30px 0;
    opacity: 0.95;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(215, 204, 200, 0.2);
    border-radius: 25px;
    border: 2px solid rgba(245, 241, 232, 0.3);
    backdrop-filter: blur(10px);
}

/* Main Content */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

.content-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.sidebar {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 6px 25px rgba(139, 69, 19, 0.15);
    border: 2px solid #D2B48C;
    position: sticky;
    top: 120px;
    height: fit-content;
    max-height: 30%;
    overflow: scroll;
}

.sidebar-title {
    font-size: 20px;
    color: #654321;
    margin: 0 0 25px 0;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
}

.section-title {
    font-size: 38px;
    color: #5D4037;
    margin: 0 0 50px 0;
    text-align: center;
    font-weight: 600;
    position: relative;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #8D6E63 0%, #A1887F 100%);
    border-radius: 2px;
}

/* Category Filter */
.category-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-btn {
    padding: 12px 16px;
    background: #F4F1E8;
    border: 2px solid #8B4513;
    color: #654321;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #8B4513 0%, #A0522D 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.category-btn:hover::before {
    left: 0;
}

.category-btn:hover {
    color: #F4F1E8;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

.category-btn.active {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #F4F1E8;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.category-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.article-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(93, 64, 55, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid #D7CCC8;
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8D6E63 0%, #A1887F 50%, #D7CCC8 100%);
    z-index: 1;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(93, 64, 55, 0.25);
}

.article-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #8D6E63 0%, #A1887F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
}

.article-image .icon {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Imágenes específicas por categoría */
.article-image.gastronomia::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 240"><defs><pattern id="mole" patternUnits="userSpaceOnUse" width="40" height="40"><rect width="40" height="40" fill="%238D6E63"/><circle cx="20" cy="20" r="15" fill="%23A1887F" opacity="0.6"/><circle cx="20" cy="20" r="8" fill="%23D7CCC8" opacity="0.4"/></pattern></defs><rect width="400" height="240" fill="url(%23mole)"/></svg>');
}

.article-image.artesanias::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 240"><defs><pattern id="textil" patternUnits="userSpaceOnUse" width="30" height="30"><rect width="30" height="30" fill="%238D6E63"/><path d="M0 15 L15 0 L30 15 L15 30 Z" fill="%23A1887F" opacity="0.7"/><path d="M5 15 L15 5 L25 15 L15 25 Z" fill="%23D7CCC8" opacity="0.5"/></pattern></defs><rect width="400" height="240" fill="url(%23textil)"/></svg>');
}

.article-image.festividades::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 240"><defs><pattern id="fiesta" patternUnits="userSpaceOnUse" width="50" height="50"><rect width="50" height="50" fill="%238D6E63"/><circle cx="25" cy="25" r="20" fill="%23A1887F" opacity="0.6"/><path d="M25 5 L30 20 L45 20 L35 30 L40 45 L25 35 L10 45 L15 30 L5 20 L20 20 Z" fill="%23D7CCC8" opacity="0.8"/></pattern></defs><rect width="400" height="240" fill="url(%23fiesta)"/></svg>');
}

.article-image.historia::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 240"><defs><pattern id="piedra" patternUnits="userSpaceOnUse" width="60" height="60"><rect width="60" height="60" fill="%238D6E63"/><rect x="10" y="10" width="40" height="40" fill="%23A1887F" opacity="0.7"/><rect x="20" y="20" width="20" height="20" fill="%23D7CCC8" opacity="0.5"/></pattern></defs><rect width="400" height="240" fill="url(%23piedra)"/></svg>');
}

.article-content {
    padding: 24px;
}

.article-category {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #D7CCC8 0%, #BCAAA4 100%);
    color: #5D4037;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #A1887F;
}

.article-title {
    font-size: 20px;
    color: #3E2723;
    margin: 0 0 14px 0;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.article-description {
    font-size: 14px;
    color: #5D4037;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

/* Map Section */
.map-section {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(93, 64, 55, 0.15);
    border: 2px solid #D7CCC8;
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #8D6E63 0%, #A1887F 50%, #D7CCC8 100%);
    border-radius: 20px 20px 0 0;
}

.map-controls {
    display: flex;
    gap: 18px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    justify-content: center;
}

.map-filter-btn {
    padding: 12px 28px;
    background: #F5F1E8;
    border: 2px solid #8D6E63;
    color: #5D4037;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.map-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #8D6E63 0%, #A1887F 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.map-filter-btn:hover::before {
    left: 0;
}

.map-filter-btn:hover {
    color: #F5F1E8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(141, 110, 99, 0.3);
}

.map-filter-btn.active {
    background: linear-gradient(135deg, #8D6E63 0%, #A1887F 100%);
    color: #F5F1E8;
    box-shadow: 0 3px 12px rgba(141, 110, 99, 0.3);
}

.map-container {
    background: linear-gradient(135deg, #F5F1E8 0%, #EDE7D9 100%);
    border-radius: 16px;
    height: 520px;
    position: relative;
    overflow: hidden;
    border: 3px solid #D7CCC8;
    box-shadow: inset 0 4px 15px rgba(93, 64, 55, 0.1);
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 520"><defs><pattern id="oaxaca-map" patternUnits="userSpaceOnUse" width="80" height="80"><rect width="80" height="80" fill="%23F5F1E8" opacity="0.3"/><path d="M10 10 L70 10 L70 70 L10 70 Z" fill="none" stroke="%23D7CCC8" stroke-width="1" opacity="0.4"/><circle cx="40" cy="40" r="25" fill="none" stroke="%23A1887F" stroke-width="1" opacity="0.3"/><path d="M40 15 L55 40 L40 65 L25 40 Z" fill="%23BCAAA4" opacity="0.2"/></pattern></defs><rect width="1000" height="520" fill="url(%23oaxaca-map)"/></svg>');
    background-size: cover;
    opacity: 0.6;
    z-index: 1;
}

.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(20, 1fr);
    opacity: 0.15;
    z-index: 2;
}

.map-grid-cell {
    border: 1px solid #A1887F;
}

.map-marker {
    position: absolute;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #8D6E63 0%, #5D4037 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(93, 64, 55, 0.4);
    border: 2px solid #D7CCC8;
    z-index: 10;
}

.map-marker:hover {
    transform: rotate(-45deg) scale(1.3);
    z-index: 20;
    box-shadow: 0 8px 25px rgba(93, 64, 55, 0.6);
}

.map-marker-icon {
    transform: rotate(45deg);
    font-size: 20px;
}

.map-tooltip {
    position: absolute;
    background: #FFFFFF;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
    min-width: 180px;
}

.map-tooltip.show {
    opacity: 1;
}

.tooltip-title {
    font-weight: bold;
    color: #D84315;
    margin: 0 0 6px 0;
    font-size: 16px;
}

.tooltip-category {
    font-size: 13px;
    color: #5D4037;
    margin: 0;
}

/* Carousel Section */
.carousel-section {
    background: #FFFFFF;
    padding: 60px 0;
    border-top: 4px solid #D7CCC8;
    border-bottom: 4px solid #D7CCC8;
}

.carousel-title {
    font-size: 32px;
    color: #5D4037;
    margin: 0 0 40px 0;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.carousel-item {
    min-width: 300px;
    background: #F5F1E8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.15);
    border: 2px solid #D7CCC8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(93, 64, 55, 0.25);
}

.carousel-item-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #8D6E63 0%, #A1887F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
}

.carousel-item-content {
    padding: 20px;
}

.carousel-item-category {
    display: inline-block;
    padding: 4px 12px;
    background: #D7CCC8;
    color: #5D4037;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.carousel-item-title {
    font-size: 16px;
    color: #3E2723;
    margin: 0 0 8px 0;
    font-weight: 600;
    line-height: 1.3;
}

.carousel-item-description {
    font-size: 13px;
    color: #5D4037;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #8D6E63 0%, #5D4037 100%);
    color: #F5F1E8;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.3);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(93, 64, 55, 0.4);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Videos Section */
.videos-section {
    background: linear-gradient(135deg, #F5F1E8 0%, #EDE7D9 100%);
    padding: 80px 0;
    border-top: 4px solid #D7CCC8;
    position: relative;
}

.videos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><pattern id="film" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23F5F1E8" opacity="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="%23D7CCC8" stroke-width="2" opacity="0.3"/><rect x="35" y="35" width="30" height="30" fill="%23A1887F" opacity="0.1"/></pattern></defs><rect width="1200" height="400" fill="url(%23film)"/></svg>');
    opacity: 0.4;
    z-index: 1;
}

.videos-container {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(93, 64, 55, 0.15);
    border: 2px solid #D7CCC8;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.videos-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #8D6E63 0%, #A1887F 50%, #D7CCC8 100%);
    border-radius: 20px 20px 0 0;
}

.videos-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.video-player-section {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(93, 64, 55, 0.15);
    border: 2px solid #D7CCC8;
    position: relative;
    overflow: hidden;
}

.video-player-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #8D6E63 0%, #A1887F 50%, #D7CCC8 100%);
    border-radius: 20px 20px 0 0;
}

.video-player {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(93, 64, 55, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

.video-player:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(93, 64, 55, 0.3);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8D6E63 0%, #5D4037 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: 1;
    transition: all 0.4s ease;
}

.video-placeholder.monte-alban::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><defs><pattern id="pyramid" patternUnits="userSpaceOnUse" width="80" height="80"><rect width="80" height="80" fill="%238D6E63"/><polygon points="40,10 70,70 10,70" fill="%23A1887F" opacity="0.8"/><rect x="30" y="50" width="20" height="20" fill="%23D7CCC8" opacity="0.6"/></pattern></defs><rect width="800" height="400" fill="url(%23pyramid)"/></svg>');
}

.video-placeholder.guelaguetza::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><defs><pattern id="dance" patternUnits="userSpaceOnUse" width="60" height="60"><rect width="60" height="60" fill="%238D6E63"/><circle cx="30" cy="30" r="25" fill="%23A1887F" opacity="0.7"/><path d="M30 5 L35 25 L55 25 L40 35 L45 55 L30 45 L15 55 L20 35 L5 25 L25 25 Z" fill="%23D7CCC8" opacity="0.8"/></pattern></defs><rect width="800" height="400" fill="url(%23dance)"/></svg>');
}

.video-placeholder.artesanias::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><defs><pattern id="craft" patternUnits="userSpaceOnUse" width="70" height="70"><rect width="70" height="70" fill="%238D6E63"/><path d="M10 35 L35 10 L60 35 L35 60 Z" fill="%23A1887F" opacity="0.7"/><circle cx="35" cy="35" r="15" fill="%23D7CCC8" opacity="0.5"/></pattern></defs><rect width="800" height="400" fill="url(%23craft)"/></svg>');
}

.video-placeholder.gastronomia::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><defs><pattern id="food" patternUnits="userSpaceOnUse" width="50" height="50"><rect width="50" height="50" fill="%238D6E63"/><circle cx="25" cy="25" r="20" fill="%23A1887F" opacity="0.6"/><circle cx="25" cy="25" r="12" fill="%23D7CCC8" opacity="0.4"/><circle cx="25" cy="25" r="6" fill="%23BCAAA4" opacity="0.6"/></pattern></defs><rect width="800" height="400" fill="url(%23food)"/></svg>');
}

.play-button {
    position: relative;
    z-index: 3;
    width: 100px;
    height: 100px;
    background: rgba(245, 241, 232, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.play-button:hover {
    transform: scale(1.15);
    background: rgba(245, 241, 232, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.play-icon {
    font-size: 36px;
    color: #5D4037;
    margin-left: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 25px;
    color: #F5F1E8;
    z-index: 2;
}

.video-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-duration {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    font-weight: 500;
}

.video-info {
    padding: 0 5px;
}

.video-main-title {
    font-size: 28px;
    color: #3E2723;
    margin: 0 0 15px 0;
    font-weight: 600;
    line-height: 1.3;
}

.video-description {
    font-size: 16px;
    color: #5D4037;
    line-height: 1.7;
    margin: 0 0 20px 0;
    font-style: italic;
}

.video-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.video-tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, #D7CCC8 0%, #BCAAA4 100%);
    color: #5D4037;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #A1887F;
}

.video-playlist {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(93, 64, 55, 0.15);
    border: 2px solid #D7CCC8;
    height: fit-content;
    position: relative;
    overflow: hidden;
}

.video-playlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #8D6E63 0%, #A1887F 50%, #D7CCC8 100%);
    border-radius: 20px 20px 0 0;
}

.playlist-title {
    font-size: 22px;
    color: #3E2723;
    margin: 0 0 25px 0;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
}

.playlist-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.playlist-items::-webkit-scrollbar {
    width: 6px;
}

.playlist-items::-webkit-scrollbar-track {
    background: #F5F1E8;
    border-radius: 3px;
}

.playlist-items::-webkit-scrollbar-thumb {
    background: #A1887F;
    border-radius: 3px;
}

.playlist-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #F5F1E8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.playlist-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(141, 110, 99, 0.1) 0%, rgba(161, 136, 127, 0.1) 100%);
    transition: left 0.3s ease;
    z-index: 1;
}

.playlist-item:hover::before {
    left: 0;
}

.playlist-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(93, 64, 55, 0.2);
    border-color: #D7CCC8;
}

.playlist-item.active {
    background: linear-gradient(135deg, #D7CCC8 0%, #BCAAA4 100%);
    border-color: #8D6E63;
    box-shadow: 0 4px 15px rgba(141, 110, 99, 0.3);
}

.playlist-item.active::before {
    display: none;
}

.playlist-thumbnail {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #8D6E63 0%, #A1887F 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.playlist-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.playlist-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #3E2723;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.playlist-item-description {
    font-size: 12px;
    color: #5D4037;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.playlist-item-duration {
    font-size: 11px;
    color: #8D6E63;
    font-weight: 600;
    margin: 0;
}

/* Tours Section */
.tours-section {
    background: linear-gradient(135deg, #F4F1E8 0%, #E8DCC6 100%);
    padding: 80px 0;
    border-top: 4px solid #D2B48C;
    position: relative;
}

.tours-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><pattern id="compass" patternUnits="userSpaceOnUse" width="120" height="120"><rect width="120" height="120" fill="%23F4F1E8" opacity="0.5"/><circle cx="60" cy="60" r="40" fill="none" stroke="%23D2B48C" stroke-width="2" opacity="0.3"/><path d="M60 20 L70 50 L60 80 L50 50 Z" fill="%23A0522D" opacity="0.2"/></pattern></defs><rect width="1200" height="400" fill="url(%23compass)"/></svg>');
    opacity: 0.4;
    z-index: 1;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.tour-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.15);
    border: 2px solid #D2B48C;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #8B4513 0%, #A0522D 50%, #D2B48C 100%);
    z-index: 1;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.25);
}

.tour-header {
    padding: 25px 25px 0 25px;
}

.tour-type {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #D2B48C 0%, #BC9A6A 100%);
    color: #654321;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #A0522D;
}

.tour-title {
    font-size: 22px;
    color: #3E2723;
    margin: 0 0 15px 0;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.tour-description {
    font-size: 15px;
    color: #654321;
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-style: italic;
}

.tour-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 25px 25px 25px;
}

.tour-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #F4F1E8;
    border-radius: 12px;
    border: 1px solid #D2B48C;
}

.tour-detail-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.tour-detail-content {
    flex: 1;
}

.tour-detail-label {
    font-size: 11px;
    color: #8B4513;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 2px 0;
}

.tour-detail-value {
    font-size: 14px;
    color: #3E2723;
    font-weight: 600;
    margin: 0;
}

.tour-highlights {
    padding: 0 25px 25px 25px;
}

.tour-highlights-title {
    font-size: 16px;
    color: #654321;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.tour-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tour-tag {
    padding: 6px 12px;
    background: linear-gradient(135deg, #E8DCC6 0%, #D2B48C 100%);
    color: #654321;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid #BC9A6A;
}

/* Map Modal */
.map-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 39, 35, 0.8);
    backdrop-filter: blur(5px);
}

.map-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal-content {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    max-width: 90%;
    max-height: 90%;
    width: 1000px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid #D7CCC8;
    position: relative;
    overflow: hidden;
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #D7CCC8;
}

.close-btn {
    background: #8D6E63;
    color: #F5F1E8;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #5D4037;
    transform: scale(1.1);
}

.map-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #3E2723 0%, #5D4037 100%);
    color: #F5F1E8;
    padding: 40px 40px;
    text-align: center;
    margin-top: 100px;
    border-top: 4px solid #8D6E63;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8D6E63 0%, #A1887F 50%, #D7CCC8 100%);
}

.footer p {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sidebar {
        position: static;
        order: -1;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }

    .map-container {
        height: 400px;
    }

    .videos-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .video-player {
        height: 300px;
    }

    .video-main-title {
        font-size: 24px;
    }

    .video-description {
        font-size: 14px;
    }

    .playlist-items {
        max-height: 400px;
    }

    .carousel-container {
        padding: 0 20px;
    }

    .prev-btn,
    .next-btn {
        display: none;
    }

    .carousel-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .carousel-item {
        scroll-snap-align: start;
        min-width: 280px;
    }

    .tour-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 40px 20px;
    }

    .header {
        padding: 15px 20px;
    }

    .hero {
        padding: 60px 20px;
    }

    .video-player-section,
    .video-playlist {
        padding: 20px;
    }

    .videos-section {
        padding: 60px 0;
    }

    .play-button {
        width: 80px;
        height: 80px;
    }

    .play-icon {
        font-size: 28px;
    }

    .video-title {
        font-size: 20px;
    }

    .playlist-item {
        padding: 12px;
    }

    .playlist-thumbnail {
        width: 60px;
        height: 45px;
        font-size: 18px;
    }

    .playlist-item-title {
        font-size: 13px;
    }

    .playlist-item-description {
        font-size: 11px;
    }
}

@view-transition {
    navigation: auto;
}