/* ========================================
   Location Detail V2 - Modern Design
   ======================================== */

:root {
    --primary-color: #154b8d;
    --secondary-color: #154b8d;
    --accent-color: #f8b736;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Hero Section V2
   ======================================== */
.location-hero-v2 {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: translateZ(0);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.7) 0%, rgba(124, 58, 237, 0.7) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.breadcrumb-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.breadcrumb-minimal a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-minimal a:hover {
    opacity: 0.8;
}

.hero-title-v2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-meta-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.meta-item i {
    font-size: 1.25rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.875rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ========================================
   About Section V2
   ======================================== */
.location-about-v2 {
    padding: 6rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-title-v2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.highlight-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.about-visual {
    position: relative;
}

.map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visual-placeholder img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Trip Ideas V2
   ======================================== */
.trip-ideas-v2 {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-header-v2 {
    text-align: center;
    margin-bottom: 4rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.idea-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.idea-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.idea-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.idea-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.idea-card:hover .idea-image img {
    transform: scale(1.1);
}

.idea-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.idea-content {
    padding: 2rem;
}

.idea-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.idea-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.idea-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.idea-link:hover {
    gap: 1rem;
    color: var(--secondary-color);
}

/* ========================================
   Experiences V2
   ======================================== */
.experiences-v2 {
    padding: 6rem 0;
    background: var(--white);
}

.experience-tabs {
    margin-top: 3rem;
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    background: var(--white);
    border-color: var(--primary-color);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: transparent;
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.875rem;
}

.tab-btn.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.exp-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.exp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.exp-wishlist {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.125rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.exp-wishlist:hover,
.exp-wishlist.active {
    background: var(--primary-color);
    color: var(--white);
}

.exp-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.exp-body {
    padding: 1.5rem;
}

.exp-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.exp-rating i {
    font-size: 0.875rem;
    color: #d1d5db;
}

.exp-rating i.filled {
    color: var(--accent-color);
}

.exp-rating span {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.exp-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.exp-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.exp-title a:hover {
    color: var(--primary-color);
}

.exp-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.exp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.exp-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-old {
    font-size: 0.875rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-book-v2 {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-book-v2:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-view-all-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-view-all-v2:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* HSJ Premium Tour Cards */
.hsj-tour-card-hover {
    border: none;
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
}

.hsj-tour-card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12) !important;
}

.hsj-tour-card-hover .exp-image {
    height: 250px;
}

.hsj-tour-card-hover .exp-image img {
    transition: transform 0.6s ease;
}

.hsj-tour-card-hover:hover .exp-image img {
    transform: scale(1.1);
}

.hsj-tour-card-hover .exp-body {
    padding: 24px !important;
}

.hsj-tour-card-hover .exp-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    height: 3.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hsj-btn-book {
    background: #1A4B89;
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    border: 2px solid #1A4B89;
}

.hsj-btn-book:hover {
    background: transparent;
    color: #1A4B89;
    box-shadow: none;
}

.left-badge {
    right: auto !important;
    left: 15px !important;
    background: #FF385C !important;
}

.service-wishlist.active i {
    color: #FF385C !important;
    font-weight: 900;
}

.no-experiences {
    text-align: center;
    padding: 4rem 2rem;
}

.no-experiences i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-experiences h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.no-experiences p {
    font-size: 1rem;
    color: var(--text-light);
}

/* ========================================
   General Info V2
   ======================================== */
.general-info-v2 {
    padding: 6rem 0;
    background: var(--bg-light);
}

.info-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-item-v2 {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-item-v2:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon-v2 {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item-v2 h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.info-item-v2 p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.info-detail-v2 {
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ========================================
   CTA Section V2
   ======================================== */
.location-cta-v2 {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--white);
}

.btn-cta-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-cta-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.btn-cta-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title-v2 {
        font-size: 3rem;
    }

    .section-title-v2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .location-hero-v2 {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title-v2 {
        font-size: 2.5rem;
    }

    .hero-meta-v2 {
        gap: 1rem;
    }

    .meta-item {
        font-size: 0.875rem;
    }

    .location-about-v2,
    .trip-ideas-v2,
    .experiences-v2,
    .general-info-v2,
    .location-cta-v2 {
        padding: 4rem 0;
    }

    .section-title-v2 {
        font-size: 1.75rem;
    }

    .ideas-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title-v2 {
        font-size: 2rem;
    }

    .section-title-v2 {
        font-size: 1.5rem;
    }

    .about-text,
    .section-desc {
        font-size: 1rem;
    }
}
/* ========================================
   Customize Trip V2
   ======================================== */
.customize-trip-v2 {
    padding: 6rem 0;
    background: #f0f2f5;
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.customize-trip-v2::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(21, 75, 141, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.customize-wrapper-v2 {
    position: relative;
    z-index: 1;
}

.customize-content-v2 {
    padding-right: 2rem;
}

.customize-features-v2 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item-v2 {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon-v2 {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.feature-text-v2 h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.feature-text-v2 p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Customize Card V2 */
.customize-card-v2 {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.customize-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.card-header-v2 {
    margin-bottom: 2.5rem;
    text-align: center;
}

.card-header-v2 h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.card-header-v2 p {
    color: var(--text-light);
}

/* Floating Form V2 */
.form-floating-v2 {
    position: relative;
    margin-bottom: 0;
}

.form-control-v2 {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem; /* Space for icon inside label not needed if label floats? Adjusting */
    padding: 1.25rem 1rem 0.75rem 1rem; /* Top padding for label */
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    height: 60px; /* Fixed height for consistency */
}

.textarea-v2 {
    height: 120px;
    resize: none;
}

.form-control-v2:focus {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(21, 75, 141, 0.1);
    outline: none;
}

.form-floating-v2 label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-floating-v2 textarea + label {
    top: 1.5rem;
    transform: none;
}

/* Float label when focused or has value */
.form-control-v2:focus + label,
.form-control-v2:not(:placeholder-shown) + label {
    top: 0.5rem;
    transform: none;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Hide default placeholder */
.form-control-v2::placeholder {
    color: transparent;
}

/* Submit Button V2 */
.btn-submit-v2 {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(21, 75, 141, 0.3);
}

.btn-submit-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 75, 141, 0.4);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .customize-content-v2 {
        padding-right: 0;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .customize-features-v2 {
        align-items: center;
        text-align: left;
    }
    
    .customize-card-v2 {
        padding: 2rem;
    }
}
