/* ===== ROOT VARIABLES ===== */
:root {
    --primary-pink: #e17772;
    --primary-light: #FFE5EC;
    --primary-gradient: linear-gradient(135deg, #D4417E 0%, #e17772 100%);
    --dark-text: #2C2C2C;
    --gray-text: #6B6B6B;
    --white: #FFFFFF;
    --light-bg: #F9F9F9;
    --shadow: 0 4px 20px rgba(212, 65, 126, 0.1);
    --shadow-hover: 0 8px 30px rgba(212, 65, 126, 0.2);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

.text-ar {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    color: var(--primary-pink);
    font-size: 0.9em;
    display: inline-block;
    margin-left: 8px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

section {
    scroll-margin-top: 80px;
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-pink) !important;
    font-weight: 700;
}

.navbar-brand i {
    font-size: 1.8rem;
}
.navbar-brand .logo {
    height: 50px;
    margin-right: 10px;
}
.nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-pink) !important;
}

.btn-cta {
    background: var(--primary-gradient);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 65, 126, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
}

.hero-subtitle-ar {
    font-family: 'Cairo', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-pink);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-text);
    font-weight: 400;
}

.btn-store {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-store:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    border-radius: 30px;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

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

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-card {
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-pink);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-pink);
    margin-top: 1rem;
}

/* ===== SALON CARDS ===== */
.salon-card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.salon-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.salon-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.rating {
    font-size: 0.9rem;
}

/* ===== GRADIENT BACKGROUND ===== */
.bg-gradient {
    background: var(--primary-gradient);
}

/* ===== FEATURE BOXES ===== */
.feature-box {
    padding: 2rem;
    background: #a73665;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    transition-duration: 0.7s!important;

}

.feature-box:hover {
    background: #e17772;
    transform: scale(1.1) rotate(2deg)!important;
    transition: 0.5s!important;
}

.feature-box-icon {
    font-size: 3rem;
    color: var(--white);
}

.feature-box h5 {
    color: var(--white);
    font-weight: 600;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* ===== HOW IT WORKS ===== */
.step-card {
    padding: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-pink);
    margin-top: 3rem;
}

/* ===== CONTACT SECTION ===== */
.contact-form .form-control,
.contact-form .form-label {
    border-radius: 10px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 0.2rem rgba(212, 65, 126, 0.25);
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-pink);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-text);
    color: rgba(255, 255, 255, 0.8);
}

.footer h5, .footer h6 {
    color: var(--white);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.scroll-top-btn.show {
    display: flex;
}

/* ===== MODAL CUSTOMIZATION ===== */
.modal-content {
    border-radius: 20px;
    border: none;
}

.modal-header {
    background: var(--primary-gradient);
    color: var(--white);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===== BADGES ===== */
.badge {
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
}

.bg-primary {
    background: var(--primary-gradient) !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-item {
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .btn-cta {
        margin-top: 1rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle-ar {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== SMOOTH ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

/* ===== UTILITY CLASSES ===== */
.bg-light {
    background-color: var(--light-bg) !important;
}