/*
Theme Name: El Rojo Clothing
Description: Professional WordPress theme for El Rojo Clothing - Custom embroidery, silkscreen printing, and DTF printing services. Compatible with Elementor and Divi page builders.
Author: El Rojo Clothing
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elrojo-clothing
Tags: business, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, one-column, portfolio, theme-options, translation-ready
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* =================================================================
   El Rojo Clothing Design System - Professional WordPress Theme
   ================================================================= */

/* CSS Variables - El Rojo Brand Colors */
:root {
    /* El Rojo Brand Colors */
    --elrojo-primary: hsl(345, 75%, 25%);
    --elrojo-primary-light: hsl(345, 60%, 35%);
    --elrojo-secondary: hsl(345, 30%, 95%);
    --elrojo-accent: hsl(0, 0%, 0%);
    
    /* Neutral Colors */
    --elrojo-white: hsl(0, 0%, 100%);
    --elrojo-black: hsl(0, 0%, 0%);
    --elrojo-gray-light: hsl(0, 0%, 96%);
    --elrojo-gray-medium: hsl(0, 0%, 45%);
    --elrojo-border: hsl(0, 0%, 90%);
    
    /* Typography */
    --elrojo-font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --elrojo-container-width: 1200px;
    --elrojo-section-padding: 5rem 0;
    --elrojo-border-radius: 0.5rem;
    
    /* Effects */
    --elrojo-shadow-elegant: 0 4px 20px -4px rgba(0, 0, 0, 0.1);
    --elrojo-shadow-burgundy: 0 10px 30px -10px hsla(345, 75%, 25%, 0.3);
    --elrojo-gradient-hero: linear-gradient(135deg, var(--elrojo-primary), var(--elrojo-primary-light));
    --elrojo-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =================================================================
   Base Styles
   ================================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--elrojo-font-family);
    line-height: 1.6;
    color: var(--elrojo-black);
    background-color: var(--elrojo-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--elrojo-primary);
    text-decoration: none;
    transition: var(--elrojo-transition);
}

a:hover {
    color: var(--elrojo-primary-light);
}

/* Container */
.elrojo-container {
    max-width: var(--elrojo-container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .elrojo-container {
        padding: 0 2rem;
    }
}

/* Sections */
.elrojo-section {
    padding: var(--elrojo-section-padding);
}

/* Buttons */
.elrojo-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--elrojo-border-radius);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--elrojo-transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.elrojo-btn-primary {
    background-color: var(--elrojo-primary);
    color: var(--elrojo-white);
    border-color: var(--elrojo-primary);
}

.elrojo-btn-primary:hover {
    background-color: var(--elrojo-primary-light);
    border-color: var(--elrojo-primary-light);
    color: var(--elrojo-white);
}

.elrojo-btn-outline {
    background-color: transparent;
    color: var(--elrojo-primary);
    border-color: var(--elrojo-primary);
}

.elrojo-btn-outline:hover {
    background-color: var(--elrojo-primary);
    color: var(--elrojo-white);
}

/* Cards */
.elrojo-card {
    background-color: var(--elrojo-white);
    border-radius: var(--elrojo-border-radius);
    box-shadow: var(--elrojo-shadow-elegant);
    padding: 1.5rem;
    border: 1px solid var(--elrojo-border);
}

/* Grid System */
.elrojo-grid {
    display: grid;
    gap: 2rem;
}

.elrojo-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.elrojo-grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.elrojo-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Header Styles */
.elrojo-header {
    background-color: var(--elrojo-white);
    box-shadow: var(--elrojo-shadow-elegant);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.elrojo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.elrojo-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--elrojo-primary);
}

.elrojo-nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.elrojo-nav-menu a {
    font-weight: 500;
    color: var(--elrojo-black);
    padding: 0.5rem 0;
}

.elrojo-nav-menu a:hover {
    color: var(--elrojo-primary);
}

/* Footer Styles */
.elrojo-footer {
    background-color: var(--elrojo-accent);
    color: var(--elrojo-white);
    padding: 3rem 0 1rem;
}

.elrojo-footer a {
    color: var(--elrojo-white);
}

.elrojo-footer a:hover {
    color: var(--elrojo-secondary);
}

/* Hero Section */
.elrojo-hero {
    background: var(--elrojo-gradient-hero);
    color: var(--elrojo-white);
    text-align: center;
    padding: 6rem 0;
}

.elrojo-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.elrojo-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Service Cards */
.elrojo-service-card {
    text-align: center;
    padding: 2rem;
}

.elrojo-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background-color: var(--elrojo-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gallery Styles */
.elrojo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.elrojo-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--elrojo-border-radius);
    aspect-ratio: 4/3;
}

.elrojo-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--elrojo-transition);
}

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

/* Contact Form */
.elrojo-form {
    max-width: 600px;
    margin: 0 auto;
}

.elrojo-form-group {
    margin-bottom: 1.5rem;
}

.elrojo-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--elrojo-black);
}

.elrojo-form-input,
.elrojo-form-textarea,
.elrojo-form-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--elrojo-border);
    border-radius: var(--elrojo-border-radius);
    font-size: 1rem;
    transition: var(--elrojo-transition);
}

.elrojo-form-input:focus,
.elrojo-form-textarea:focus,
.elrojo-form-select:focus {
    outline: none;
    border-color: var(--elrojo-primary);
}

.elrojo-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Styles */
.elrojo-faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--elrojo-border);
    border-radius: var(--elrojo-border-radius);
    overflow: hidden;
}

.elrojo-faq-question {
    background-color: var(--elrojo-secondary);
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.elrojo-faq-answer {
    padding: 1rem;
    background-color: var(--elrojo-white);
    display: none;
}

.elrojo-faq-item.active .elrojo-faq-answer {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .elrojo-nav-menu {
        display: none;
    }
    
    .elrojo-hero h1 {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
}

/* Utility Classes */
.elrojo-text-center { text-align: center; }
.elrojo-text-primary { color: var(--elrojo-primary); }
.elrojo-bg-primary { background-color: var(--elrojo-primary); }
.elrojo-bg-light { background-color: var(--elrojo-gray-light); }
.elrojo-shadow { box-shadow: var(--elrojo-shadow-elegant); }
.elrojo-mb-1 { margin-bottom: 1rem; }
.elrojo-mb-2 { margin-bottom: 2rem; }
.elrojo-mb-3 { margin-bottom: 3rem; }
.elrojo-pt-1 { padding-top: 1rem; }
.elrojo-pt-2 { padding-top: 2rem; }
.elrojo-pt-3 { padding-top: 3rem; }

/* Page Builder Compatibility */
.elementor-widget-container,
.et_pb_module {
    max-width: 100%;
}

/* Divi Compatibility */
.et_pb_section {
    padding: 0 !important;
}

.et_pb_row {
    max-width: var(--elrojo-container-width);
    margin: 0 auto;
}

/* Elementor Compatibility */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--elrojo-container-width);
}

/* Contact Form Messages */
.elrojo-notice {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--elrojo-border-radius);
    font-weight: 500;
}

.elrojo-notice-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.elrojo-notice-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* WordPress Core Styles */
.alignleft { float: left; margin-right: 1rem; }
.alignright { float: right; margin-left: 1rem; }
.aligncenter { display: block; margin: 0 auto; }
.alignwide { max-width: 1200px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

.wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

.wp-caption img {
    width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--elrojo-gray-medium);
    margin-top: 0.5rem;
}