/* =============================================
   FRONTEND STYLESHEET - Saj Beauty Shop
   Professional, Elegant, Responsive
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --pink-primary: #d63384;
    --pink-dark: #a61b6b;
    --pink-light: #fce4ec;
    --gold: #d4af37;
    --gold-light: #fbf5e3;
    --text-dark: #1a1a2e;
    --text-muted: #6b7280;
    --bg-light: #faf8f5;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 60px rgba(214, 51, 132, 0.12);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ---------- HEADER / NAVBAR ---------- */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(214, 51, 132, 0.08);
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--pink-primary);
}

.logo i {
    color: var(--gold);
    margin-right: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink-primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--pink-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .btn-login {
    background: var(--pink-primary);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.nav-links .btn-login:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 51, 132, 0.25);
}

.nav-links .btn-login::after {
    display: none;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark);
}

/* ---------- HERO SECTION ---------- */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #fdf2f8 0%, #fff5f5 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '✦';
    font-size: 300px;
    color: rgba(214, 51, 132, 0.04);
    position: absolute;
    top: -100px;
    right: -50px;
    transform: rotate(15deg);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--pink-primary);
    position: relative;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gold);
    opacity: 0.3;
    border-radius: 10px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 35px;
}

.btn-primary {
    display: inline-block;
    background: var(--pink-primary);
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--pink-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(214, 51, 132, 0.3);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--text-dark);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    transition: var(--transition);
    margin-left: 12px;
}

.btn-outline:hover {
    border-color: var(--pink-primary);
    color: var(--pink-primary);
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .placeholder-icon {
    font-size: 200px;
    color: var(--pink-primary);
    opacity: 0.15;
    background: rgba(214, 51, 132, 0.04);
    padding: 40px;
    border-radius: 50%;
    border: 2px dashed rgba(214, 51, 132, 0.15);
}

/* ---------- SECTION TITLES ---------- */
.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-title h2 span {
    color: var(--pink-primary);
}

.section-title p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 10px auto 0;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 10px;
}

/* ---------- SERVICES GRID (Homepage) ---------- */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--pink-primary);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(214, 51, 132, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
}

.service-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card .category-badge {
    display: inline-block;
    background: var(--pink-light);
    color: var(--pink-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.service-card .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--pink-primary);
    margin-top: 12px;
}

.service-card .price small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.view-all-btn {
    text-align: center;
    margin-top: 50px;
}

/* ---------- ABOUT / WHY US ---------- */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin-bottom: 20px;
}

.about-content h3 span {
    color: var(--pink-primary);
}

.about-content ul {
    list-style: none;
    margin-top: 20px;
}

.about-content ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.about-content ul li i {
    color: var(--gold);
    font-size: 20px;
    width: 28px;
}

.about-image .placeholder-box {
    background: var(--pink-light);
    height: 400px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--pink-primary);
    opacity: 0.6;
    border: 2px dashed rgba(214, 51, 132, 0.15);
}

/* ---------- FOOTER ---------- */
footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

footer h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 18px;
}

footer .brand-footer {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
}

footer .brand-footer span {
    color: var(--pink-primary);
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li i {
    margin-right: 10px;
    color: var(--gold);
    width: 20px;
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--gold);
}

footer .copyright {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 25px;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image .placeholder-icon {
        font-size: 120px;
        padding: 30px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    footer .container {
        grid-template-columns: 1fr 1fr;
    }
    .hero-content h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        gap: 18px;
        background: #fff;
        border-top: 1px solid #eee;
        margin-top: 15px;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        font-size: 16px;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section-title h2 {
        font-size: 28px;
    }
    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 30px;
    }
}