﻿/* ============================================================
   CLOROFILIA  CSS MEDIEVAL COMPLETO
   Estilo botnico medieval, pergamino, ornamentos y tipografa gtica.
   Versin FULL para uso final en produccin.
   ============================================================ */

/* ----- Tipografas ----- */
/* Ttulos gticos */
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');

/* Texto serif botnico */
body {
    margin: 0;
    padding: 0;
    background: #f5f0e6 url('/assets/img/textures/pergamino_light.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: #2f4f3a;
    font-family: Georgia, serif;
}

/* ----- Contenedor estndar ----- */
.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* ============================================================
   ENCABEZADO MEDIEVAL
============================================================ */
.site-header {
    background: #e9e1d1 url('/assets/img/textures/pergamino_header.jpg');
    border-bottom: 3px solid #b08a3c;
    padding: 12px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav a,
.dropbtn {
    color: #2f4f3a;
    text-decoration: none;
    font-family: "UnifrakturMaguntia", serif;
    font-size: 22px;
    letter-spacing: 0.5px;
}

/* ----- Dropdown ----- */
.dropdown {
    position: relative;
}

.dropbtn {
    background: transparent;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 34px;
    left: 0;
    background: #fdf8f0;
    border: 2px solid #b08a3c;
    padding: 12px;
    min-width: 260px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.dropdown-content a {
    display: block;
    padding: 6px 0;
    font-size: 18px;
    font-family: Georgia, serif;
    color: #2f4f3a;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ============================================================
   TITULARES MEDIEVALES
============================================================ */
h1, h2, h3 {
    font-family: "UnifrakturMaguntia", serif;
    margin-bottom: 8px;
    color: #2f4f3a;
}

h1 {
    font-size: 48px;
    margin-top: 20px;
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 26px;
}

/* ============================================================
   TARJETAS / CARDS MEDIEVALES
============================================================ */
.card {
    background: #fffaf2 url('/assets/img/textures/card_fiber.jpg');
    border: 2px solid #b08a3c;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.14);
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-3px);
    transition: 0.2s ease-out;
}

/* ============================================================
   BOTONES MEDIEVALES
============================================================ */
.btn {
    background: #b08a3c;
    color: #fff;
    padding: 10px 18px;
    border: 2px solid #7b2f3b;
    cursor: pointer;
    font-family: Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: #7b2f3b;
    border-color: #b08a3c;
}

/* ============================================================
   DIVISORES ORNAMENTALES
============================================================ */
.divider {
    height: 40px;
    background: url('/assets/img/ornaments/divider_medieval.svg') center no-repeat;
    margin: 40px 0;
    opacity: 0.8;
}

/* ============================================================
   CUERPO PRINCIPAL
============================================================ */
main.container {
    padding-top: 30px;
    padding-bottom: 40px;
}

/* ============================================================
   FOOTER MEDIEVAL
============================================================ */
.site-footer {
    background: #e9e1d1 url('/assets/img/textures/pergamino_dark.jpg');
    border-top: 3px solid #7b2f3b;
    color: #2f4f3a;
    padding: 25px 10px;
    text-align: center;
    font-size: 15px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.18);
}

/* Texto del footer */
.site-footer p {
    margin: 5px 0;
    font-family: Georgia, serif;
}

/* ============================================================
   LISTAS
============================================================ */
ul {
    margin-top: 10px;
    padding-left: 20px;
}

ul li {
    margin: 4px 0;
    line-height: 1.4;
}

/* ============================================================
   IMGENES BOTNICAS (PLANTAS)
============================================================ */
.plant-image {
    width: 100%;
    max-width: 480px;
    border: 3px solid #b08a3c;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* ============================================================
   TABLAS (PARA CARE GUIDES)
============================================================ */
.table-medieval {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-medieval th {
    background: #b08a3c;
    color: #fff;
    padding: 10px;
    text-transform: uppercase;
}

.table-medieval td {
    border: 1px solid #b08a3c;
    padding: 8px;
    background: #fffaf2;
}
