/*
Theme Name: Astra Child - ZenzHair
Theme URI: https://zenzhair.com/
Description: Custom child theme for ZenzHair - Stylist Roby with mobile-first design
Author: ZenzHair
Template: astra
Version: 1.0.0
*/

/* ===================================
   ZENZHAIR COLOR PALETTE
   Based on logo gradient
   =================================== */
:root {
    --zh-purple: #4a2c6b;
    --zh-teal: #3d9db5;
    --zh-green: #8dc63f;
    --zh-yellow: #ffd700;
    --zh-orange: #ff8c42;
    --zh-red: #e94b3c;
    --zh-gradient: linear-gradient(90deg, #4a2c6b 0%, #3d9db5 20%, #8dc63f 40%, #ffd700 60%, #ff8c42 80%, #e94b3c 100%);
    --zh-text-dark: #333333;
    --zh-text-light: #ffffff;
}

/* ===================================
   MOBILE-FIRST GLOBAL STYLES
   =================================== */
body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    color: var(--zh-text-dark);
    line-height: 1.6;
}

/* Smooth scrolling for one-page navigation */
html {
    scroll-behavior: smooth;
}

/* Container adjustments for mobile */
.site-content {
    padding: 0;
}

/* ===================================
   HERO SECTION - MOBILE FIRST
   =================================== */
.zh-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--zh-gradient);
    position: relative;
}

.zh-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
}

.zh-hero-content {
    position: relative;
    z-index: 2;
}

.zh-logo {
    max-width: 280px;
    width: 90%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.zh-hero h1 {
    font-size: 2rem;
    color: var(--zh-text-light);
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.zh-hero p {
    font-size: 1.1rem;
    color: var(--zh-text-light);
    margin-bottom: 30px;
}

.zh-btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: var(--zh-purple);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.zh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Desktop hero adjustments */
@media (min-width: 768px) {
    .zh-hero h1 {
        font-size: 3rem;
    }
    .zh-logo {
        max-width: 400px;
    }
}

/* ===================================
   SECTION STYLES - MOBILE FIRST
   =================================== */
.zh-section {
    padding: 40px 20px;
}

.zh-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.zh-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--zh-gradient);
}

/* Desktop section adjustments */
@media (min-width: 768px) {
    .zh-section {
        padding: 80px 40px;
    }
    .zh-section h2 {
        font-size: 2.5rem;
    }
}

/* ===================================
   BLOG CAROUSEL - MOBILE OPTIMIZED
   =================================== */
.zh-blog-section {
    background: #f8f9fa;
    padding: 40px 0;
    overflow: hidden;
}

.zh-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh-blog-header {
    text-align: center;
    margin-bottom: 30px;
}

.zh-carousel-wrapper {
    position: relative;
    padding: 0 40px;
}

.zh-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.zh-carousel::-webkit-scrollbar {
    display: none;
}

.zh-blog-card {
    flex: 0 0 85%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zh-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.zh-blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--zh-gradient);
}

.zh-blog-content {
    padding: 20px;
}

.zh-blog-title {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: var(--zh-purple);
    line-height: 1.4;
}

.zh-blog-title a {
    color: var(--zh-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh-blog-title a:hover {
    color: var(--zh-orange);
}

.zh-blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.zh-blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 15px;
}

.zh-read-more {
    display: inline-block;
    color: var(--zh-teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.zh-read-more:hover {
    color: var(--zh-orange);
}

/* Carousel Navigation Buttons */
.zh-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.zh-carousel-nav:hover {
    background: var(--zh-purple);
    color: white;
}

.zh-carousel-nav.prev {
    left: 0;
}

.zh-carousel-nav.next {
    right: 0;
}

.zh-carousel-nav svg {
    width: 20px;
    height: 20px;
}

/* Tablet - 2 cards visible */
@media (min-width: 768px) {
    .zh-blog-card {
        flex: 0 0 calc(50% - 10px);
    }
    .zh-blog-image {
        height: 220px;
    }
}

/* Desktop - 3 cards visible */
@media (min-width: 1024px) {
    .zh-blog-card {
        flex: 0 0 calc(33.333% - 14px);
    }
    .zh-blog-image {
        height: 240px;
    }
    .zh-blog-section {
        padding: 80px 0;
    }
}

/* ===================================
   SERVICES/ABOUT SECTION
   =================================== */
.zh-services {
    background: white;
}

.zh-service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.zh-service-card {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid var(--zh-teal);
    transition: all 0.3s ease;
}

.zh-service-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .zh-service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .zh-service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */
.zh-contact {
    background: var(--zh-gradient);
    color: white;
}

.zh-contact h2,
.zh-contact h2::after {
    color: white;
    background: white;
}

.zh-contact-form {
    max-width: 600px;
    margin: 30px auto 0;
}

.zh-form-group {
    margin-bottom: 20px;
}

.zh-form-group input,
.zh-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.zh-form-group input:focus,
.zh-form-group textarea:focus {
    outline: none;
    border-color: white;
    background: white;
}

.zh-submit-btn {
    background: white;
    color: var(--zh-purple);
    padding: 12px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zh-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.zh-gradient-text {
    background: var(--zh-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.zh-text-center {
    text-align: center;
}

/* Mobile menu adjustments */
@media (max-width: 767px) {
    .main-header-bar {
        padding: 10px 20px;
    }
}
