/*
 * Compiled stylesheet: profile_gurupublic.css
 * Shared by views:
 *   - app/Views/front/profile/gurupublic.php
 */

* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Inter', sans-serif;
        background-color: #fefaf5;
        color: #2c2418;
        scroll-behavior: smooth;
    }

    h1, h2, h3, h4, .logo, .sacred-text {
        font-family: 'Cormorant Garamond', serif;
        font-weight: 600;
        letter-spacing: -0.01em;
    }

    .full-width { width: 100%; }

    .tabs-container {
        background: white;
        border-top: 1px solid #e8dfd3;
        border-bottom: 1px solid #e8dfd3;
        position: static;
        top: 0;
        z-index: 100;
        backdrop-filter: blur(10px);
        background: rgba(255, 252, 245, 0.98);
    }
    .tabs {
        max-width: 1280px;
        margin: 0 auto;
        display: flex;
        gap: 8px;
        padding: 0 16px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: thin;
    }
    .tab-btn {
        background: none;
        border: none;
        padding: 14px 8px;
        font-size: 0.9rem;
        font-weight: 600;
        color: #6a5a48;
        cursor: pointer;
        transition: 0.2s;
        border-bottom: 3px solid transparent;
        font-family: 'Inter', sans-serif;
    }
    .tab-btn.active {
        color: #b45f2b;
        border-bottom-color: #b45f2b;
    }

    .main-content {
        max-width: 1280px;
        margin: 28px auto;
        padding: 0 20px;
    }
    .tab-pane {
        display: none;
        animation: fadeIn 0.25s ease;
    }
    .tab-pane.active-pane {
        display: block;
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(6px);}
        to { opacity: 1; transform: translateY(0);}
    }

    .view-toggle {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        margin-bottom: 24px;
        flex-wrap: wrap;
    }
    .view-btn {
        background: #f0e7dd;
        border: none;
        padding: 6px 18px;
        border-radius: 40px;
        font-weight: 500;
        cursor: pointer;
        transition: 0.2s;
        font-size: 0.8rem;
    }
    .view-btn.active-view {
        background: #b45f2b;
        color: white;
    }

    .grid-view {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 28px;
    }
    .list-view {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    /* Fixed height cards */
    .activity-card {
        background: white;
        border-radius: 28px;
        overflow: hidden;
        transition: 0.2s;
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 380px;
    }
    .activity-img {
        width: 100%;
        height: 200px;
        background-size: cover;
        background-position: center;
        background-color: #f3e9df;
        flex-shrink: 0;
    }
    .activity-details {
        padding: 18px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .activity-details p {
        flex: 1;
    }
    .list-view .activity-card {
        display: flex;
        align-items: center;
        gap: 18px;
        padding: 12px;
        min-height: auto;
    }
    .list-view .activity-img {
        width: 110px;
        height: 110px;
        border-radius: 20px;
        flex-shrink: 0;
    }
    .list-view .activity-details {
        flex: 1;
        padding: 8px 8px 8px 0;
    }

    /* Gallery cards fixed height */
    .gallery-card {
        background: white;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 6px 14px rgba(0,0,0,0.05);
        cursor: pointer;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 280px;
    }
    .gallery-img {
        width: 100%;
        height: 220px;
        background-size: cover;
        background-position: center;
        flex-shrink: 0;
    }
    .gallery-card .activity-details {
        flex: 1;
    }
    .list-view .gallery-card {
        display: flex;
        flex-direction: row;
        gap: 16px;
        align-items: center;
        padding: 12px;
        min-height: auto;
    }
    .list-view .gallery-img {
        width: 110px;
        height: 100px;
        border-radius: 18px;
    }

    /* Testimonials cards fixed height */
    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
        margin-top: 20px;
    }
    .testimonial-card {
        background: white;
        border-radius: 24px;
        padding: 24px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 280px;
    }
    .testimonial-card:hover {
        transform: translateY(-5px);
    }
    .testimonial-card p {
        flex: 1;
    }

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        background: #000;
        border-radius: 28px;
    }
    .video-wrapper iframe,
    .video-wrapper video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 28px;
    }

    .accommodation-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 28px;
        margin-top: 20px;
    }
    .accommodation-card {
        background: white;
        border-radius: 28px;
        overflow: hidden;
        box-shadow: 0 12px 24px rgba(0,0,0,0.06);
        transition: transform 0.2s;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .accommodation-card:hover {
        transform: translateY(-5px);
    }
    .accommodation-img {
        height: 200px;
        background-size: cover;
        background-position: center;
        flex-shrink: 0;
    }
    .accommodation-content {
        padding: 22px;
        flex: 1;
    }
    .amenities-list {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin: 16px 0;
    }
    .amenity {
        background: #fef2e6;
        padding: 4px 12px;
        border-radius: 30px;
        font-size: 0.75rem;
        font-weight: 500;
    }

    .story-card {
        background: linear-gradient(145deg, #fff8f0, #ffffff);
        border-radius: 32px;
        padding: 28px;
        margin-bottom: 32px;
        box-shadow: 0 12px 28px rgba(0,0,0,0.04);
    }
    .grid-2col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        margin-top: 20px;
    }
    .info-chip {
        background: #faf0e4;
        border-radius: 28px;
        padding: 24px;
        transition: transform 0.3s ease;
    }
    .info-chip:hover {
        transform: translateY(-5px);
    }

    .google-map-full {
        width: 100%;
        height: 320px;
        border-radius: 28px;
        overflow: hidden;
        margin: 20px 0;
    }
    iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }
    .contact-info-card {
        background: white;
        border-radius: 28px;
        padding: 24px;
    }

    /* Pagination Styles */
    .pagination-container {
        margin-top: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .pagination-btn {
        background: white;
        border: 1px solid #e0d5c8;
        padding: 8px 16px;
        border-radius: 40px;
        font-weight: 500;
        cursor: pointer;
        transition: 0.2s;
        font-size: 0.85rem;
    }
    .pagination-btn:hover:not(:disabled) {
        background: #b45f2b;
        color: white;
        border-color: #b45f2b;
    }
    .pagination-btn.active {
        background: #b45f2b;
        color: white;
        border-color: #b45f2b;
    }
    .pagination-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }
    .pagination-numbers {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    .page-number {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: white;
        border: 1px solid #e0d5c8;
        cursor: pointer;
        transition: 0.2s;
        font-weight: 500;
    }
    .page-number:hover {
        background: #b45f2b;
        color: white;
        border-color: #b45f2b;
    }
    .page-number.active {
        background: #b45f2b;
        color: white;
        border-color: #b45f2b;
    }
    .items-count {
        text-align: center;
        margin-top: 16px;
        font-size: 0.8rem;
        color: #6a5a48;
    }

    @media (max-width: 720px) {
        .grid-2col { grid-template-columns: 1fr; }
        .grid-view { grid-template-columns: 1fr; }
        .list-view .activity-card { flex-direction: column; text-align: center; }
        .list-view .activity-img { width: 100%; height: 160px; }
        .list-view .gallery-card { flex-direction: column; }
        .accommodation-grid { grid-template-columns: 1fr; }
        .testimonials-grid { grid-template-columns: 1fr; }
        .tabs { gap: 4px; }
        .tab-btn { font-size: 0.75rem; padding: 12px 5px; }
        .page-number { width: 32px; height: 32px; font-size: 0.8rem; }
        .pagination-btn { padding: 6px 12px; font-size: 0.75rem; }
    }
    @media (max-width: 480px) {
        .main-content { padding: 0 16px; }
        .story-card { padding: 20px; }
    }
    /* Info Chips - Better handling for long content */
.info-chip {
    background: #faf0e4;
    border-radius: 28px;
    padding: 24px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
}

.info-chip:hover {
    transform: translateY(-5px);
}

.info-chip i {
    font-size: 2rem;
    color: #b45f2b;
    margin-bottom: 12px;
}

.info-chip h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2418;
    margin-bottom: 12px;
    border-bottom: 2px solid #e8dfd3;
    padding-bottom: 8px;
    display: inline-block;
}

