/* Destinations Widget Component */

.wt-destinations-section {
    padding: 6rem 0;
    color: #ffffff;
    box-sizing: border-box;
}

.wt-dest-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

/* Left Column */
.wt-dest-left {
    position: sticky;
    top: 6rem;
    align-self: start;
}

.wt-dest-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 1.5rem;
}

.wt-dest-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: normal;
    margin: 0 0 2rem 0;
}

.wt-dest-title .highlight {
    color: var(--primary);
    font-style: italic;
}

.wt-dest-desc {
    font-size: 0.85rem;
    color: #9F978C;
    line-height: 1.6;
    max-width: 350px;
    margin-bottom: 2rem;
}

.wt-dest-explore {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.wt-dest-explore svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.wt-dest-explore:hover {
    color: var(--primary);
}

.wt-dest-explore:hover svg {
    transform: translateX(4px);
}

/* Right Column */
.wt-dest-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wt-dest-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Top line glow trick */
.wt-dest-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.wt-dest-item:hover::before {
    background-color: var(--primary);
}

.wt-dest-item:hover {
    border-bottom-color: var(--primary);
}

.wt-dest-num {
    font-size: 0.65rem;
    color: #666666;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    align-self: flex-start;
    padding-top: 0.5rem;
}

.wt-dest-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.wt-dest-name {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin: 0;
    font-weight: normal;
    transition: color 0.3s ease;
}

.wt-dest-subtext {
    font-size: 0.75rem;
    color: #888888;
    margin: 0;
}

.wt-dest-arrow {
    color: #666666;
    transition: transform 0.3s ease, color 0.3s ease;
}

.wt-dest-item:hover .wt-dest-name,
.wt-dest-item:hover .wt-dest-num,
.wt-dest-item:hover .wt-dest-arrow {
    color: var(--primary);
}

.wt-dest-item:hover .wt-dest-arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .wt-destinations-section {
        padding: 5rem 0;
    }
    .wt-dest-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .wt-dest-left {
        position: relative;
        top: 0;
    }
}

/* =========================================
   DESTINATIONS HERO (from widget)
   ========================================= */
.wt-destinations-hero {
    background-color: transparent;
    color: #fff;
    padding: 8rem 0 4rem 0;
    display: flex;
    align-items: center;
    background-image: radial-gradient(circle at 20% 30%,#e9632614,#0000 50%),radial-gradient(circle at 80% 70%,#66795314,#0000 50%);
}

.wt-dest-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 2rem;
}

.wt-dest-hero-inner .wt-dest-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    font-weight: normal;
    font-family: 'Fraunces', serif;
}

.wt-dest-title-main {
    color: #fff;
}

.wt-dest-title-highlight {
    color: var(--primary);
    font-style: italic;
}

.wt-dest-hero-desc {
    max-width: 600px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #9F978C;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .wt-dest-hero-inner .wt-dest-title { font-size: 3rem; }
}

/* =========================================
   DESTINATIONS MAP WIDGET
   ========================================= */
.wt-destinations-map-section {
    padding: 6rem 0;
    color: #fff;
    background-color: var(--background-map);
}

.wt-dest-map-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    gap: 2rem;
}

.wt-dest-map-titles {
    flex: 1;
}

.wt-dest-map-desc {
    flex: 1;
    font-size: 0.95rem;
    color: #9F978C;
    line-height: 1.6;
    max-width: 450px;
}

.wt-dest-map-body {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: stretch;
}

