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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 105, 65, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(160, 120, 80, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, #f4e9d1 0%, #e8d5a8 50%, #dfc48a 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #3d2914;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(139, 105, 65, 0.03) 2px,
            rgba(139, 105, 65, 0.03) 4px
        );
    pointer-events: none;
    z-index: 0;
}

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

header {
    text-align: center;
    margin-bottom: 30px;
    color: #2c1810;
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(139, 105, 65, 0.4), 1px 1px 2px rgba(0,0,0,0.2);
    font-weight: bold;
    letter-spacing: 2px;
    color: #8b6941;
    background: linear-gradient(145deg, #8b6941, #5d462a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.85;
    font-style: italic;
    color: #5d462a;
    text-shadow: 1px 1px 2px rgba(139, 105, 65, 0.3);
}

.days-nav {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.days-container {
    display: flex;
    gap: 12px;
    background: rgba(248, 239, 213, 0.9);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 
        inset 0 2px 4px rgba(139, 105, 65, 0.2),
        0 4px 8px rgba(139, 105, 65, 0.3),
        0 0 0 2px rgba(139, 105, 65, 0.1);
    flex-wrap: wrap;
    justify-content: center;
    border: 2px solid rgba(139, 105, 65, 0.3);
}

.day-btn {
    padding: 12px 24px;
    border: 2px solid rgba(139, 105, 65, 0.4);
    border-radius: 8px;
    background: rgba(248, 239, 213, 0.8);
    color: #5d462a;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-family: 'Georgia', serif;
    box-shadow: 
        2px 2px 4px rgba(139, 105, 65, 0.3),
        inset 1px 1px 2px rgba(255, 255, 255, 0.5);
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
}

.day-btn:hover {
    background: rgba(232, 213, 168, 0.9);
    transform: translateY(-2px);
    box-shadow: 
        3px 3px 6px rgba(139, 105, 65, 0.4),
        inset 1px 1px 2px rgba(255, 255, 255, 0.6);
}

.day-btn.active {
    background: linear-gradient(145deg, #8b6941, #a07850);
    color: #f4e9d1;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(139, 105, 65, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.day-content {
    display: none;
}

.day-content.active {
    display: block;
}

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

.district-card {
    background: linear-gradient(145deg, #f9f3e6, #f4e9d1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 8px 16px rgba(139, 105, 65, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 0 2px rgba(139, 105, 65, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(139, 105, 65, 0.2);
    position: relative;
}

.district-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 105, 65, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(160, 120, 80, 0.06) 0%, transparent 30%);
    pointer-events: none;
}

.district-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    box-shadow: 
        0 12px 24px rgba(139, 105, 65, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 0 2px rgba(139, 105, 65, 0.2);
}

.district-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #8b6941, #a07850, #8b6941);
    color: #f4e9d1;
    position: relative;
    z-index: 1;
}

.district-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.05) 10px,
        rgba(0, 0, 0, 0.05) 12px
    );
}

