/* assets/css/style.css - BRANDING "AUREMI NUEVOS COMIENZOS" (Boho Earth) */

:root {
    /* Paleta extraída del Logo (Arcoiris Boho) */
    --primary: #8C9E8E;
    /* Sage Green - Arcoiris Exterior */
    --primary-dark: #6E8070;
    --primary-light: #E8F0E9;
    /* Fondo muy suave verde */

    --secondary: #F6D68D;
    /* Sun Yellow - El sol del logo */
    --accent: #A67B5B;
    /* Earth/Biscuit - Arcoiris medio */
    --heart: #8D553D;
    /* Rust/Terracotta - El corazón del logo */

    --text-main: #4E342E;
    /* Dark Coffee - Texto del logo */
    --text-light: #795548;
    /* Marrón más suave */

    --bg-body: #FCFAF6;
    /* Cream Paper - Fondo del logo */
    --bg-white: #FFFFFF;
    --sidebar-bg: #FFFFFF;
    --sidebar-width: 250px;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Quicksand', sans-serif;

    --shadow-card: 0 10px 30px rgba(78, 52, 46, 0.08);
    /* Sombra café */
    --shadow-hover: 0 15px 40px rgba(140, 158, 142, 0.25);
    /* Sombra verde suave */
    --radius-lg: 24px;
    --radius-pill: 50px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- LAYOUT SIDEBAR --- */
.layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 900px) {
    .layout-wrapper {
        flex-direction: row;
    }

    .main-sidebar {
        width: var(--sidebar-width);
        height: 100vh;
        position: fixed;
        left: 0;
        top: 0;
        overflow-y: auto;
        border-right: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 1000;
    }

    .main-content {
        margin-left: var(--sidebar-width);
        flex: 1;
        width: calc(100% - var(--sidebar-width));
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
}

/* --- SIDEBAR STYLING --- */
.main-sidebar {
    background-color: var(--sidebar-bg);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.logo a {
    display: block;
}

.sidebar-logo {
    max-width: 100px;
    height: auto;
    display: block;
    border-radius: 50%;
    /* box-shadow removido para look más limpio como antes */
    transition: transform 0.3s ease;
}

.sidebar-logo:hover {
    transform: scale(1.05);
}

/* Iconos tono tierra */

.sidebar-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 5px;
    letter-spacing: 1px;
    padding-left: 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.sidebar-nav a:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding-left: 15px;
    /* Efecto sutil anterior */
    transform: none;
    /* Quitamos el slide "exagerado" */
}

.sidebar-nav a i {
    width: 20px;
    text-align: center;
    color: var(--accent);
    opacity: 0.9;
    font-size: 1rem;
}

.nav-cta {
    margin-top: 20px;
}

.btn-store-link {
    background-color: var(--text-main) !important;
    color: white !important;
    justify-content: center;
    box-shadow: var(--shadow-card);
}

.btn-store-link:hover {
    background-color: var(--heart) !important;
}

/* Hover color corazón */
.sidebar-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.8rem;
}

.sidebar-footer p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
    color: var(--text-light);
}

.social-links a:hover {
    color: var(--heart);
}

/* --- CONTENIDO PRINCIPAL --- */
.main-content {
    background-color: var(--bg-body);
    position: relative;
}

.container {
    width: 88%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HERO --- */
.hero-section {
    background-color: var(--primary-light);
    padding: 70px 40px;
    text-align: center;
    border-radius: 0 0 0 80px;
    margin-bottom: 60px;
    background-image: radial-gradient(#CEDED0 15%, transparent 16%), radial-gradient(#CEDED0 15%, transparent 16%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.hero-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(78, 52, 46, 0.08);
    max-width: 650px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* --- COLECCIONES --- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 5px;
    font-weight: 700;
}

.section-header p {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent);
    font-size: 1.2rem;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.collection-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.collection-image {
    height: 380px;
    position: relative;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(78, 52, 46, 0.8), transparent);
    padding: 40px 20px 20px;
    color: white;
    text-align: center;
}

.collection-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #FFF;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.collection-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    font-weight: 700;
}

/* --- BANNER --- */
.info-banner {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding: 0 20px;
}

.banner-item {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    text-align: center;
    flex: 1;
    min-width: 220px;
    max-width: 300px;
}

.banner-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--text-main);
    color: #EFEBE9;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--secondary);
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #A1887F;
}

/* --- UTILIDADES --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--radius-pill);
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(140, 158, 142, 0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- MOBILE --- */
.menu-toggle,
.menu-icon {
    display: none;
}

@media (max-width: 899px) {
    .main-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .menu-icon {
        display: block;
        font-size: 1.5rem;
        color: var(--text-main);
        cursor: pointer;
    }

    .sidebar-nav {
        display: none;
        margin-top: 20px;
    }

    .menu-toggle:checked~.sidebar-nav {
        display: block;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .hero-section {
        border-radius: 0 0 30px 30px;
        padding: 50px 20px;
    }
}

/* --- EDITORIAL --- */
.editorial-hero {
    position: relative;
    height: 350px;
    margin-bottom: 50px;
    border-radius: 0 0 0 80px;
    overflow: hidden;
}

.editorial-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(78, 52, 46, 0.9), transparent);
    padding: 60px 40px 40px;
    color: white;
}

.seo-content {
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media(min-width:700px) {
    .seo-content {
        flex-direction: row;
        align-items: center;
    }
}

.seo-text {
    flex: 1;
}

.seo-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.seo-text p {
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 1.05rem;
}

.seo-highlight {
    background-color: var(--primary-light);
    padding: 25px;
    border-left: 4px solid var(--accent);
    font-style: italic;
    color: var(--text-main);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: 1.1rem;
}

.recommendations-header {
    text-align: center;
    margin-bottom: 40px;
}

.recommendations-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.rec-card {
    background: transparent;
    text-align: center;
}

.rec-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    height: 300px;
}

.rec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-card:hover .rec-image {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.rec-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.rec-card:hover .rec-overlay {
    opacity: 1;
}

.rec-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-main);
    font-weight: 700;
}

.rec-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.btn-shop {
    display: inline-block;
    border: 2px solid var(--text-main);
    padding: 8px 25px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-main);
    background: white;
    transition: var(--transition);
}

.btn-shop:hover {
    background: var(--text-main);
    color: white;
}