

.tour-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding: 120px 20px 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tour-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.tour-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.tour-hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-family: var(--font-primary);
    color: #ffffff;
}

.tour-hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #ffffff;
}

.tour-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
}

.tour-hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-hero-meta svg {
    width: 20px;
    height: 20px;
}

.tour-hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.tour-hero-btns .btn {
    min-width: 150px;
}

.tour-duration-card {
    position: relative;
    z-index: 10;
    background-color: white;
    border: 2px solid var(--clr-primary);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 128, 128, 0.1);
    max-width: 750px;
    width: 90%;
    margin: 0 auto;
    transform: translateY(-50%);
    margin-bottom: -40px;
    
    padding: 1.5rem 2.5rem;
    text-align: center;
}

.tour-duration-card h4 {
    font-family: var(--font-heading);
    color: #000000;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.tour-duration-card p {
    color: #000000;
    font-size: 1.05rem;
    font-weight: 500;
    opacity: 0.9;
    margin: 0;
}

.tour-spots-section {
    padding: 2rem var(--side-padding) 5rem;
    max-width: 100%;
    margin: 0 auto;
}

.tour-spots-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.tour-spots-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    padding-bottom: 2rem; 
}

.spot-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3; 
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.spot-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: left 0.75s ease;
    pointer-events: none;
}

.spot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (min-width: 993px) {
    .kintamani-spots-grid .spot-card:nth-child(5) {
        grid-column: 2 / span 2;
        justify-self: center;
        width: calc(50% - 10px); 
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .kintamani-spots-grid .spot-card:nth-child(5) {
        grid-column: 1 / span 2;
        justify-self: center;
        width: calc(50% - 10px); 
    }
}

.spot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 168, 150, 0.2);
    
}

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

.spot-card:hover::after {
    left: 150%;
}

.spot-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1.2rem;
    color: #ffffff;
    pointer-events: none;
    z-index: 5;
}

.spot-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
    color: #ffffff;
}

.spot-card-desc {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
    color: #ffffff;
}

.tour-booking-section {
    position: relative;
    padding: 5rem 20px;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    scroll-margin-top: 80px; 
}

.tour-booking-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 15, 0.5);
    
    z-index: 1;
}

.tour-booking-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.tb-header {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--color-white);
}

.tb-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tb-header p {
    font-size: 1.05rem;
    opacity: 0.95;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tb-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #ffffff;
}

.tb-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tb-info-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tb-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tb-info-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.tb-info-text {
    font-size: 1rem;
    line-height: 1.4;
    color: #ffffff;
}

.tb-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.tb-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tb-form-row {
    display: flex;
    gap: 1rem;
}

.tb-form-row>* {
    flex: 1;
}

.tb-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tb-form-group label {
    font-size: 0.8rem;
    color: #555;
    font-weight: 600;
    margin-left: 4px;
}

.tb-form-group input,
.tb-form-group select,
.tb-form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(0, 168, 150, 0.1);
    background-color: #f7fdf9;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
}

.tb-form-group input:focus,
.tb-form-group select:focus,
.tb-form-group textarea:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #00a896;
    box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.15);
}

.tb-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.tb-submit-btn {
    background-color: var(--clr-primary);
    
    color: white;
    border: none;
    padding: 1.1rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.25);
}

.tb-submit-btn:hover {
    background-color: var(--clr-primary-dark);
    
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 128, 128, 0.35);
}

@media (min-width: 1600px) {
    .tour-spots-section {
        max-width: 1440px;
        margin: 0 auto;
        padding-left: 60px;
        padding-right: 60px;
    }
    .tour-duration-card {
        max-width: 900px;
    }
}

@media (max-width: 992px) {
    .tour-booking-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .spots-grid {
        display: grid; 
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tb-header h2 {
        font-size: 1.8rem; 
        line-height: 1.25;
    }

    .tb-header p {
        font-size: 0.95rem; 
    }

    .tour-hero {
        min-height: auto;
        padding: 140px 16px 60px; 
    }

    .tour-hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .tour-hero-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .tour-hero-meta {
        flex-direction: row; 
        justify-content: center;
        gap: 1.5rem;
        align-items: center;
        margin-bottom: 2rem;
        font-size: 0.85rem; 
    }

    .tour-hero-meta span svg {
        width: 16px;
        height: 16px;
    }

    .tour-duration-card {
        padding: 1.25rem 1.5rem;
        transform: translateY(-30px);
        margin-bottom: -15px;
        width: 92%;
    }

    .tour-duration-card h4 {
        font-size: 1.4rem;
    }

    .tour-duration-card p {
        font-size: 0.95rem;
    }

    .spots-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 1.5rem;
        gap: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
    }
    .spots-grid::-webkit-scrollbar {
        display: none;
    }

    .spot-card {
        flex: 0 0 94%; 
        aspect-ratio: 4 / 3; 
    }

    .tb-form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .tb-form-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .tb-buttons-container {
        flex-direction: column; 
        gap: 0.75rem;
        align-items: stretch;
        width: 100%;
        margin-top: 1.5rem;
    }

    .tb-submit-btn,
    .tb-btn-secondary {
        margin-top: 0 !important; 
        padding: 0.95rem 1.25rem !important; 
        font-size: 0.95rem !important; 
        font-weight: 700 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%; 
        min-height: 52px; 
        border-radius: 10px;
    }

    .tour-hero-btns {
        flex-direction: row; 
        width: 100%;
        gap: 12px; 
    }

    .tour-hero-btns .btn {
        flex: 1; 
        min-width: 0; 
        font-size: 0.85rem;
        padding: 0.6rem 0.5rem;
        white-space: nowrap;
        text-align: center;
    }

    .dial-dropdown {
        width: calc(100vw - 50px);
        max-width: 290px;
    }
}

