/* Custom styles and overrides */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F5;
}
::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c4202b;
}

/* Selection color */
::selection {
    background: #c4202b;
    color: white;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #c4202b;
    outline-offset: 2px;
}

/* Mobile menu active state */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Hamburger animation */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.menu-open .menu-line:nth-child(3) {
    width: 24px;
}

/* Navbar scrolled state */
.nav-scrolled {
    background: rgba(253, 248, 245, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Geometric shape styles */
.geo-shape {
    will-change: transform;
}

/* Card hover lift */
.card-hover {
    will-change: transform;
}

/* Service card gradient border on hover */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Print styles */
@media print {
    nav, #contact, .geo-shape, .float-slow, .float-medium, .float-fast, .float-slow-reverse, .float-medium-reverse {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