/* Map Container */
.wt-dest-map-container-wrap {
    width: 100%;
    height: 600px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

#wt-destinations-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Leaflet Customizations */
.leaflet-container {
    background: #110C08;
    font-family: inherit;
}

.wt-map-marker {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.wt-map-dot {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.wt-map-label {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.wt-map-marker:hover .wt-map-label,
.wt-map-marker.active .wt-map-label {
    opacity: 1;
    transform: translateX(0);
}

.wt-map-marker:hover .wt-map-dot,
.wt-map-marker.active .wt-map-dot {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* List Container */
.wt-dest-map-list {
    display: flex;
    flex-direction: column;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.wt-dest-map-list::-webkit-scrollbar {
    width: 4px;
}
.wt-dest-map-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.wt-dest-map-item {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wt-dest-map-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wt-dest-map-item:hover, .wt-dest-map-item.active {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.wt-dest-map-item.active .wt-dest-map-item-icon {
    color: var(--primary);
}
.wt-dest-map-item.active .wt-dest-map-item-num {
    color: var(--primary);
}
.wt-dest-map-item.active .wt-dest-map-item-title {
    color: var(--primary);
}

.wt-dest-map-item-num {
    font-size: 0.65rem;
    color: #666;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.wt-dest-map-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wt-dest-map-item-title {
    font-size: 1.5rem;
    font-family: 'Fraunces', serif;
    font-weight: normal;
    margin: 0;
    transition: color 0.3s ease;
}

.wt-dest-map-item-details {
    font-size: 0.75rem;
    color: #888;
}

.wt-dest-map-item-icon {
    color: #666;
    display: flex;
    justify-content: flex-end;
    transition: color 0.3s ease;
}

@media (max-width: 1024px) {
    .wt-dest-map-header {
        flex-direction: column;
    }
    .wt-dest-map-body {
        grid-template-columns: 1fr;
    }
    .wt-dest-map-list {
        max-height: 400px;
    }
}

/* =========================================
   SELECTED DESTINATION CARD
   ========================================= */
.wt-dest-selected-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background-color: #110C08;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wt-dest-sc-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.wt-dest-sc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wt-dest-sc-content {
    padding: 3rem 3rem 3rem 0;
    display: flex;
    flex-direction: column;
}

.wt-dest-sc-region {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 1rem;
}

.wt-dest-sc-title {
    font-size: 3rem;
    font-family: 'Fraunces', serif;
    font-weight: normal;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.wt-dest-sc-subtitle {
    font-size: 1rem;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 2rem;
}

.wt-dest-sc-desc {
    font-size: 0.85rem;
    color: #9F978C;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 3rem;
}

.wt-dest-sc-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.wt-dest-sc-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.wt-dest-sc-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.wt-dest-sc-coords {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .wt-dest-selected-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .wt-dest-sc-image {
        height: 250px;
    }
    .wt-dest-sc-content {
        padding: 0 1.5rem 2rem 1.5rem;
    }
}

/* =========================================
   DESTINATIONS LIST WIDGET
   ========================================= */
.wt-destinations-list-section {
    background-color: transparent;
    padding: 2rem 0 6rem 0;
}

#wt-destinations-ajax-container {
    transition: opacity 0.3s ease;
}

.wt-dest-list-wrapper {
    display: flex;
    flex-direction: column;
}

.wt-dest-list-item {
    display: grid;
    grid-template-columns: 50px 400px 1fr 80px;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wt-dest-list-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wt-dest-list-num {
    font-size: 0.65rem;
    font-family: sans-serif;
    color: #666;
    letter-spacing: 1px;
}

.wt-dest-list-img a {
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.wt-dest-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wt-dest-list-item:hover .wt-dest-list-img img {
    transform: scale(1.05);
}

.wt-dest-list-placeholder {
    display: block;
    width: 100%;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.05);
}

.wt-dest-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wt-dest-list-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.wt-dest-list-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.wt-dest-list-title {
    font-size: 2.5rem;
    font-family: 'Fraunces', serif;
    font-weight: normal;
    margin: 0 0 0.5rem 0;
    transition: color 0.3s ease;
}

.wt-dest-list-title-link:hover .wt-dest-list-title {
    color: var(--primary);
}

.wt-dest-list-subtitle {
    font-size: 1rem;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 1rem;
}

.wt-dest-list-desc {
    font-size: 0.95rem;
    color: #9F978C;
    line-height: 1.6;
    max-width: 600px;
}

.wt-dest-list-view a {
    font-size: 0.85rem;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.wt-dest-list-view a:hover {
    color: var(--primary);
}

.wt-dest-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.wt-dest-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.wt-dest-page-link:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.wt-dest-page-link.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

@media (max-width: 1024px) {
    .wt-dest-list-item {
        grid-template-columns: 50px 300px 1fr 60px;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .wt-dest-list-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
    }
    .wt-dest-list-num, .wt-dest-list-view {
        display: none;
    }
    .wt-dest-list-img a {
        height: 200px;
    }
}
