@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* --- 1. CSS VARIABLES --- */
:root {
    --primary-dark: #222222; /* Darker Black for text visibility */
    --blonde-gold: #D4AF37; /* Rich Gold */
    
    /* Noticeable Warm Cream Background */
    --accent-light: #FDF6E4; 
    
    --card-bg: #FFFFFF; /* Pure white for cards */
    --text-color: #333333;
    
    /* Button & Accent Gradient (Solid Gold/Bronze look) */
    --btn-gradient: linear-gradient(135deg, #D4AF37, #B8860B);
    --btn-gradient-hover: linear-gradient(135deg, #B8860B, #D4AF37);
}

/* --- 2. GLOBAL RESET --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-padding-top: 20px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    background-color: var(--accent-light);
    color: var(--text-color);
    overflow-x: hidden;
}

/* --- 3. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    margin-bottom: 0.5em;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ACCESSIBILITY: Visible focus ring for keyboard navigation */
a:focus, .btn:focus {
    outline: 3px solid var(--blonde-gold);
    outline-offset: 3px;
    border-radius: 5px;
}

/* ANIMATED LINKS (Dark Text) */
a.fancy-a {
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}
a.fancy-a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--blonde-gold);
    transition: width 0.3s ease;
}
a.fancy-a:hover::after { width: 100%; }
a.fancy-a:hover { color: var(--blonde-gold); }

/* ANIMATED LINKS (Light Text for Footer) */
a.fancy-a-light {
    font-weight: 600;
    position: relative;
    color: #fff;
    padding-bottom: 2px;
}
a.fancy-a-light::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--blonde-gold);
    transition: width 0.3s ease;
}
a.fancy-a-light:hover::after { color: var(--blonde-gold); }
a.fancy-a-light:hover::after { width: 100%; }


/* --- 4. HEADER --- */
header.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    
    position: relative; 
    width: 100%;
}

.logo-img {
    max-width: 300px; 
    width: 80%; 
    margin-bottom: 1rem; 
    border-radius: 8px;
}

.nav-list {
    display: flex;
    flex-direction: row;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

/* --- 5. HERO & SECTIONS --- */
.section { 
    padding: 60px 20px; 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto; 
}

.section.center { 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-pad {
    padding-top: 40px;
}

.hero-text {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.text-block {
    max-width: 800px; 
    margin: 0 auto;
}

/* --- 6. HAIR CARDS (Grid System) --- */
.hair-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding: 10px;
}

.hair-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    flex: 0 1 300px; 
    min-width: 280px;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hair-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
}

.hair-card img { 
    width: 100%; 
    height: 320px; 
    object-fit: cover; 
    border-bottom: 4px solid var(--blonde-gold);
    cursor: zoom-in; 
}

.card-content {
    padding: 20px;
}

.hair-card h3 { 
    margin-bottom: 5px;
    color: var(--blonde-gold); 
    font-size: 1.4rem; 
}

/* Review specific card styling */
.review-card {
    padding: 30px;
    justify-content: center;
    border: 2px solid var(--blonde-gold);
    background-color: #fff;
}

.stars {
    color: var(--blonde-gold);
    font-size: 1.2rem;
    margin-top: 10px;
    display: block;
}

/* --- 7. ACCENT BLOCKS / CONTACT --- */
.leopard-accent {
    background: var(--btn-gradient); 
    color: white;
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin: 30px auto;
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
}

.leopard-accent h3, 
.leopard-accent p, 
.leopard-accent span,
.leopard-accent div,
.leopard-accent h2 {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.service-list span {
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.4);
}

/* Contact Links inside the Gold Block */
a.contact-link {
    color: white; /* Ensure text remains white */
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}
a.contact-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #fff; /* White underline for contrast */
    transition: width 0.3s ease;
}
a.contact-link:hover::after { width: 100%; }
a.contact-link:hover { color: var(--blonde-gold); }


/* --- 8. BUTTONS --- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: var(--btn-gradient);
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.6); 
    background: var(--btn-gradient-hover);
    color: #fff;
}

/* --- 9. FOOTER --- */
footer.footer { 
    background: #1a1a1a; 
    color: #ffffff; 
    padding: 50px 20px; 
    text-align: center; 
    border-top: 5px solid var(--blonde-gold); 
}

.credits {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    opacity: 0.9;
}

.credit-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* --- 10. UTILITIES & ANIMATIONS --- */
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* JS CLASSES */
.hidden { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.visible { opacity: 1; transform: translateY(0); }

/* LIGHTBOX */
#lightbox {
    position: fixed;
    z-index: 9999;
    top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}
#lightbox.active { display: flex; animation: fadeIn 0.3s; }
#lightbox img {
    max-width: 90%; max-height: 90%;
    border: 4px solid white;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- 11. MEDIA QUERIES --- */
@media (max-width: 768px) {
    header h1{ font-size: 2.5rem; }
    .nav-list { gap: 15px; font-size: 0.9rem; }
    .hero-text { padding: 20px; }
    .leopard-accent { padding: 30px 15px; }
    .service-list span { font-size: 0.95rem; }
    .hair-card { flex: 1 1 100%; max-width: 400px; }
}