/*
Theme Name: Fotorama Explora
Theme URI: https://fotorama.com.mx
Author: Fotorama Dev Team
Description: Tema oficial para el blog y catálogo de Fotorama. Diseño colorido y dinámico.
Version: 1.1
*/

/* 1. Typography & Imports */
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&family=Montserrat:wght@400;700&display=swap');

:root {
    /* Brand Colors extracted from source */
    --foto-blue: #085396;
    /* Primary Brand Color */
    --foto-blue-light: #04ABFF;
    /* Hover/Action */
    --foto-white: #FBFBFB;
    /* Backgrounds */
    --foto-black: #2B2B2B;
    /* Text */
    --foto-grey: #363636;
    --foto-red: #E63946;
    /* Accents */
    --foto-yellow: #FFD166;
    --foto-green: #06D6A0;
    --foto-purple: #9D4EDD;

    /* Fonts */
    --font-header: 'Mochiy Pop One', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--foto-black);
    background-color: var(--foto-white);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* 2. Layout & Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 3. Header */
.site-header {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    /* Adjusted for the new SVG */
    display: block;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.main-navigation a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--foto-grey);
}

.main-navigation a:hover {
    color: var(--foto-blue-light);
}

/* 4. Hero Section */
.hero-section {
    background: radial-gradient(circle at center, var(--foto-blue-light) 0%, var(--foto-blue) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

/* 5. Explora Grid (Cards) */
.explora-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 2rem 0;
}

.foto-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
    /* Prepare for hover border */
}

.foto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Color Themes for Cards */
.theme-rojo .btn-ver-mas {
    background: var(--foto-red);
}

.theme-rojo:hover {
    border-color: var(--foto-red);
}

.theme-azul .btn-ver-mas {
    background: var(--foto-blue-light);
}

.theme-azul:hover {
    border-color: var(--foto-blue-light);
}

.theme-amarillo .btn-ver-mas {
    background: var(--foto-yellow);
    color: var(--foto-black);
}

.theme-amarillo:hover {
    border-color: var(--foto-yellow);
}

.theme-verde .btn-ver-mas {
    background: var(--foto-green);
}

.theme-verde:hover {
    border-color: var(--foto-green);
}

.theme-morado .btn-ver-mas {
    background: var(--foto-purple);
}

.theme-morado:hover {
    border-color: var(--foto-purple);
}


.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #eee;
    /* Placeholder */
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--foto-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
    transform: rotate(5deg);
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--foto-blue);
}

.btn-ver-mas {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    margin-top: 15px;
    font-family: var(--font-header);
    text-transform: uppercase;
}

/* 6. Footer */
.site-footer {
    background: var(--foto-black);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: auto;
}

/* 7. Forms & Filters */
select,
input[type="text"] {
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #ddd;
    font-family: var(--font-body);
}

button {
    cursor: pointer;
}