/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #ffffff;
    color: #111827; /* gray-900 */
}

/* Override any serif classes to use Inter */
.serif {
    font-family: 'Inter', sans-serif !important;
    font-style: normal !important;
}

/* Custom Colors */
.text-gold-accent {
    color: #d4af37;
}

.bg-gold-accent {
    background-color: #d4af37;
}

.decoration-gold-accent {
    text-decoration-color: #d4af37;
}

.shadow-gold-accent\/30 {
    box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.3);
}

.bg-gold-accent\/10 {
    background-color: rgba(212, 175, 55, 0.1);
}

.bg-gold-accent\/20 {
    background-color: rgba(212, 175, 55, 0.2);
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #fdfbfb 0%, #f3f4f6 100%);
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Hover Effects */
.card-hover:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Image Overlay */
.image-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* Mobile Menu Overrides */
#mobile-menu {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

#mobile-menu > div {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

.viber-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
}

.viber-widget__button {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: #7360F2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(115, 96, 242, 0.35);
}

.viber-widget__button:hover {
    background: #5E4DE8;
}

.viber-widget__button:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.6);
    outline-offset: 4px;
}

.viber-widget__icon {
    width: 26px;
    height: 26px;
    display: block;
}

.viber-widget__pulse {
    position: absolute;
    inset: -10px;
    border-radius: 9999px;
    background: rgba(115, 96, 242, 0.35);
    animation: viberPulse 1.8s ease-out infinite;
    pointer-events: none;
    z-index: -1;
}

.viber-widget__tooltip {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: 240px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.98);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.viber-widget__tooltip::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: rgba(17, 24, 39, 0.98);
    transform: rotate(45deg);
    border-radius: 2px;
}

.viber-widget__tooltip-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 22px;
    line-height: 28px;
    cursor: pointer;
}

.viber-widget__tooltip-close:hover {
    color: #ffffff;
}

.viber-widget__tooltip-text {
    font-size: 12px;
    line-height: 1.35;
    padding-right: 22px;
}

.viber-widget--tooltip-visible .viber-widget__tooltip {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@keyframes viberPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .viber-widget {
        right: 16px;
        bottom: 16px;
    }

    .viber-widget__tooltip {
        width: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .viber-widget__pulse {
        animation: none;
    }

    .viber-widget__tooltip {
        transition: none;
    }
}
