/* Studio STOFLOV Custom Styles */

.scrolling-wrapper {
    overflow: hidden;
    white-space: nowrap;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 15s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

.emphasis {
    font-weight: bold;
    color: #500c88;
}

.ccolor {
    color: #ffffff;
}

/* Opening Announcement Styling */
.opening-announcement {
    position: relative;
    padding: 0;
    margin-bottom: 2rem;
    overflow: hidden;
}

.announcement-wrapper {
    position: relative;
    background: linear-gradient(135deg, #500c88 0%, #7c1ca1 50%, #a855f7 100%);
    padding: 3rem 0;
    min-height: 200px;
}

.announcement-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="15" cy="8" r="0.5" fill="rgba(255,255,255,0.2)"/><circle cx="8" cy="15" r="0.8" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>') repeat;
    opacity: 0.3;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    100% { opacity: 0.4; }
}

.announcement-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.announcement-icon {
    flex-shrink: 0;
}

.icon-sparkle {
    font-size: 4rem;
    animation: sparkle 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 221, 87, 0.8));
    color: #ffdd57;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.announcement-text {
    flex: 1;
}

.announcement-title {
    margin: 0 0 1.5rem 0;
    font-weight: 800;
    line-height: 1.2;
}

.title-accent {
    display: block;
    font-size: 1.2rem;
    color: #ff57c4;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.title-main {
    display: block;
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.announcement-details {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.date-highlight {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.date-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 221, 87, 0.3), transparent);
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2), 0 0 0 0 rgba(255, 221, 87, 0.4);
        border-color: rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(0,0,0,0.3), 0 0 20px 5px rgba(255, 221, 87, 0.6);
        border-color: rgba(255, 221, 87, 0.6);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.date-label {
    display: block;
    font-size: 0.9rem;
    color: #ffdd57;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 10px rgba(255, 221, 87, 0.8);
    position: relative;
    z-index: 2;
}

.date-value {
    display: block;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3), 0 0 15px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
    animation: text-pulse 2s ease-in-out infinite;
}

@keyframes text-pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3), 0 0 15px rgba(255, 255, 255, 0.5);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3), 0 0 25px rgba(255, 221, 87, 0.8);
    }
}

.announcement-description {
    flex: 1;
    min-width: 300px;
}

.announcement-description p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.welcome-badge {
    display: inline-block;
    background: #ff57c4;
    color: #500c88;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 221, 87, 0.3);
}

.announcement-banner {
    background-color: #ffdd57;
    padding: 20px 0;
    text-align: center;
}

.announcement-banner .banner-text {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    font-weight: bold;
}

/* Location Section Styling */
.location-section {
    background-color: white;
    padding: 3rem 0;
}

/* Full Width Location Section with Overlay */
.location-section-fullwidth {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.address-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
    max-width: 400px;
    width: calc(100% - 60px);
}

.address-card-overlay {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.address-card-overlay:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .address-overlay {
        top: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
        width: calc(100% - 40px);
    }
    
    .address-card-overlay {
        padding: 1.5rem;
    }
    
    .location-section-fullwidth {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .address-overlay {
        top: 15px;
        right: 15px;
        left: 15px;
        width: calc(100% - 30px);
    }
    
    .address-card-overlay {
        padding: 1.2rem;
    }
    
    .location-section-fullwidth {
        height: 450px;
    }
}

.address-container {
    display: flex;
    justify-content: center;
}

.address-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.address-card:hover {
    transform: translateY(-5px);
}

.address-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #500c88, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(80, 12, 136, 0.3));
    flex-shrink: 0;
}

.address-content {
    flex: 1;
    text-align: left;
}

.address-title {
    color: #ef65c5;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.address-text {
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.studio-name {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #643cf7;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.street {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.city {
    display: block;
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.region {
    display: block;
    font-size: 1rem;
    color: #888;
    font-weight: 500;
    margin-top: 0.3rem;
    font-style: italic;
}

.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 15px;
    border-left: 4px solid #ef65c5;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-weight: 600;
    color: #ef65c5;
    min-width: 100px;
    font-size: 0.95rem;
}

.contact-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ef65c5;
    text-decoration: underline;
}

.contact-value {
    color: #333;
    font-weight: 500;
}

.address-actions {
    margin-top: 1.5rem;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6d25d1, #6d25d1);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 101, 197, 0.3);
}

.directions-btn:hover {
    background: #ff57c4;
    /* transform: translateY(-2px); */    
    transition: all 0.3s ease;

    box-shadow: 0 6px 20px rgba(239, 101, 197, 0.4);
    color: white;
    text-decoration: none;
}

