/* Tailwind CSS y estilos personalizados */
/*@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
*/

/* Reset básico */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

/* Lightbox CSS */
#image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#image-lightbox.active {
    opacity: 1;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#image-lightbox.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #ccc;
}

/* Animaciones personalizadas */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Estilos para el menú móvil */
/* Menú móvil */
#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fafaf9;
    z-index: 9999;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

#mobile-menu.active {
    transform: translateX(0);
}

#mobile-menu nav a {
    display: block;
    text-align: center;
    padding: 10px;
    margin: 5px;
}
#mobile-menu nav a>div {
    font-size:10pt;
    line-height: normal;
}

#mobile-menu nav a.bg-amber-600 {
    background-color: #d97706;
    color: white;
    border-radius: 1rem;
}

#mobile-menu nav a.bg-amber-600 .text-stone-600 {
    color: white !important;
}

#mobile-menu nav a:not(.bg-amber-600):hover {
    background-color: #f5f5f4;
}
/* Prose styles para contenido */
.prose {
    max-width: 65ch;
}

.prose p {
    margin-bottom: 1.25em;
}

.prose h2 {
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
}

.prose h3 {
    font-size: 1.25em;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    font-weight: 600;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Reemplazar en assets/css/styles.css */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #292524;
}

/* Grid system */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-6 {
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Card styles */
.group {
    display: block;
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.group:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

/* Aspect ratio container */
.aspect-\[4\/3\] {
    position: relative;
    padding-bottom: 75%; /* 3/4 = 75% */
    overflow: hidden;
}

.aspect-\[4\/3\] img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* Hover effect - image zoom */
.group:hover .aspect-\[4\/3\] img {
    transform: scale(1.1);
}

/* Card content */
.p-6 {
    padding: 1.5rem;
}

.text-center {
    text-align: center;
}

.bg-gradient-to-b {
    background: linear-gradient(to bottom, #ffffff, #fafaf9);
}

/* Typography */
.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-stone-800 {
    color: #292524;
    transition: color 0.3s ease;
}

/* Hover effect - text color change to amber */
.group:hover .text-stone-800 {
    color: #b45309;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-stone-500 {
    color: #78716c;
}

.text-stone-400 {
    color: #a8a29e;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-0\.5 {
    margin-top: 0.125rem;
}

.italic {
    font-style: italic;
}

/* Background colors */
.bg-stone-800 {
    background-color: #292524;
}

.bg-white {
    background-color: #ffffff;
}

.text-white {
    color: #ffffff;
}

/* Utility classes */
.block {
    display: block;
}

.overflow-hidden {
    overflow: hidden;
}

.rounded-2xl {
    border-radius: 1rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Prose styles for content */
.prose {
    max-width: 65ch;
    margin: 0 auto;
}

.prose p {
    margin-bottom: 1.25em;
}

.prose h2 {
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
}

.prose h3 {
    font-size: 1.25em;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    font-weight: 600;
}

.prose img {
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 0.5rem;
}


