/* ============================================
   Place Tabs Navigation Styling
   ============================================ */

.place-tabs-navigation {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
  
}

.place-tab-button {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
    border-radius: 5px;
}

.place-tab-button .place-icon {
    font-size: 20px;
    display: inline-block;
}

.place-tab-button .place-name {
    display: inline-block;
    font-weight: 300;
}

/* Hover Effect */
.place-tab-button:hover {
    color: #080808;
    font-weight: 400px;
    background:#f7c83b49;
   
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
}

/* Active Tab Styling */
.place-tab-button.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;

    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    transform: translateY(-3px);
}
/* ============================================
   Place Content Styling - Bottom to Top Animation
   ============================================ */

.place-content {
    display: none;
    animation: slideUpContent 0.6s ease-out;
}

.place-content.active {
    display: block;
}

@keyframes slideUpContent {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Content Sections - Bottom to Top Animation
   ============================================ */

.content-section {
    margin-bottom: 50px;
    animation: slideUpSection 0.7s ease-out;
}

.gallery-section {
    animation: slideUpSection 0.7s ease-out;
}

.videos-section {
    animation: slideUpSection 0.7s ease-out 0.1s both;
}

@keyframes slideUpSection {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Main Title Styling
   ============================================ */

.main_title {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    animation: slideUpTitle 0.6s ease-out;
}

@keyframes slideUpTitle {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main_title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.main_title strong {
    color: #007bff;
}

.main_title p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.main_title span {
    display: inline-block;
    margin-top: 15px;
}

.main_title span em {
    display: inline-block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

hr {
    border: none;
    border-top: 2px solid #eee;
    margin: 40px 0;
}

/* ============================================
   Image Gallery Styling
   ============================================ */

.img_wrapper {
    margin-bottom: 20px;
    transition: all 0.3s ease;
    animation: slideUpImage 0.7s ease-out;
}

@keyframes slideUpImage {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.img_container {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.img_container:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.img_container a {
    display: block;
    text-decoration: none;
}

.img_container img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.img_container:hover img {
    filter: brightness(0.9);
}

/* ============================================
   Video Play Button Styling
   ============================================ */

.img_container a.video::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.img_container a.video:hover::before {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ============================================
   Staggered Animation for Multiple Images
   ============================================ */

.row.magnific-gallery {
    position: relative;
}

.row.magnific-gallery .col-sm-4:nth-child(1) .img_wrapper {
    animation-delay: 0s;
}

.row.magnific-gallery .col-sm-4:nth-child(2) .img_wrapper {
    animation-delay: 0.1s;
}

.row.magnific-gallery .col-sm-4:nth-child(3) .img_wrapper {
    animation-delay: 0.2s;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablets and Medium Devices */
@media (max-width: 992px) {
    .col-sm-4 {
        width: 33.333%;
    }
}

/* Small Devices - 2 items per row */
@media (max-width: 768px) {
    .place-tabs-navigation {
        gap: 10px;
        padding: 15px;
        margin-bottom: 30px;
    }

    .place-tab-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .place-tab-button .place-icon {
        font-size: 18px;
    }

    .main_title h2 {
        font-size: 24px;
    }

    .main_title p {
        font-size: 14px;
    }

    /* 2 columns on small devices */
    .col-sm-4 {
        width: 50%;
        float: left;
    }

    .img_wrapper {
        padding: 0 8px;
    }
}

/* Extra Small Devices */
@media (max-width: 576px) {
    .place-tabs-navigation {
        gap: 8px;
        padding: 10px;
        margin-bottom: 20px;
    }

    .place-tab-button {
        padding: 8px 15px;
        font-size: 12px;
        flex: 1;
        justify-content: center;
    }

    .place-tab-button .place-icon {
        font-size: 16px;
    }

   
    .main_title h2 {
        font-size: 20px;
    }

    .main_title p {
        font-size: 12px;
    }

    .content-section {
        margin-bottom: 30px;
    }

    hr {
        margin: 30px 0;
    }

    /* 2 columns on small devices */
    .col-sm-4 {
        width: 50%;
        float: left;
    }

    .img_wrapper {
        padding: 0 6px;
        margin-bottom: 15px;
    }

    .img_wrapper img {
        height: auto;
    }
}

/* Very Small Devices - Optional: Can go to 1 column */
@media (max-width: 400px) {
    .place-tab-button {
        padding: 6px 10px;
        font-size: 11px;
    }

    .place-tab-button .place-icon {
        font-size: 14px;
    }

    .main_title h2 {
        font-size: 18px;
    }

    /* 2 columns (you can change to 1 column by setting width: 100%) */
    .col-sm-4 {
        width: 50%;
        float: left;
    }

    .img_wrapper {
        padding: 0 5px;
        margin-bottom: 12px;
    }
}