/* Custom styles for Gentry Beauty */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #A04030;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

/* Apply float animation to decorative elements */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

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

/* Reduced motion preference */
@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;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

/* Card hover effects */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Ensure proper contrast for all text */
.text-charcoal {
    color: #2C2C2C;
}

.text-charcoal\\/70 {
    color: rgba(44, 44, 44, 0.7);
}

.text-charcoal\\/80 {
    color: rgba(44, 44, 44, 0.8);
}

.text-sand-light {
    color: #F5E6D3;
}

.text-sand\\/80 {
    color: rgba(245, 230, 211, 0.8);
}

.text-sand\\/70 {
    color: rgba(245, 230, 211, 0.7);
}

.text-sand\\/50 {
    color: rgba(245, 230, 211, 0.5);
}

/* Background colors */
.bg-sand-light {
    background-color: #F5E6D3;
}

.bg-terracotta {
    background-color: #C05640;
}

.bg-terracotta\\/10 {
    background-color: rgba(192, 86, 64, 0.1);
}

.bg-terracotta\\/20 {
    background-color: rgba(192, 86, 64, 0.2);
}

.bg-sand {
    background-color: #E8D5C4;
}

.bg-sand-dark {
    background-color: #D4C0AD;
}

.bg-sand\\/95 {
    background-color: rgba(232, 213, 196, 0.95);
}

/* Border colors */
.border-terracotta {
    border-color: #C05640;
}

.border-sand-dark {
    border-color: #D4C0AD;
}

.border-charcoal {
    border-color: #2C2C2C;
}

/* Hover states */
.hover\\:bg-terracotta-dark:hover {
    background-color: #A04030;
}

.hover\\:bg-charcoal:hover {
    background-color: #2C2C2C;
}

.hover\\:text-terracotta:hover {
    color: #C05640;
}

.hover\\:text-sand-light:hover {
    color: #F5E6D3;
}

/* Shadow utilities */
.shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.shadow-2xl {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
}
