/* =============================================
   BELLA STUDIO - Beauty Salon Stylesheet
   Feminen, Elegant, Modern Design
   ============================================= */

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

/* === Overflow & Responsive Protection === */
body {
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

*, *::before, *::after {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

pre, code {
    white-space: pre-wrap;
    word-break: break-word;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f8;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #e11d48, #fda4af);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e11d48;
}

/* Selection Color */
::selection {
    background: #fda4af;
    color: #fff;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(225, 29, 72, 0.3); }
    50% { box-shadow: 0 0 25px rgba(225, 29, 72, 0.6); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

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

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

.animate-slide-down {
    animation: slideDown 0.5s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* ===== HERO SECTION ===== */
.hero-gradient {
    background: linear-gradient(135deg, #fdf2f8 0%, #ffe4e6 30%, #fecdd3 60%, #fda4af 100%);
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(253, 242, 248, 0.9) 0%, rgba(255, 228, 230, 0.7) 50%, rgba(253, 164, 175, 0.5) 100%);
}

/* ===== CARDS ===== */
.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.15);
}

.team-card {
    transition: all 0.4s ease;
}
.team-card:hover {
    transform: translateY(-5px);
}
.team-card:hover .team-overlay {
    opacity: 1;
}

/* ===== GALLERY ===== */
.gallery-item {
    transition: all 0.4s ease;
    overflow: hidden;
}
.gallery-item:hover {
    transform: scale(1.02);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover img,
.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
}
.gallery-placeholder {
    transition: transform 0.4s ease;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #e11d48, #f43f5e);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #be123c, #e11d48);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, #d4a853, #e8c97a);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #b8923f, #d4a853);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 168, 83, 0.3);
}

/* ===== DECORATIVE ===== */
.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #e11d48, #d4a853);
    margin: 0 auto;
    border-radius: 2px;
}

.gold-accent {
    color: #d4a853;
}

.shimmer-bg {
    background: linear-gradient(90deg, transparent 0%, rgba(212, 168, 83, 0.1) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* ===== FORM STYLING ===== */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid #fecdd3;
}
.form-input:focus {
    border-color: #e11d48;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
    outline: none;
}

/* ===== PRICE TABLE ===== */
.price-row {
    transition: all 0.3s ease;
}
.price-row:hover {
    background-color: #fdf2f8;
    padding-left: 8px;
}

/* ===== TESTIMONIAL ===== */
.testimonial-card {
    transition: all 0.3s ease;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: #fda4af;
    position: absolute;
    top: -10px;
    left: 15px;
    line-height: 1;
    opacity: 0.5;
}

/* ===== FILTER BUTTONS ===== */
.filter-btn {
    transition: all 0.3s ease;
}
.filter-btn.active,
.filter-btn:hover {
    background-color: #e11d48;
    color: #fff;
    transform: scale(1.05);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #fdf2f8 0%, #ffe4e6 50%, #fecdd3 100%);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* ===== MISC ===== */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
