/* Custom styles for Skin Haven */

/* Smooth scroll padding for fixed header */
section {
    scroll-margin-top: 80px;
}

/* Geometric decorative elements */
.geometric-square {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #b82445, #f5506d);
    border-radius: 12px;
    opacity: 0.08;
    transform: rotate(45deg);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #7B1E3A, #f5506d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(123, 30, 58, 0.08);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Image hover zoom */
.gallery-img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Custom selection color */
::selection {
    background-color: #f9cdd7;
    color: #7B1E3A;
}

/* Focus visible styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #b82445;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    header,
    #back-to-top,
    .geometric-blob {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
