/* ========================================
   FIZIORENT – Custom Styles
   (Tailwind CSS handles most styling via CDN)
   ======================================== */

/* --- Header states --- */
.header-logo-text {
    color: #1e293b;
    transition: color 0.3s ease;
}

#header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

#header.at-top {
    background: transparent;
    border-bottom-color: transparent;
}

#header.at-top .header-logo-text {
    color: #ffffff;
}

#header.at-top .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

#header.at-top .nav-link:hover {
    color: #ffffff;
}

#header.at-top .hamburger-lines span {
    background: #ffffff;
}

.nav-link {
    color: #64748b;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1a6fa0;
}

/* --- Hamburger --- */
.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hamburger-lines span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-active .hamburger-lines span:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}

.hamburger-active .hamburger-lines span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-active .hamburger-lines span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* --- Mobile menu --- */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    max-height: 500px;
}

/* --- Blob shapes for equipment images --- */
.blob-shape {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: blob-morph 8s ease-in-out infinite;
}

.blob-shape-2 {
    border-radius: 58% 42% 30% 70% / 55% 45% 55% 45%;
    animation-delay: -2s;
}

.blob-shape-3 {
    border-radius: 30% 70% 58% 42% / 45% 55% 45% 55%;
    animation-delay: -4s;
}

.blob-shape-4 {
    border-radius: 70% 30% 42% 58% / 55% 45% 55% 45%;
    animation-delay: -6s;
}

.blob-shape-5 {
    border-radius: 45% 55% 60% 40% / 40% 60% 40% 60%;
    animation-delay: -3s;
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
    25% {
        border-radius: 58% 42% 30% 70% / 55% 45% 55% 45%;
    }
    50% {
        border-radius: 30% 70% 58% 42% / 45% 55% 45% 55%;
    }
    75% {
        border-radius: 70% 30% 42% 58% / 55% 45% 55% 45%;
    }
}

@media (max-width: 768px) {
    .blob-shape {
        width: 260px;
        height: 260px;
    }
}

/* --- FAQ --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --- Floating buttons --- */
.floating-buttons {
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.floating-buttons.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* --- Smooth scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- No italic anywhere --- */
em, i:not([data-lucide]) {
    font-style: normal;
}

/* --- Selection color --- */
::selection {
    background: rgba(26, 111, 160, 0.2);
    color: inherit;
}

/* --- AOS override: prevent initial blink --- */
[data-aos] {
    pointer-events: auto !important;
}

/* Ensure images don't stretch */
img {
    max-width: 100%;
    height: auto;
}

/* --- Scrollbar styling --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
