/*
Theme Name: Charrika.ma
Theme URI: https://charrika.ma
Author: Charrika.ma - Aménagement Bureaux Maroc
Author URI: https://charrika.ma
Description: Thème WordPress natif officiel Charrika.ma. Aménagement clé en main d'espaces de travail, mobilier de bureau professionnel, cabines acoustiques et agencement pour entreprises, administrations, industries et commerces, de l'étude 3D à l'installation partout au Maroc.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: charrika
Tags: corporate, business, bureau, aménagement, mobilier, maroc, one-page, responsive, custom-logo, custom-menu, custom-colors, featured-images
*/

/* Styles principaux du thème Charrika.ma. */



/* Charrika.ma Custom Styles */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

html {
    scroll-behavior: smooth;
}

/* Glassmorphism */
.glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Custom patterns */
.architectural-grid {
    background-size: 40px 40px;
    background-image: 
      linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
}

/* Animations */
@keyframes pulseSlow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.animate-pulse-slow {
    animation: pulseSlow 4s ease-in-out infinite;
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.animate-float {
    animation: floatGentle 5s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Before/After slider handle */
#ba-handle {
    cursor: ew-resize;
}

/* Range input styling */
input[type="range"] {
    -webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #f59e0b;
    cursor: pointer;
    margin-top: -8px;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #334155;
    border-radius: 3px;
}

/* FAQ accordion smoothness */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer.open {
    max-height: 500px;
}

/* Modal/Dialog Base */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}
.modal-backdrop.open {
    display: flex;
}
.drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    width: 100%;
    max-width: 560px;
    background: white;
    color: #0f172a;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}
.drawer-panel.open {
    transform: translateX(0);
}
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2,6,23,0.7);
    backdrop-filter: blur(4px);
    z-index: 49;
    display: none;
}
.drawer-overlay.open {
    display: block;
}

/* Color swatch */
.color-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.2);
    display: inline-block;
}
