/*
Theme Name: Amor Animal
Theme URI: https://example.com/amoranimal
Author: Jotive
Author URI: https://example.com
Description: Tema WordPress para Asociación Amor Animal con diseño Tailwind CSS.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: amoranimal
*/

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Compensar header fijo de 96px + margen */
}

/* Offset para anclas - alternativa para navegadores que no soportan scroll-padding */
[id]:target {
    scroll-margin-top: 120px;
}

/* Custom Button Style matching logo */
.btn-logo {
    background-color: #F59E36;
    color: #5D4037;
    border: 2px solid #5D4037;
    box-shadow: 4px 4px 0px #5D4037;
    transition: all 0.2s ease;
}

.btn-logo:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #5D4037;
    background-color: #F59E36;
    color: #5D4037;
}

.btn-logo:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #5D4037;
}

/* Fade In Up Animation */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Navigation adjustments for WordPress menu */
.main-navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: inline-block;
}

/* Custom text shadow utility classes */
.text-shadow-brown {
    text-shadow: 2px 2px 0px #5D4037;
}

.text-shadow-orange {
    text-shadow: 2px 2px 0px #F59E36;
}

/* Site title link */
.site-title a {
    color: #5D4037;
    text-decoration: none;
}

.site-title a:hover {
    color: #F59E36;
}

/* WordPress alignments */
.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

