/* ============================================
   Jolieden's Beauty Bar — Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-height: 100vh;
}

/* --- Background Decorative Shapes --- */
.bg-shapes {
    z-index: 0;
}

.shape-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.shape-circle--1 {
    width: 600px;
    height: 600px;
    background: #FF6B6B;
    top: -200px;
    right: -100px;
}

.shape-circle--2 {
    width: 400px;
    height: 400px;
    background: #FF6B6B;
    bottom: 20%;
    left: -100px;
}

.shape-circle--3 {
    width: 200px;
    height: 200px;
    background: #FF6B6B;
    bottom: 10%;
    right: 10%;
    opacity: 0.05;
}

.shape-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 104px 60px;
    border-color: transparent transparent #FF6B6B transparent;
    opacity: 0.03;
    transform: rotate(15deg);
}

.shape-triangle--1 {
    top: 30%;
    right: 5%;
}

.shape-rect {
    position: absolute;
    width: 120px;
    height: 120px;
    background: #FF6B6B;
    opacity: 0.02;
    border-radius: 20px;
    transform: rotate(45deg);
}

.shape-rect--1 {
    top: 60%;
    left: 8%;
}

.shape-ring {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid #FF6B6B;
    border-radius: 50%;
    opacity: 0.04;
}

.shape-ring--1 {
    top: 15%;
    left: 15%;
}

/* --- Hero Gradient --- */
.hero__gradient {
    background: linear-gradient(135deg, 
        #0A0A10 0%, 
        #1A1A2E 25%, 
        #2D1F2F 50%, 
        #1A1A2E 75%, 
        #0A0A10 100%
    );
}

/* --- Hero Geometric Shapes --- */
.hero-shape {
    position: absolute;
    opacity: 0.15;
}

.hero-shape--circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, #FF6B6B 0%, transparent 70%);
    top: -150px;
    right: -100px;
    opacity: 0.2;
}

.hero-shape--circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, #FF8579 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    opacity: 0.15;
}

.hero-shape--rect-1 {
    width: 120px;
    height: 120px;
    background: #FF6B6B;
    top: 25%;
    left: 8%;
    opacity: 0.08;
    transform: rotate(30deg);
    border-radius: 16px;
}

.hero-shape--rect-2 {
    width: 80px;
    height: 80px;
    background: #FF6B6B;
    bottom: 20%;
    right: 12%;
    opacity: 0.06;
    transform: rotate(60deg);
    border-radius: 12px;
}

.hero-shape--triangle-1 {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 87px 50px;
    border-color: transparent transparent #FF6B6B transparent;
    top: 35%;
    right: 15%;
    opacity: 0.1;
    transform: rotate(-10deg);
}

.hero-shape--dot-grid {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #FF6B6B 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 20%;
    left: 15%;
    opacity: 0.2;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 107, 107, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Navbar --- */
.nav {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav__inner {
    transition: padding 0.3s ease;
}

.nav__menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.nav__menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* --- Section Headers --- */
.section-label {
    display: inline-flex;
    align-items: center;
}

.section-title {
    color: white;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* --- Service Cards --- */
.service-card {
    position: relative;
}

.service-card__accent {
    transition: opacity 0.5s ease;
}

.service-card:hover .service-card__accent {
    opacity: 1;
}

/* --- About Section --- */
.about__floating-card {
    animation: float 4s ease-in-out infinite;
}

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

/* --- Gallery --- */
.gallery__item {
    position: relative;
    cursor: pointer;
}

.gallery__item-overlay {
    transition: opacity 0.5s ease;
}

/* --- Testimonials --- */
.testimonials__bg {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 107, 0.03) 50%, transparent 100%);
}

.testimonial-card {
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* --- CTA Section --- */
.cta-section__bg {
    background: linear-gradient(135deg, 
        #1A1A2E 0%, 
        #2D1F2F 50%, 
        #1A1A2E 100%
    );
    position: relative;
    overflow: hidden;
}

.cta-section__bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-section__bg::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 133, 121, 0.08) 0%, transparent 70%);
    top: 20%;
    right: 10%;
}

/* --- Contact Form --- */
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-submit {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-1px);
}

/* --- Footer --- */
.footer__logo-mark {
    transition: transform 0.3s ease;
}

.footer__logo:hover .footer__logo-mark {
    transform: scale(1.1);
}

.footer__social-link {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer__social-link:hover {
    transform: translateY(-2px);
}

.footer__link {
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer__link:hover {
    padding-left: 4px;
}

/* --- Mobile Menu --- */
.nav__mobile {
    animation: slideDown 0.3s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero__headline {
        font-size: 2.75rem;
    }
    
    .hero__headline br {
        display: none;
    }
    
    .hero__headline::after {
        content: 'Beautiful';
        display: block;
    }
    
    .about__floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .about__deco-circle,
    .about__deco-dots {
        display: none;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery__item.row-span-2 {
        grid-row: span 1;
    }
}

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