/*
Theme Name: Corralón Salta Aberturas V4.1
Theme URI: https://corralonsalta.com.ar
Author: Agencia MILO Digital
Author URI: https://agenciamilo.click
Description: Tema profesional para WooCommerce con diseño moderno utilizando Tailwind CSS. Orientado a profesionales de la construcción y arquitectura. Agent coded by Antigravity.
Version: 4.1.0
License: Private
License URI: https://agenciamilo.click  
Text Domain: corralon-salta
Tags: woocommerce, e-commerce, tailwind, modern, professional, construction
*/

/* 
 * Note: Tailwind CSS and Google Fonts are loaded via functions.php
 * This file contains only custom theme styles
 */

/* Custom CSS Variables */
:root {
    --primary-color: #fcd432;
    --primary-dark: #e0bd1f;
    --secondary-color: #153741;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
}

.text-shadow {
    text-shadow: 2px 2px 5px #000000 !important;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Color */
::selection {
    background-color: var(--primary-color);
    color: #000000;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: #000000;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000000;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(252, 212, 50, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* WordPress Core Alignment */
.alignnone {
    margin: 1.5rem 0;
}

.aligncenter {
    display: block;
    margin: 1.5rem auto;
}

.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1.5rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1.5rem 1.5rem;
}

/* WordPress Image Captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--text-light);
    padding: 0.5rem 0;
}

/* WordPress Galleries */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

/* Default Typography for Posts and Pages */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
}

.entry-content h1 {
    font-size: 2.25rem;
}

.entry-content h2 {
    font-size: 1.875rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid #fcd432;
    padding-left: 1.5rem;
    font-style: italic;
    color: #4b5563;
    margin: 2rem 0;
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.entry-content a {
    color: #153741;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #fcd432;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: #fcd432;
    text-decoration-color: #153741;
}

.entry-content img {
    border-radius: 0.5rem;
    height: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.entry-content figure {
    margin-bottom: 2rem;
}

.entry-content figcaption {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}