/*
Theme Name: MaxAuto
Description: Modern car dealership theme built with Tailwind CSS. Features car listings, blog functionality, and responsive design.
Author: Pantazi Software SRL
Author URI: https://pantazisoft.com
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: automotive, cars, dealership, responsive, modern, tailwind, woocommerce
Text Domain: maxauto
*/

/* Tailwind CSS will be loaded separately via functions.php */

/* Theme Reset and Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
}

/* WordPress Core Alignments */
.alignnone {
    margin: 1rem 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 1rem auto;
}

.alignright {
    float: right;
    margin: 1rem 0 1rem 1rem;
}

.alignleft {
    float: left;
    margin: 1rem 1rem 1rem 0;
}

.aligncenter {
    clear: both;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.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-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
}

/* Overrides and Custom Styles */
.woocommerce div.product div.images .flex-control-thumbs {
    margin: 0;
    padding: 12px 0 0 0;
    display: flex;
    gap: 12px;
}

select {
    @apply px-4 py-2.5 border border-gray-300 rounded-md w-full;
}