﻿/* =============================================================================
   CUSTOM STYLES - MOBILE FIRST APPROACH
   Premium Barbershop - Refonte 2025
   ============================================================================= */

/* =============================================================================
   COMPONENT OVERRIDES & CUSTOMIZATIONS
   ============================================================================= */

/* Global Overrides */
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: var(--lh-normal);
}

/* Links */
a, a:hover, a:active, a:focus {
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Various Content Styling */
.various-content h2 {
    color: var(--secondary-color);
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-lg);
    position: relative;
    text-align: center;
}

.various-content h2:before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: var(--radius-sm);
}

.various-content h3,
.various-content h4,
.various-content h5,
.various-content h6 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.various-content ul > li {
    position: relative;
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
}

.various-content ul > li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.various-content ul > li > ul > li:before {
    background-color: var(--border-color);
}

.various-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-lg);
}

.various-content table th {
    color: var(--primary-color);
    font-weight: 600;
    padding: var(--space-md);
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.various-content table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.various-content table tbody tr:nth-child(odd) td {
    background-color: var(--bg-light);
}

.heading-2 {
    color: var(--primary-color);
    font-size: var(--fs-xl);
    font-weight: 600;
}

/* =============================================================================
   BARBERSHOP SPECIFIC COMPONENTS
   ============================================================================= */

/* Hero Section */
.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--space-2xl) 0;
}

.hero-content h1 {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.hero-content p {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    margin-bottom: var(--space-lg);
}

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

.service-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-card-content {
    padding: var(--space-lg);
}

.service-card-title {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.service-card-description {
    color: var(--text-light);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    margin-bottom: var(--space-lg);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: var(--space-md);
}

.product-title {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.product-price {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: var(--fs-base);
    line-height: var(--lh-relaxed);
    color: var(--text-color);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================================================
   MOBILE FIRST RESPONSIVE ADJUSTMENTS
   ============================================================================= */

/* Mobile Large (480px+) */
@media (min-width: 480px) {
    .hero-content h1 {
        font-size: var(--fs-4xl);
    }
    
    .service-card-image {
        height: 220px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content h1 {
        font-size: var(--fs-5xl);
    }
    
    .hero-content p {
        font-size: var(--fs-xl);
    }
    
    .service-card-image {
        height: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonial-card {
        padding: var(--space-xl);
    }
    
    .various-content h2:before {
        width: 80px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .service-card-image {
        height: 280px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .gallery-grid {
        gap: var(--space-lg);
    }
}

/* Desktop Large (1200px+) */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .service-card-image {
        height: 300px;
    }
}

/* -------------------------------------------------------------------------
        EXTRA SMALL DEVICES
		devices with width up to 480px
    ------------------------------------------------------------------------- */

@media (max-width: 480px) {

    /* your CSS here */

}

.download-area {
    text-align: center;
}

.download-area .bttn-icon,
.header-area .bttn-icon {
    margin-right: 15px;
}

.bttn-icon {
    margin-bottom: 20px;
    padding: 15px 50px;
    background-color: #22233b;
    color: #fff;
    display: inline-block;
    border-radius: 100px;
    margin-right: 10px;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, .4);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .4);
}

.bttn-icon .bttn-content {
    position: relative;
    padding-left: 50px;
    display: block;
}

.bttn-icon .bttn-content .icon {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 30px;
    width: 30px;
}

img {
    max-width: 100%;
    height: auto;
}

.bttn-icon .bttn-content small {
    display: block;
    font-size: 12px;
}

.bttn-icon .bttn-content strong {
    display: block;
    font-size: 18px;
}
