/* Custom Styles for Bare Skin Studio */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #a11d3f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #841c38;
}

/* Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

.reveal[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Geometric Decorations */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Card Hover Effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Image Hover Zoom */
.gallery-image {
    transition: transform 0.5s ease;
}

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

/* Pulse Animation for Decorative Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

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

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #a11d3f, #e49a66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .nav-link {
    color: #1f2937 !important;
}

.nav-scrolled .nav-link:hover {
    color: #a11d3f !important;
}

/* Mobile Menu Animation */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(228, 154, 102, 0.3);
}

/* Custom Selection Color */
::selection {
    background: #fce7eb;
    color: #6e1a33;
}

/* Reduce 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;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid currentColor;
    }
    
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Print Styles */
@media print {
    nav,
    .mobile-menu,
    #contactForm,
    .geometric-shape {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    .hero-section {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }
}

/* Tablet and Desktop Optimization */
@media (min-width: 768px) {
    .reveal {
        transition-delay: 0.1s;
    }
    
    .reveal:nth-child(2) {
        transition-delay: 0.2s;
    }
    
    .reveal:nth-child(3) {
        transition-delay: 0.3s;
    }
}

/* Large Screen Optimization */
@media (min-width: 1024px) {
    .hero-section {
        min-height: 100vh;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .service-card:hover {
        transform: none;
    }
    
    .gallery-image:hover {
        transform: none;
    }
}
