@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --google-blue: #1a73e8;
    --google-blue-hover: #1765cc;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --border-color: #e8eaed;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --star-gold: #fbbc04;
    --shadow-premium: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.06);
    --transition-standard: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-senin {
    font-weight: 700;
}

.c-blue { color: #4285F4; }
.c-red { color: #EA4335; }
.c-yellow { color: #FBBC05; }
.c-green { color: #34A853; }

.logo-isletmen {
    color: #0f172a;
    font-weight: 500;
}

/* Mobile Responsiveness for Header */
@media (max-width: 768px) {
    .nav-header {
        padding: 0 12px;
        gap: 8px;
    }
    .logo-text {
        font-size: 16px;
    }
    .search-box {
        margin-left: 8px;
        padding: 0 12px;
        max-width: 150px;
    }
    .search-box input {
        font-size: 13px;
    }
    .search-box input::placeholder {
        color: transparent; /* Hide placeholder on mobile to save space */
    }
}
@media (max-width: 480px) {
    .search-box {
        margin-left: 4px;
        flex: 1;
        max-width: 120px;
        background: #f1f3f4;
        transition: max-width 0.3s ease;
    }
    .search-box:focus-within {
        max-width: 200px;
    }
    .search-box input {
        display: block;
        width: 100%;
        font-size: 13px;
    }
}

/* Header Search Results */
.header-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
    z-index: 2000;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.header-search-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid #f8f9fa;
    text-align: left;
}

.header-search-item:last-child { border-bottom: none; }
.header-search-item:hover { background: #f1f3f4; }
.header-search-item .result-icon { color: var(--google-blue); font-size: 20px; }
.header-search-item .result-info { display: flex; flex-direction: column; }
.header-search-item .result-name { font-weight: 600; color: var(--text-primary); font-size: 14px; }
.header-search-item .result-meta { font-size: 11px; color: var(--text-secondary); }

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none !important;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

/* Header */
.nav-header {
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(232, 234, 237, 0.5);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
}

.search-box {
    margin-left: 24px;
    height: 44px;
    flex: 1;
    max-width: 650px;
    background: #f1f3f4;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: var(--transition-standard);
    border: 1px solid transparent;
}

.search-box:focus-within {
    background: var(--bg-white);
    border-color: #dadce0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    margin-left: 12px;
    font-size: 15px;
    font-weight: 500;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 16px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0 40px;
    align-items: start;
    overflow-x: hidden;
}

/* Grid Assignments */
.hero-gallery {
    grid-column: 1;
    order: 1;
}

.business-header {
    grid-column: 1;
    order: 2;
    margin-top: 12px;
}

.action-buttons {
    grid-column: 1;
    order: 3;
    margin-top: 12px;
    display: flex;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.info-integration {
    grid-column: 2;
    grid-row: 1 / 10;
    order: 4;
    position: sticky;
    top: 0px;
}

.tabs-nav {
    grid-column: 1;
    order: 5;
    margin-top: 24px;
}

.sections-wrapper {
    grid-column: 1;
    order: 6;
}

/* Hero Gallery */
.hero-gallery-wrapper {
    grid-column: 1;
    order: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 360px;
    box-shadow: var(--shadow-card);
}

.hero-gallery {
    height: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}

.gallery-item {
    background-size: cover;
    background-position: center;
    background-color: #eee;
    transition: transform 0.3s ease;
    position: relative;
}

.delete-photo-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d93025;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: 0.2s;
    z-index: 10;
}

.delete-photo-btn:hover {
    background: #d93025;
    color: white;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.hero-main-img {
    grid-row: 1 / 3;
    background-image: url('https://images.unsplash.com/photo-1598440490656-f64f19999496?auto=format&fit=crop&q=80&w=800');
}

.hero-sub-img-1 {
    background-image: url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?auto=format&fit=crop&q=80&w=400');
}

.hero-sub-img-2 {
    background-image: url('https://images.unsplash.com/photo-1591343395902-1adcb454c2e4?auto=format&fit=crop&q=80&w=400');
}

.photo-count-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

/* Business Info */
.business-name {
    font-size: clamp(20px, 7vw, 32px); /* Responsive sizing: min 20px, dynamic 7vw, max 32px */
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.rating-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 4px;
    cursor: pointer;
}

.stars {
    color: var(--star-gold);
    display: flex;
}

.stars .material-symbols-outlined, .stars-mini .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.category-info {
    color: var(--text-secondary);
    font-size: 15px;
}


.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    cursor: pointer;
    color: var(--google-blue);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    will-change: transform, box-shadow;
}

.action-btn:hover {
    background: #f8fafc;
    border-color: #d2e3fc;
    box-shadow: 0 4px 12px rgba(26,115,232,0.08);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--google-blue), #2563eb);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(26,115,232,0.2);
}

.action-btn.primary:hover {
    box-shadow: 0 6px 16px rgba(26,115,232,0.3);
}

/* Sidebar Card */
.sidebar-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-standard);
}

.sidebar-card:hover {
    box-shadow: var(--shadow-hover);
}

.map-container {
    height: 200px;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.info-list {
    padding: 8px 16px;
}

.info-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f3f4;
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    color: var(--google-blue);
    font-size: 20px;
    flex-shrink: 0;
}

.info-content {
    font-size: 14px;
}

.status-badge {
    color: #1e8e3e;
    font-weight: 500;
}

.hours-detail {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.link {
    color: var(--google-blue);
    cursor: pointer;
}

/* Tabs */
.tabs-nav {
    display: flex;
    border-bottom: 1px solid rgba(232, 234, 237, 0.5);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 64px;
    z-index: 99;
    margin-bottom: 24px;
}

.tab-item {
    padding: 16px 24px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    font-size: 14px;
    transition: var(--transition-standard);
}

.tab-item.active {
    color: var(--google-blue);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--google-blue);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 8px rgba(26,115,232,0.4);
}

/* Sections */
.section {
    display: none;
    padding-bottom: 40px;
}

.section.active {
    display: block;
}

.section-text {
    color: var(--text-secondary);
    margin-top: 12px;
    max-width: 700px;
}

/* Services Pills */
.services-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.service-pill {
    padding: 10px 20px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-pill:hover {
    background: #f0f7ff;
    color: var(--google-blue);
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-standard);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.product-card:hover {
    border-color: #d2e3fc;
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-img {
    height: 140px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 12px;
}

.product-name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
}

.product-price {
    font-size: 13px;
    color: var(--google-blue);
    font-weight: 500;
}

.review-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}

.stars-mini {
    color: var(--star-gold);
    display: flex;
    margin-bottom: 8px;
}

.review-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

.user-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* Verified Badge */
.verified-badge {
    color: var(--google-blue);
    font-size: 20px;
    user-select: none;
}

/* Client Logos */
.client-logos {
    display: flex;
    gap: 32px;
    margin-top: 20px;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.7;
    filter: grayscale(1);
    transition: var(--transition-standard);
}
.client-logos:hover { opacity: 1; filter: grayscale(0); }
.client-logos img { height: 24px; max-width: 120px; object-fit: contain; }

/* FAQ Styles */
.faq-container { margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 16px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-size: 15px; }
.faq-answer { margin-top: 10px; font-size: 14px; color: var(--text-secondary); display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question .material-symbols-outlined:last-child { transform: rotate(180deg); }
.faq-question .material-symbols-outlined { transition: transform 0.3s ease; }

/* Mobile Optimization */
@media (max-width: 992px) {
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .nav-header {
        padding: 0 12px;
        gap: 8px;
    }

    .search-box {
        margin-left: 8px;
        padding: 0 10px;
    }

    .logo svg {
        width: 80px;
    }

    .main-container {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
        width: 100%;
        max-width: 100vw;
    }

    .hero-gallery-wrapper {
        padding: 0;
        border-radius: 0;
        height: 250px;
        margin-bottom: 16px;
        width: 100%;
    }

    .hero-gallery {
        display: flex;
        grid-template-columns: none;
        grid-template-rows: none;
        gap: 0;
        width: 100%;
        height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .hero-gallery::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        scroll-snap-align: start;
    }

    .business-header {
        order: 2;
        padding: 0 16px 0;
        max-width: 100%;
        overflow: hidden;
    }

    .action-buttons {
        order: 3;
        padding: 12px 16px 16px;
        overflow-x: auto;
        scrollbar-width: none;
        width: 100%;
        border-bottom: none;
    }

    .info-integration {
        order: 4;
        padding: 0;
        border-bottom: 8px solid #f1f3f4;
        margin-bottom: 0;
        width: 100%;
        overflow: hidden;
    }

    .tabs-nav {
        order: 5;
        margin-top: 16px;
        overflow-x: auto;
        scrollbar-width: none;
        border-top: 1px solid var(--border-color);
        padding: 0 8px;
        width: 100%;
    }

    .sections-wrapper {
        order: 6;
        padding: 0 16px 40px;
        width: 100%;
        overflow: hidden;
    }

    .sidebar-card {
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .tab-item {
        white-space: nowrap;
        padding: 14px 16px;
    }

    .photo-count-badge {
        display: flex;
    }
}

@media (min-width: 993px) {
    .photo-count-badge {
        display: none;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 48px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 8px;
    z-index: 2001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 36px;
        padding: 4px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }
}

/* Preloader Overlay */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.spinner svg {
    animation: rotate 2s linear infinite;
    height: 100%;
    transform-origin: center center;
    width: 100%;
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    margin: auto;
}

.spinner circle {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
    stroke-width: 4;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; }
    100% { stroke-dasharray: 89, 200; stroke-dashoffset: -124px; }
}

@keyframes color {
    100%, 0% { stroke: #1a73e8; }
    40% { stroke: #d93025; }
    66% { stroke: #fbbc04; }
    80% { stroke: #1e8e3e; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modals & Forms */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px rgba(0,0,0,0.2);
    padding: 24px;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.close-modal {
    cursor: pointer;
    color: var(--text-secondary);
    transition: 0.2s;
}

.close-modal:hover {
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: 0.2s;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--google-blue);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--google-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--google-blue-hover);
}

.btn-secondary {
    background: white;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #dadce0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
}

.category-option {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.category-option:hover {
    border-color: var(--google-blue);
    background: #f1f3f4;
}

.category-option.selected {
    background: #e8f0fe;
    border-color: var(--google-blue);
    color: var(--google-blue);
    font-weight: 600;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.8);
    background: #202124;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tooltip:hover::after {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
}

/* Tooltip Arrow */
.tooltip::before {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.8);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #202124 transparent transparent transparent;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
}

.tooltip:hover::before {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
}

@media (max-width: 768px) {
    .tooltip:active::after, .tooltip:active::before {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }
}