.info-chip p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4a3b2c;
    margin: 0;
    overflow-y: auto;
    max-height: 300px;
    padding-right: 8px;
}

/* Custom scrollbar for info-chip content */
.info-chip p::-webkit-scrollbar {
    width: 4px;
}

.info-chip p::-webkit-scrollbar-track {
    background: #e8dfd3;
    border-radius: 10px;
}

.info-chip p::-webkit-scrollbar-thumb {
    background: #b45f2b;
    border-radius: 10px;
}

/* Read more/less button for long content */
.read-more-btn {
    background: none;
    border: none;
    color: #b45f2b;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    padding: 5px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more-btn:hover {
    color: #8a4518;
}

.info-chip .content-wrapper {
    position: relative;
}

.info-chip .collapsed-content {
    max-height: 150px;
    overflow: hidden;
    position: relative;
}

.info-chip .collapsed-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #faf0e4);
    pointer-events: none;
}

.info-chip .expanded-content {
    max-height: none;
    overflow-y: auto;
}
/* Member Card Styles */
.member-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-8px);
}

.member-img-container {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-img-container img,
.member-img-container div {
    transition: transform 0.3s ease;
}

.member-card:hover .member-img-container img,
.member-card:hover .member-img-container div {
    transform: scale(1.05);
}

/* Grid view for members */
#membersContainer.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* List view for members */
#membersContainer.list-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#membersContainer.list-view .member-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
}

#membersContainer.list-view .member-img-container {
    min-height: auto;
    padding: 0;
}

#membersContainer.list-view .member-img-container img,
#membersContainer.list-view .member-img-container div {
    width: 60px;
    height: 60px;
}

#membersContainer.list-view .member-card .p-5 {
    padding: 0;
    text-align: left;
    flex: 1;
}

#membersContainer.list-view .absolute {
    display: none;
}