@media (max-width: 360px) {
    .tour-duration-card h4 {
        font-size: 1.25rem;
    }
    
    .tb-form-card {
        padding: 1.25rem 0.75rem;
    }
    
    .dial-dropdown {
        width: 100%;
    }
}

.tb-buttons-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.tb-buttons-container>* {
    flex: 1;
}

.tb-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: #25d366;
    
    color: white;
    border: none;
    padding: 1.1rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    text-decoration: none;
    text-align: center;
}

.tb-btn-secondary:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(0, 168, 150, 0.15);
    background-color: #f7fdf9;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-trigger:focus,
.custom-select-wrapper.active .custom-select-trigger {
    background-color: #ffffff;
    border-color: #00a896;
    box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.15);
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid rgba(0, 168, 150, 0.2);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    padding: 0.6rem;
}

.custom-select-wrapper.active .custom-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-search-input {
    width: 100% !important;
    padding: 0.6rem 0.8rem !important;
    margin-bottom: 0.5rem;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
    font-size: 0.9rem !important;
    box-sizing: border-box;
}

.select-options-list {
    max-height: 200px;
    overflow-y: auto;
}

.select-option {
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #333;
}

.select-option:hover {
    background-color: #e6f7f4;
    color: #00a896;
}

.chevron-icon {
    transition: transform 0.3s ease;
    color: #888;
}

.custom-select-wrapper.active .chevron-icon {
    transform: rotate(180deg);
}

.tel-input-wrapper {
    display: flex;
    position: relative;
    width: 100%;
}

.dial-code-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0 0.8rem;
    border: 1px solid rgba(0, 168, 150, 0.15);
    border-right: none;
    background-color: #eef9f5;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #333;
    z-index: 5;
}

.dial-code-selector:hover {
    background-color: #e1f5ee;
}

.tel-input-wrapper input {
    border-radius: 0 10px 10px 0 !important;
    flex: 1;
}

.dial-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 250px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 168, 150, 0.2);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    padding: 0.6rem;
}

.dial-code-selector.active .dial-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dial-search-input {
    width: 100% !important;
    padding: 0.5rem 0.7rem !important;
    margin-bottom: 0.5rem;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
    font-size: 0.85rem !important;
    box-sizing: border-box;
}

.dial-options-list {
    max-height: 180px;
    overflow-y: auto;
}

.dial-option {
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
}

.dial-option:hover {
    background-color: #e6f7f4;
    color: #00a896;
}

.tb-form-group.invalid input {
    border-color: #ff4d4f !important;
    background-color: #fffbfe !important;
}

.tb-form-group.invalid input:focus {
    box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.15) !important;
}

.error-message {
    font-size: 0.75rem;
    color: #ff4d4f;
    margin-top: 0.2rem;
    font-weight: 500;
    display: none;
    margin-left: 4px;
}

.tb-form-group.invalid .error-message {
    display: block;
}

@media (max-width: 768px) {
    .tb-buttons-container {
        flex-direction: column !important; 
        gap: 0.75rem !important;
        margin-top: 1.5rem !important;
    }
    
    .tb-buttons-container > * {
        flex: none !important;
        width: 100% !important;
    }

    .tb-submit-btn,
    .tb-btn-secondary {
        width: 100% !important;
        margin: 0 !important;
        padding: 0.95rem 1.25rem !important; 
        font-size: 0.95rem !important; 
        min-height: 52px !important; 
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

.dial-code-selector .dial-flag,
.dial-code-selector .dial-prefix,
.dial-code-selector .chevron-mini {
    pointer-events: none;
}

.select-option, .dial-option, .trigger-text {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}
.select-option img, .dial-option img, .trigger-text img {
    flex-shrink: 0 !important; 
}

.dial-option * {
    pointer-events: none;
}

.tb-form-group > label:not([for="specialRequests"])::after {
    content: " *";
    color: #ff4d4f;
    font-weight: bold;
}