.district-header h2 {
    font-size: 1.8rem;
    margin: 0;
    font-family: 'Georgia', serif;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.day-tag {
    background: rgba(244, 233, 209, 0.9);
    color: #5d462a;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(139, 105, 65, 0.3);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.district-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.district-card:hover .district-image img {
    transform: scale(1.05);
}

.district-description {
    padding: 20px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.district-description p {
    margin-bottom: 15px;
    color: #3d2914;
    font-family: 'Georgia', serif;
    text-align: justify;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

.transport-info {
    padding: 0 20px 20px;
    background: linear-gradient(145deg, #f0e5c8, #e8d5a8);
    margin-top: auto;
    border-top: 2px solid rgba(139, 105, 65, 0.2);
    position: relative;
    z-index: 1;
}

.transport-info h4 {
    color: #8b6941;
    margin-bottom: 8px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
}

.transport-info p {
    color: #5d462a;
    font-size: 0.95rem;
    font-family: 'Georgia', serif;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Modal styles */
.attractions-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(139, 105, 65, 0.8);
    backdrop-filter: blur(3px);
}

.modal-content {
    background: linear-gradient(145deg, #f9f3e6, #f4e9d1);
    margin: 3% auto;
    padding: 35px;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(139, 105, 65, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 0 3px rgba(139, 105, 65, 0.2);
    border: 2px solid rgba(139, 105, 65, 0.3);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 105, 65, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(160, 120, 80, 0.03) 0%, transparent 40%);
    pointer-events: none;
    border-radius: 15px;
}

.close {
    color: #8b6941;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 25px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(244, 233, 209, 0.8);
    border: 2px solid rgba(139, 105, 65, 0.3);
    box-shadow: 2px 2px 4px rgba(139, 105, 65, 0.3);
    z-index: 10;
}

.close:hover {
    color: #5d462a;
    background: rgba(232, 213, 168, 0.9);
    transform: scale(1.1);
}

.attraction-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(139, 105, 65, 0.2);
    position: relative;
    z-index: 1;
}

.attraction-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.attraction-image {
    flex: 0 0 200px;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(139, 105, 65, 0.3);
    box-shadow: 3px 3px 6px rgba(139, 105, 65, 0.3);
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: sepia(0.2) contrast(1.1);
    cursor: zoom-in;
}

.attraction-item:hover .attraction-image img {
    transform: scale(1.05);
    filter: sepia(0.3) contrast(1.2);
}

.attraction-info {
    flex: 1;
}

.attraction-info h4 {
    color: #8b6941;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-family: 'Georgia', serif;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
}

.attraction-info p {
    color: #3d2914;
    line-height: 1.6;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    text-align: justify;
    margin-bottom: 8px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.attraction-time {
    color: #8b6941;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 8px;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
}

.maps-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: linear-gradient(145deg, #8b6941, #a07850);
    color: #f4e9d1;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(139, 105, 65, 0.5);
    box-shadow: 2px 2px 4px rgba(139, 105, 65, 0.3);
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.maps-link:hover {
    background: linear-gradient(145deg, #a07850, #8b6941);
    transform: translateY(-1px);
    box-shadow: 3px 3px 6px rgba(139, 105, 65, 0.4);
}

.image-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(139, 105, 65, 0.85);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-lightbox.open {
    display: flex;
}

.image-lightbox__content {
    position: relative;
    width: min(1100px, 96vw);
    max-height: 92vh;
    background: linear-gradient(145deg, #f9f3e6, #f4e9d1);
    border-radius: 15px;
    padding: 18px;
    box-shadow:
        0 20px 40px rgba(139, 105, 65, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 0 3px rgba(139, 105, 65, 0.2);
    border: 2px solid rgba(139, 105, 65, 0.3);
}

.image-lightbox__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(92vh - 36px);
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid rgba(139, 105, 65, 0.25);
}

.image-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(139, 105, 65, 0.35);
    background: rgba(244, 233, 209, 0.9);
    color: #8b6941;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(139, 105, 65, 0.3);
}

.image-lightbox__close:hover {
    color: #5d462a;
    background: rgba(232, 213, 168, 0.95);
}

#modal-title {
    color: #8b6941;
    font-family: 'Georgia', serif;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(139, 105, 65, 0.3);
    position: relative;
    z-index: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .districts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .days-container {
        padding: 15px;
        gap: 8px;
    }
    
    .day-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .district-header h2 {
        font-size: 1.4rem;
    }
    
    .attraction-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .attraction-image {
        flex: none;
        height: 120px;
        max-width: 100%;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 20px;
        width: 95%;
    }
    
    body::before {
        background-image: 
            repeating-linear-gradient(
                45deg,
                transparent,
                transparent 1px,
                rgba(139, 105, 65, 0.02) 1px,
                rgba(139, 105, 65, 0.02) 3px
            );
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .days-container {
        flex-direction: column;
        align-items: center;
    }
    
    .day-btn {
        width: 100%;
        max-width: 120px;
    }
    
    .district-card {
        border-radius: 15px;
    }
    
    .district-header {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 15px;
        width: 98%;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #6c5ce7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}