/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com
Description: Child theme for Hello Elementor
Author: You
Template: hello-elementor
Version: 1.0
*/

/* ── Custom Vertical Tabs ── */

.custom-tabs-wrapper {
    width: 100%;
    margin: 0 auto;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.custom-tabs-wrapper * {
    box-sizing: border-box;
}

/* Desktop: show tabs */
.custom-tabs-wrapper.custom-tabs-desktop {
    display: block;
}

/* Accordion: hide by default */
.custom-tabs-wrapper.custom-tabs-accordion {
    display: none;
}

/* ── Desktop: show tabs, hide accordion ── */
@media (min-width: 768px) {
    .custom-tabs-wrapper.custom-tabs-desktop {
        display: block !important;
    }

    .custom-tabs-wrapper.custom-tabs-accordion {
        display: none !important;
    }
}

/* ── Mobile: hide tabs, show accordion ── */
@media (max-width: 767px) {
    .custom-tabs-wrapper.custom-tabs-desktop {
        display: none !important;
    }

    .custom-tabs-wrapper.custom-tabs-accordion {
        display: block !important;
    }
}

/* ============================
   DESKTOP TABS
   ============================ */

/* Flexbox layout with two columns */
.custom-tabs-container {
    display: flex;
    align-items: flex-start;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Sidebar (left column) — sticky */
.custom-tabs-container .tabs-sidebar {
    width: 30%;
    flex-shrink: 0;
    background: #1a1a2e;
    position: sticky;
    top: 0;
    align-self: flex-start;
    max-height: 100vh;
    overflow-y: auto;
    border-radius: 12px 0 0 12px;
}

/* Tab buttons */
.custom-tabs-container .tab {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-tabs-container .tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.custom-tabs-container .tab.active {
    background: rgba(201, 168, 76, 0.1);
    border-left-color: #c9a84c;
}

.custom-tabs-container .tab a.tab-title {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    padding: 18px 24px;
}

.custom-tabs-container .tab:hover a.tab-title {
    color: rgba(255, 255, 255, 0.9);
}

.custom-tabs-container .tab.active a.tab-title {
    color: #c9a84c;
    font-weight: 600;
}

/* Content area (right column) */
.custom-tabs-container .tabs-content-area {
    width: 70%;
    background: #faf8f5;
    min-height: 500px;
}

/* Tab content panels */
.custom-tabs-container .tab-content {
    display: none;
    padding: 36px 40px;
    color: #333;
    line-height: 1.7;
}

.custom-tabs-container .tab-content.active {
    display: block;
}

/* ============================
   MOBILE ACCORDION
   ============================ */

.custom-tabs-accordion {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Accordion header — matches tab sidebar style */
.custom-tabs-accordion .accordion-header {
    background: #1a1a2e;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

/*.custom-tabs-accordion .accordion-header:hover {*/
/*    background: rgba(255, 255, 255, 0.05);*/
/*}*/

.custom-tabs-accordion .accordion-header.active {
    background: rgba(201, 168, 76, 0.1);
    border-left-color: #c9a84c;
}

.custom-tabs-accordion .accordion-title {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    padding: 18px 24px;
    flex: 1;
}

/*.custom-tabs-accordion .accordion-header:hover .accordion-title {*/
/*    color: #333;*/
/*}*/

.custom-tabs-accordion .accordion-header.active .accordion-title {
    color: #333;
}

.custom-tabs-accordion .accordion-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
    margin-right: 20px;
    flex-shrink: 0;
}

.custom-tabs-accordion .accordion-header.active .accordion-icon {
    transform: rotate(-135deg);
    border-color: #333;
}

/* Accordion body — matches tab content style */
.custom-tabs-accordion .accordion-body {
    display: none;
    background: #faf8f5;
    padding: 20px;
    color: #333;
    line-height: 1.7;
}

/* ============================
   SHARED CONTENT STYLES
   (tabs + accordion)
   ============================ */

.custom-tabs-container .tab-content img,
.custom-tabs-accordion .accordion-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.custom-tabs-container .tab-content h3,
.custom-tabs-accordion .accordion-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
}

.custom-tabs-container .tab-content p,
.custom-tabs-accordion .accordion-body p {
    color: #666;
    font-size: 15px;
    margin: 0 0 16px 0;
}

.custom-tabs-container .tab-content ul,
.custom-tabs-accordion .accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-tabs-container .tab-content ul li,
.custom-tabs-accordion .accordion-body ul li {
    position: relative;
    padding: 6px 0 6px 24px;
    color: #444;
    font-size: 14px;
}

.custom-tabs-container .tab-content ul li::before,
.custom-tabs-accordion .accordion-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c9a84c;
    font-weight: 700;
}

/* ============================
   DESKTOP STYLE 2: PILLS + CARDS
   ============================ */

.custom-tabs-style-2 {
    background: #faf8f5;
    padding: 40px;
    border-radius: 12px;
}

/* Pill buttons row */
.custom-tabs-style-2 .tabs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    justify-content: center;
}

.custom-tabs-style-2 .tab-pill {
    padding: 4px 10px;
    border: 1px solid #c9a84c;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
}

.custom-tabs-style-2 .tab-pill:hover {
    background: rgba(201, 168, 76, 0.1);
    color: #1a1a2e;
}

.custom-tabs-style-2 .tab-pill.active {
    background: #c9a84c;
    color: #fff;
    border-color: #c9a84c;
}

/* Cards grid */
.custom-tabs-style-2 .tabs-cards {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.custom-tabs-style-2 .tabs-cards.active {
    display: grid;
}

/* Individual card */
.custom-tabs-style-2 .tab-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-tabs-style-2 .tab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.custom-tabs-style-2 .tab-card-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 110%;
    overflow: hidden;
}

.custom-tabs-style-2 .tab-card-image:before {
    background-color: rgba(0, 0, 0, 0.3);
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    --background-overlay: '';
    transition: all 0.3s;
    z-index: 9;
}

.custom-tabs-style-2 .tab-card:hover .tab-card-image:before {
    background-color: transparent;
}

.custom-tabs-style-2 .tab-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    overflow: hidden;
}