/* Instagram Clone Styling */
.instagram-clone {
    background-color: #fafafa;
    padding: 0;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Contact Section Positioning Fix */
.cid-sKcOQrqASS.contacts1 {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    padding-top: 3rem;
}

/* Gallery Modal Styles */
.modal-gallery-image {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-content.bg-transparent {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
}

.btn-close-gallery {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1060;
    transition: all 0.3s ease;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.btn-close-gallery:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.carousel-nav-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-nav-icon:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.carousel-control-prev, .carousel-control-next {
    width: 80px;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicators .active {
    background-color: rgba(255, 255, 255, 1);
}

/* Instagram Profile Header */
.instagram-header-clone {
    background: white;
    border-bottom: 1px solid #dbdbdb;
    padding: 30px 0;
}

.instagram-profile-section {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 935px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-picture {
    flex-shrink: 0;
}

.profile-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background: white;
    padding: 8px;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.username {
    font-size: 28px;
    font-weight: 300;
    color: #262626;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.profile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.follow-btn, .message-btn {
    background: #0095f6;
    color: white;
    border: none;
    padding: 7px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.message-btn {
    background: transparent;
    color: #262626;
    border: 1px solid #dbdbdb;
}

.follow-btn:hover {
    background: #1877f2;
    color: white;
    text-decoration: none;
}

.message-btn:hover {
    background: #f5f5f5;
}

.more-options {
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
}

.more-options:hover {
    background: #f5f5f5;
}

.profile-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.stat-label {
    font-size: 16px;
    color: #262626;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.profile-bio {
    max-width: 350px;
}

.profile-name {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin: 0 0 8px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.bio-text {
    font-size: 14px;
    line-height: 18px;
    color: #262626;
    margin: 0 0 8px 0;
    white-space: pre-line;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.bio-link {
    color: #00376b;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.bio-link:hover {
    text-decoration: underline;
}

/* Instagram Navigation Tabs */
.instagram-nav-tabs {
    background: white;
    /* border-bottom: 1px solid #dbdbdb; */
    padding: 0;
}

.nav-tabs-wrapper {
    display: flex;
    justify-content: center;
    max-width: 935px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 24px;
    cursor: pointer;
    border-top: 1px solid transparent;
    color: #8e8e8e;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    transition: all 0.2s ease;
}

.nav-tab.active {
    color: #262626;
    border-top-color: #262626;
}

.nav-tab:hover {
    color: #262626;
}

.nav-tab svg {
    width: 12px;
    height: 12px;
}

/* Instagram Posts Grid */
.instagram-posts-grid {
    background: white;
    padding: 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    max-width: 935px;
    margin: 0 auto;
    padding: 0;
}

.instagram-post-item {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #f8f8f8;
    border-radius: 10px;
}

.instagram-post-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post-item:hover img {
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post-item:hover .post-overlay {
    opacity: 1;
}

.post-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-stat svg {
    width: 19px;
    height: 19px;
    fill: white;
}

/* Multiple Images Indicator */
.multi-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.multi-indicator svg {
    width: 12px;
    height: 12px;
    fill: white;
}

/* Video Indicator */
.video-indicator {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    padding: 2px 6px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .instagram-profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .profile-img-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .profile-img {
        width: 114px;
        height: 114px;
    }
    
    .username {
        font-size: 24px;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .profile-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .nav-tabs-wrapper {
        justify-content: space-around;
    }
    
    .nav-tab {
        padding: 16px 12px;
        font-size: 11px;
    }
    
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .profile-stats {
        gap: 20px;
    }
    
    .stat-number, .stat-label {
        font-size: 14px;
    }
    
    .nav-tab {
        padding: 12px 8px;
        font-size: 10px;
    }
    
    .nav-tab span {
        display: none;
    }
    
    .posts-grid {
        gap: 1px;
    }
}

.instagram-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.instagram-post img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.instagram-post-content {
    padding: 20px;
}

.instagram-post-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.instagram-post-date {
    color: #666;
    font-size: 12px;
    margin-top: 10px;
}

.instagram-loading {
    grid-column: 1 / -1;
    padding: 40px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .announcement-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .announcement-details {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .announcement-description {
        min-width: auto;
    }
    
    .location-section {
        padding: 2rem 0;
    }
    
    .address-card {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .announcement-wrapper {
        padding: 2rem 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .icon-sparkle {
        font-size: 3rem;
    }
    
    .announcement-details {
        gap: 1rem;
    }
    
    .date-highlight {
        padding: 0.8rem 1.2rem;
    }
    
    #header1-34 h1.mbr-section-title {
        font-size: 2rem;
    }
    
    #header1-34 h2.mbr-section-subtitle {
        font-size: 1.5rem;
    }
    
    #header1-34 p.mbr-text {
        font-size: 1rem;
    }
    
    #header1-34 .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .announcement-banner .banner-text {
        font-size: 1.2rem;
    }
    
    .address-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .address-content {
        text-align: center;
    }
    
    .address-icon {
        font-size: 2.5rem;
    }
    
    .address-title {
        font-size: 1.3rem;
    }
    
    .street {
        font-size: 1.2rem;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .instagram-post img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .instagram-post img {
        height: 250px;
    }
}
