﻿/* --- CSS VARIABLES (Colors & Fonts) --- */
:root {
    --primary: #0ea5e9; /* Sky Blue */
    --primary-hover: #0284c7;
    --dark: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-color: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px -10px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- NAVBAR --- */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 0rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo img {
        height: 56px;
    }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

    .nav-links a {
        color: var(--text-main);
        font-weight: 500;
        transition: 0.3s;
    }

        .nav-links a:hover {
            color: var(--primary);
        }

.btn-active {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s !important;
}

    .btn-active:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
    }

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 1rem 0rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

    .hero h1 {
        font-family: var(--font-heading);
        font-size: 45px;
        color: var(--dark);
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
        color: var(--text-light);
        line-height: 1.6;
    }

/* --- MAP SECTION --- */
.map-section {
    max-width: 1300px;
    margin: 0 auto 5rem;
    /*padding: 0 2rem;*/
    position: relative;
}

.map-container {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    height: 75vh;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    opacity: 0.9;
}
/* Legend Box (Glassmorphism) */
.legend {
    position: absolute;
    top: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

    .legend h4 {
        margin-bottom: 1rem;
        color: var(--dark);
        font-family: var(--font-heading);
    }

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

    .dot.visited {
        background: var(--primary);
    }

    .dot.upcoming {
        background: #f97316;
    }

    .dot.unvisited {
        background: #cbd5e1;
    }

/* Map Controls */
.map-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

    .map-controls button {
        border: none;
        background: none;
        padding: 10px 15px;
        font-size: 1.2rem;
        cursor: pointer;
        color: var(--text-main);
        transition: 0.3s;
    }

        .map-controls button:hover {
            background: var(--bg-color);
        }

        .map-controls button:first-child {
            border-bottom: 1px solid var(--border);
        }

/* --- TRAVEL STORIES SECTION --- */
.stories-section {
    max-width: 1300px;
    margin: 0 auto 5rem;
}

.stories-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

    .stories-header h2 {
        font-family: var(--font-heading);
        font-size: 2.2rem;
        color: var(--dark);
    }

    .stories-header p {
        color: var(--text-light);
        margin-top: 5px;
    }

/* Filters */
.filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

    .filters::-webkit-scrollbar {
        display: none;
    }

.filter-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

    .filter-btn.active {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

    .filter-btn:hover:not(.active) {
        background: var(--bg-color);
    }

/* Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Card Design */
.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

.card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

    .card-meta i {
        margin-right: 5px;
    }

.card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-light);
    background: var(--bg-color);
}

/* --- FOOTER --- */
footer {
    background: #0b1120;
    color: #94a3b8;
    padding: 4rem 0rem 2rem;
    /* margin-top: auto; */
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .footer-logo img {
        height: 56px;
    }

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

    .footer-col ul a {
        color: #94a3b8;
        transition: 0.3s;
    }

        .footer-col ul a:hover {
            color: var(--primary);
        }

.social-links {
    display: flex;
    gap: 1rem;
}

    .social-links a {
        color: #94a3b8;
        font-size: 1.2rem;
        transition: 0.3s;
    }

        .social-links a:hover {
            color: var(--primary);
        }

/* Newsletter */
.newsletter-form {
    display: flex;
    margin-top: 1rem;
    position: relative;
}

    .newsletter-form input {
        width: 100%;
        padding: 0.8rem 3rem 0.8rem 1rem;
        border-radius: 8px;
        border: 1px solid #334155;
        background: #1e293b;
        color: var(--white);
        outline: none;
    }

        .newsletter-form input::placeholder {
            color: #64748b;
        }

    .newsletter-form button {
        position: absolute;
        right: 5px;
        top: 5px;
        bottom: 5px;
        background: var(--primary);
        border: none;
        color: var(--white);
        padding: 0 1rem;
        border-radius: 6px;
        cursor: pointer;
        transition: 0.3s;
    }

        .newsletter-form button:hover {
            background: var(--primary-hover);
        }

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

    .footer-bottom a {
        color: #94a3b8;
        margin-left: 1rem;
    }

        .footer-bottom a:hover {
            color: var(--white);
        }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    /* Mobile menu hidden for simplicity */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .legend {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 1rem;
        box-shadow: none;
        border: none;
        padding: 0;
        background: transparent;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

        .legend h4 {
            width: 100%;
            margin-bottom: 0.5rem;
        }

    .legend-item {
        margin-bottom: 0;
    }

    .map-controls {
        bottom: 20px;
        right: 20px;
    }

    .stories-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

        .footer-bottom a {
            margin: 0 0.5rem;
        }
}

/* --- Hero Section --- */
.art-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 450px;
    background-image: url('https://images.unsplash.com/photo-1522383225653-ed111181a951?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .art-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    }

.art-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    color: #fff;
}

.art-badge {
    display: inline-block;
    background-color: #e85d75;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(232, 93, 117, 0.4);
}

.art-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.art-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 400;
    color: #e0e0e0;
}

.art-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .art-meta-item i {
        color: #e85d75;
    }

.art-author-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #fff;
}

/* --- Main Content Area --- */
.art-container {
    max-width: 1300px;
    margin: -60px auto 60px;
    background: #ffffff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

.art-intro {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 40px;
    border-left: 4px solid #e85d75;
    padding-left: 20px;
}

.art-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .art-section-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 60px;
        height: 3px;
        background-color: #e85d75;
        border-radius: 2px;
    }

.art-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

    .art-text ul {
        margin-top: 10px;
        margin-bottom: 20px;
        padding-left: 20px;
    }

        .art-text ul li {
            margin-bottom: 10px;
        }

/* --- Keep Reading Section (Owl Carousel) --- */
.keep-reading-section {
    background-color: #f4f5f7; /* Slight contrast from page background */
    padding: 80px 0;
    border-top: 1px solid #eaeaea;
}

.kr-header {
    text-align: center;
    margin-bottom: 40px;
}

    .kr-header h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        color: #1a1a1a;
    }

.kr-carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Customizing Owl Carousel Items */
.kr-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    margin: 15px; /* Space between cards */
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .kr-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

.kr-img-box {
    position: relative;
    height: 180px;
}

    .kr-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.kr-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(77, 182, 172, 0.9); /* Teal color from your image */
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.kr-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.kr-meta {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
}

    .kr-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .kr-meta i {
        color: #4db6ac;
    }

.kr-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.4;
}

.kr-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.kr-tags {
    display: flex;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

    .kr-tags span {
        background-color: #f5f5f5;
        color: #777;
        padding: 3px 10px;
        border-radius: 4px;
        font-size: 0.7rem;
        font-weight: 500;
    }

/* Owl Carousel Custom Dots */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #4db6ac;
}

/* Responsive */
@media (max-width: 768px) {
    .art-title {
        font-size: 2.2rem;
    }

    .art-container {
        margin: -40px 15px 60px;
        padding: 40px 20px;
    }

    .art-meta {
        gap: 10px;
        font-size: 0.8rem;
    }

    .kr-header h2 {
        font-size: 2rem;
    }
}