/* Business Details Page Styles */

/* Back Section */
.back-section {
    padding: 1.5rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
}

/* Business Header */
.business-details-section {
    padding: 2rem 0;
}

.business-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.business-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.business-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin: 0;
}

.business-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
}

/* Advertisement Banner */
.ad-banner-inline {
    margin: 2rem 0;
}

/* Main Content Layout */
.business-main-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

.business-left-column,
.business-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Image Gallery */
.image-gallery {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.main-image-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.8rem;
}

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Video Section */
.video-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-subtitle i {
    color: var(--primary-color);
}

.video-container {
    width: 100%;
    min-height: 300px;
    height: 300px; /*600px */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Description Section */
.description-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

/* Map Section */
.map-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    border-radius: 12px;
}

/* Sidebar Cards */
.contact-card,
.social-card,
.hours-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title i {
    color: var(--primary-color);
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.phone-action {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
}

.phone-action:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.whatsapp-action {
    background: linear-gradient(135deg, #25D366, #20BA5A);
    color: white;
}

.whatsapp-action:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Social Links */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link-item:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
    color:#fff !important;
    text-decoration: none;
}

.social-link-item.facebook-link {
    background: #1877f2;
}

.social-link-item.instagram-link {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link-item.tiktok-link {
    background: #000000;
}

.social-link-item.tiktok-link:hover {
    background: #ff0050;
}

.social-link-item.twitter-link {
    background: #1da1f2;
}

.social-link-item.linkedin-link {
    background: #0077b5;
}

.social-link-item i {
    font-size: 1.5rem;
}

/* Working Hours */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-right: 4px solid var(--primary-color);
}

.hours-day {
    font-weight: 600;
    color: var(--text-dark);
}

.hours-time {
    color: var(--text-light);
    font-weight: 500;
}

.hours-item.closed .hours-time {
    color: #ef4444;
}

.hours-item.today {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1));
    border-right-color: var(--accent-color);
}

/* Advertisement Sidebar */
.ad-sidebar {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-md);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.ad-placeholder-vertical i {
    font-size: 2rem;
}

.ad-placeholder-vertical span {
    font-size: 1rem;
    font-weight: 600;
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    left: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .business-main-content {
        grid-template-columns: 1fr;
    }

    .business-right-column {
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .business-title {
        font-size: 1.8rem;
    }

    .business-badge {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .main-image-container {
        height: 300px;
    }

    .section-subtitle {
        font-size: 1.3rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .thumbnail {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .business-header {
        padding: 1.5rem;
    }

    .business-title {
        font-size: 1.5rem;
    }

    .main-image-container {
        height: 250px;
    }

    .back-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
