/*
Theme Name: AZO Guide
Theme URI: https://azoguide.com
Author: AZO Guide
Author URI: https://azoguide.com
Description: Custom editorial/review WordPress theme for AZO Guide, converted from a static HTML build. Fully dynamic header & footer menus, custom logo, and a designed blog (archive + single) template.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: azoguide
*/

/* ==========================================================================
   Base
   ========================================================================== */
body {
    background-color: #FDFBF7;
    color: #334155;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal animation (used across templates) */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-100 { transition-delay: .1s; }
.reveal.delay-200 { transition-delay: .2s; }
.reveal.delay-300 { transition-delay: .3s; }
.reveal.delay-400 { transition-delay: .4s; }

/* Accordion (FAQ) */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.accordion-icon { transition: transform 0.3s ease; }
details[open] .accordion-icon { transform: rotate(180deg); }
details[open] summary ~ * { animation: sweep .3s ease-in-out; }
@keyframes sweep {
    0%   { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Sketch style placeholder background */
.sketch-placeholder {
    background: linear-gradient(135deg, #F3E8E6 0%, #FDFBF7 100%);
    position: relative;
    overflow: hidden;
}
.sketch-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#E6C5C0 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

/* Form fields (contact form, comment form) */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #E2E8F0;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    color: #1A2B3C;
}
.form-input:focus {
    outline: none;
    border-color: #8A5A53;
    box-shadow: 0 0 0 3px rgba(138, 90, 83, 0.1);
}
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.5rem;
}

/* Blog cards */
.blog-card { transition: box-shadow .25s ease, transform .25s ease; }
.blog-card:hover { transform: translateY(-4px); }

/* WP core alignment helpers (needed because we don't ship a full build pipeline) */
.alignwide { margin-left: 0; margin-right: 0; }
.aligncenter { margin-left: auto; margin-right: auto; display:block; }
img.wp-smiley, img.emoji { max-height: 1em; }

/* Custom logo sizing fallback */
.custom-logo-link img { max-height: 48px; width: auto; }

/* Skip to content (a11y) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #1A2B3C;
    color: #FDFBF7;
    padding: 0.75rem 1.25rem;
    z-index: 999999;
}
.skip-link:focus { left: 0; }