.custom-tabs-style-2 .tab-card:hover .tab-card-image img {
    transform: scale(1.05);
}

.custom-tabs-style-2 .tab-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    letter-spacing: 0.3px;
    z-index: 999;
}

/* Style 2 responsive: 2 columns on tablets */
@media (max-width: 991px) and (min-width: 768px) {
    .custom-tabs-style-2 .tabs-cards.active {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-tabs-style-2 {
        padding: 24px;
    }
}

/* Mangomint Packages Grid */
.mangomint-packages-wrapper {
    /* Base wrapper for future scoping if needed */
}

.mangomint-packages-wrapper .mangomint-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.mangomint-packages-wrapper .package-card {
    border: 1px solid #eaeaea;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.mangomint-packages-wrapper .package-card:hover {
    border-color: #d4a74a;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.mangomint-packages-wrapper .package-content h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: #333;
    line-height: 1.3;
    margin-bottom: 12px;
}

.mangomint-packages-wrapper .pkg-short-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.mangomint-packages-wrapper .pkg-pricing {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.mangomint-packages-wrapper .pkg-price-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: #050505;
}

.mangomint-packages-wrapper .pkg-tax-info {
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px;
}

.mangomint-packages-wrapper .pkg-book-btn {
    margin-top: 15px;
    padding: 8px 17px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-block;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(135deg, #d4a74a 0%, #f4d794 25%, #d4a74a 50%, #f4d794 75%, #d4a74a 100%) !important;
    color: #050505;
    background-size: 200% auto !important;
}

.mangomint-packages-wrapper .pkg-book-btn:hover {
    background: #050505;
}

/* Mangomint Search Bar */
.mangomint-packages-search {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mangomint-packages-search {
    margin-bottom: 20px;
    padding: 0 10px;
}

#mangomintSearch {
    width: 100%;
    max-width: 680px;
    padding: 14px 20px;
    border: 1px solid #eaeaea;
    border-radius: 100px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    font-family: inherit;
    color: #333;
}

#mangomintSearch:focus {
    outline: none;
    border-color: #d4a74a;
    box-shadow: 0 4px 12px rgba(212, 167, 74, 0.15);
}

/* ── SpaSprint Blog Grid & Cards ── */

.ss-blogs-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.ss-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Responsive columns: 2 on tablet, 1 on mobile */
@media (max-width: 991px) {
    .ss-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .ss-blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Individual Post Card */
.ss-blog-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    /*transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);*/
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.ss-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #DFB761;
}

/* Card Image Area */
.ss-blog-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eaeaea;
}

.ss-blog-card-image img {
    width: 100% !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ss-blog-card:hover .ss-blog-card-image img {
    transform: scale(1.06);
}

/* Card Body Content */
.ss-blog-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Date Meta Style */
.ss-blog-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #888888;
    margin-bottom: 14px;
    font-weight: 500;
}

.ss-blog-date-icon {
    width: 16px;
    height: 16px;
    color: #888888;
    flex-shrink: 0;
}

/* Card Title Style */
.ss-blog-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 14px 0;
    color: #1a1a2e;
}

.ss-blog-card-title a {
    text-decoration: none;
    color: #1a1a2e;
    transition: color 0.3s ease;
}

.ss-blog-card-title a:hover {
    color: #c59b3f;
}

/* Card Excerpt Style */
.ss-blog-card-excerpt {
    font-size: 14.5px;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

/* Button & Card Footer */
.ss-blog-card-footer {
    margin-top: auto;
}

.ss-blog-more-btn {
    display: inline-block;
    padding: 11px 28px;
    background: linear-gradient(135deg, #dfbc6c 0%, #c59b3f 100%);
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(197, 155, 63, 0.2);
    text-align: center;
}

.ss-blog-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 155, 63, 0.4);
    background: linear-gradient(135deg, #ebd08d 0%, #d4a74a 100%);
    color: #050505;
}

.ss-blog-more-btn:active {
    transform: translateY(0);
}

/* Loader Container and Premium Spinner */
.ss-blogs-loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.ss-blogs-loader-container.active {
    opacity: 1;
    height: 60px;
}

.ss-blogs-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(197, 155, 63, 0.1);
    border-top: 3px solid #c59b3f;
    border-radius: 50%;
    animation: ss-blogs-spin 0.8s linear infinite;
}

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

.ss-blogs-no-posts {
    text-align: center;
    font-size: 16px;
    color: #666;
    padding: 40px 0;
}