/*
Theme Name: Geoseo Theme
Author: Geoseo
Description: Tema personalizado Geoseo con colores corporativos y logotipo.
Version: 1.1
*/

/* --- FUENTES Y LIBRERÍAS --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* --- VARIABLES DE COLOR CORPORATIVAS --- */
:root {
    /* Azul "Geo" - Fondo oscuro y textos principales */
    --primary: #004085;
    /* Rojo del círculo - Para botones de acción y acentos */
    --accent: #dc3545;
    /* Fondo claro general */
    --bg: #f8fafc;
    /* Texto oscuro */
    --text: #1e293b;
    --white: #ffffff;
    /* Sombra suave */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- ESTILOS GENERALES --- */
body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    color: white;
}

/* Botón Primario: Color Rojo Corporativo (Para llamar la atención) */
.btn-primary {
    background: var(--accent);
    box-shadow: 0 4px 14px rgba(220, 53, 69, 0.4);
}

.btn-primary:hover {
    background: #b02a37;
}

/* Botón Secundario: Borde Azul */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* --- HEADER & LOGO --- */
header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 2px solid var(--primary);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    /* Un poco más alto para el logo */
}

/* Estilo específico para la imagen del logo */
.logo-img img {
    height: 60px;
    /* Ajusta esto si el logo queda muy grande o pequeño */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 500;
    color: var(--primary);
}

.nav-links a:hover {
    color: var(--accent);
}

.cart-icon a {
    color: var(--primary);
    font-size: 1.2rem;
    position: relative;
    transition: 0.3s;
}

.cart-icon a:hover {
    color: var(--accent);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- HERO SECTION --- */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    /* Degradado Azul muy suave */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero img {
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--white);
}

/* --- SERVICIOS --- */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid #f1f5f9;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* Iconos con colores corporativos */
.icon-seo {
    background: #e7f1ff;
    color: var(--primary);
}

.icon-local {
    background: #ffe5e5;
    color: var(--accent);
}

.icon-ai {
    background: #f0f4ff;
    color: #6c757d;
}

/* --- WOOCOMMERCE --- */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    list-style: none;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

/* Botones de WooCommerce en color Rojo Corporativo */
.woocommerce button.button,
.woocommerce a.button {
    background: var(--accent) !important;
    border-radius: 50px !important;
    color: white !important;
    padding: 10px 25px !important;
    border: none !important;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background: var(--primary) !important;
}

/* --- FOOTER --- */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* --- RESPONSIVE --- */
@media(max-width: 768px) {

    .hero-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .logo-img img {
        height: 45px;
        margin: 0 auto;
    }
}