/* Custom styles for Skin Studio by Katie */

/* Ensure smooth scrolling with offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom selection color */
::selection {
    background-color: #6ee7b7;
    color: #0a1829;
}

/* Subtle pattern overlay for sections */
.bg-pattern {
    background-image: radial-gradient(circle, rgba(110, 231, 183, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Gradient border effect */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 1.5rem;
}
.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.4), rgba(15, 36, 62, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Animated gradient for accent elements */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animated-gradient {
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Pulse ring for CTA buttons */
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(110, 231, 183, 0); }
    100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}

.pulse-ring {
    animation: pulseRing 2s ease-out infinite;
}

/* Image placeholder shimmer */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    #hero h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm, .reveal {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
