/* TheLeo.info - Esquema de Cores e Estilos Globais */

:root {
    /* Cores Principais */
    --roxo-escuro: #3A2D7D;
    --lavanda: #A996E3;
    --rosa-pessego: #F4C9C9;
    
    /* Cores de Destaque/Apoio */
    --rosa-coracao: #F05C79;
    --verde-agua: #68C4B5;
    --azul-icone: #A0B3F0;
    --rosa-balao: #D989C2;
    --fundo-claro: #F5F5F7;
    
    /* Gradientes */
    --gradiente-principal: linear-gradient(135deg, var(--lavanda) 0%, var(--rosa-pessego) 100%);
    --gradiente-secundario: linear-gradient(135deg, var(--roxo-escuro) 0%, var(--lavanda) 100%);
    --gradiente-destaque: linear-gradient(135deg, var(--rosa-coracao) 0%, var(--rosa-balao) 100%);
    
    /* Sombras */
    --sombra-suave: 0 4px 15px rgba(58, 45, 125, 0.1);
    --sombra-media: 0 8px 25px rgba(58, 45, 125, 0.15);
    --sombra-forte: 0 12px 35px rgba(58, 45, 125, 0.2);
}

/* Reset e Base */
body {
    background-color: var(--fundo-claro);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--roxo-escuro);
    line-height: 1.6;
}

/* Logotipo */
.logo {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo-large {
    max-height: 80px;
}

/* Ícones Brancos com Balão para Melhor Visibilidade */
.icon-white-balloon {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(58, 45, 125, 0.1);
    border-radius: 50px;
    padding: 8px 15px;
    color: var(--roxo-escuro) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    box-shadow: var(--sombra-suave);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.icon-white-balloon:hover {
    background: white;
    color: var(--rosa-coracao) !important;
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
    text-decoration: none;
}

/* Para ícones circulares */
.icon-circle-balloon {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 10px;
    color: var(--roxo-escuro) !important;
    box-shadow: var(--sombra-suave);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.icon-circle-balloon:hover {
    background: white;
    color: var(--rosa-coracao) !important;
    transform: scale(1.1);
    box-shadow: var(--sombra-media);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    color: var(--roxo-escuro);
    font-weight: 600;
}

.text-brand-primary {
    color: var(--roxo-escuro) !important;
}

.text-brand-secondary {
    color: var(--rosa-coracao) !important;
}

.text-brand-accent {
    color: var(--verde-agua) !important;
}

/* Botões */
.btn-brand-primary {
    background: var(--gradiente-principal);
    border: none;
    color: var(--roxo-escuro);
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: var(--sombra-suave);
}

.btn-brand-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
    color: var(--roxo-escuro);
}

.btn-brand-secondary {
    background: var(--gradiente-destaque);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: var(--sombra-suave);
}

.btn-brand-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
    color: white;
}

.btn-brand-outline {
    background: transparent;
    border: 2px solid var(--roxo-escuro);
    color: var(--roxo-escuro);
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 22px;
    transition: all 0.3s ease;
}

.btn-brand-outline:hover {
    background: var(--roxo-escuro);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
}

.btn-success-brand {
    background: var(--verde-agua);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: var(--sombra-suave);
}

.btn-success-brand:hover {
    background: #5bb3a3;
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
    color: white;
}

/* Cards */
.card-brand {
    border: none;
    border-radius: 16px;
    box-shadow: var(--sombra-suave);
    transition: all 0.3s ease;
    background: white;
}

.card-brand:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-media);
}

.card-brand .card-header {
    background: var(--gradiente-principal);
    border: none;
    border-radius: 16px 16px 0 0;
    color: var(--roxo-escuro);
    font-weight: 600;
}

/* Navbar */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--roxo-escuro) !important;
    font-size: 1.4rem;
}

.navbar-brand .text-info {
    color: var(--verde-agua) !important;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--sombra-suave);
}

.navbar-nav .nav-link {
    color: var(--roxo-escuro) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 4px;
    padding: 8px 16px !important;
}

.navbar-nav .nav-link:hover {
    background: var(--lavanda);
    color: white !important;
    transform: translateY(-1px);
}

/* Hero Sections */
.hero-section {
    background: var(--gradiente-principal);
    color: var(--roxo-escuro);
    padding: 80px 0;
    border-radius: 0 0 32px 32px;
    margin-bottom: 2rem;
}

.hero-section-store {
    background: var(--gradiente-secundario);
    color: white;
    padding: 80px 0;
    border-radius: 0 0 32px 32px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--sombra-suave);
    background: white;
}

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

.product-card .card-img-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

/* Raffle/Coupon Sections */
.raffle-section {
    background: var(--fundo-claro);
    padding: 60px 0;
    position: relative;
}

.raffle-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--gradiente-principal);
    opacity: 0.03;
    z-index: 0;
}

.raffle-section .container {
    position: relative;
    z-index: 1;
}

.raffle-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sombra-media);
}

.raffle-card .card-header {
    background: var(--gradiente-destaque);
    color: white;
    border: none;
    padding: 1.5rem;
}

/* Coupon Cards */
.coupon-card {
    border: 2px solid var(--lavanda) !important;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(169, 150, 227, 0.1) 0%, rgba(244, 201, 201, 0.1) 100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.coupon-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sombra-media);
    border-color: var(--rosa-coracao) !important;
}

.coupon-card h6 {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    background: white;
    padding: 60px 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-icon.shipping {
    background: var(--verde-agua);
}

.feature-icon.security {
    background: var(--azul-icone);
}

.feature-icon.coupons {
    background: var(--rosa-coracao);
}

.feature-icon.support {
    background: var(--rosa-balao);
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Badges e Tags */
.badge-brand {
    background: var(--rosa-coracao);
    color: white;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
}

.price-tag {
    color: var(--verde-agua) !important;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Forms */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--lavanda);
    box-shadow: 0 0 0 0.2rem rgba(169, 150, 227, 0.25);
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo {
        max-height: 40px;
    }
    
    .logo-large {
        max-height: 60px;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--roxo-escuro);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Cart Summary */
.cart-summary {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 280px;
}

.cart-summary .card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--sombra-forte);
    background: white;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--fundo-claro);
}

::-webkit-scrollbar-thumb {
    background: var(--lavanda);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--roxo-escuro);
}

/* Footer Fixes - Melhorar Visibilidade e Organização */
.footer-theleo {
    background: linear-gradient(135deg, #3A2D7D, #A996E3) !important;
    color: white !important;
    padding: 50px 0 30px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer-theleo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(58, 45, 125, 0.1);
    pointer-events: none;
}

.footer-theleo .container {
    position: relative;
    z-index: 2;
}

.footer-theleo h5,
.footer-theleo h6 {
    color: white !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.footer-theleo h5 {
    font-size: 1.4rem;
    border-bottom: 2px solid #68C4B5;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-theleo h6 {
    font-size: 1.1rem;
    color: #F4C9C9 !important;
}

.footer-theleo p {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.7;
    font-size: 1rem;
}

.footer-theleo .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.footer-theleo .text-muted:hover {
    color: #68C4B5 !important;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(104, 196, 181, 0.5);
}

.footer-theleo .list-unstyled li {
    margin-bottom: 12px;
}

.footer-theleo .list-unstyled a {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-theleo .list-unstyled a:hover {
    transform: translateX(8px);
    color: #68C4B5 !important;
    background: rgba(104, 196, 181, 0.1);
    padding-left: 10px;
}

.footer-theleo .icon-circle-balloon {
    color: #F05C79;
    font-size: 0.9rem;
}

.footer-theleo .icon-white-balloon {
    color: #68C4B5;
    font-size: 1.1rem;
}

.footer-theleo hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #68C4B5, #F05C79, transparent);
    margin: 40px 0 30px;
    opacity: 0.7;
}

/* Footer Social Icons com UX melhorado */
.footer-theleo .d-flex.gap-3 {
    gap: 20px !important;
    justify-content: flex-start;
    margin-top: 20px;
}

.footer-theleo .d-flex.gap-3 a {
    color: white;
    font-size: 1.4rem;
    transition: all 0.4s ease;
    padding: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-theleo .d-flex.gap-3 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #F05C79, #68C4B5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-theleo .d-flex.gap-3 a:hover::before {
    opacity: 1;
}

.footer-theleo .d-flex.gap-3 a:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 92, 121, 0.4);
    border-color: white;
}

.footer-theleo .text-center.text-muted {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
}

/* Footer Bottom - Leonardo Lima Credit */
.footer-creator {
    background: linear-gradient(135deg, #F05C79, #D989C2) !important;
    padding: 25px 0;
    text-align: center;
    border-top: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.footer-creator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(240, 92, 121, 0.1), rgba(217, 137, 194, 0.1));
}

.footer-creator .container {
    position: relative;
    z-index: 2;
}

.footer-creator p {
    margin: 0;
    color: white !important;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-creator a {
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

.footer-creator a:hover {
    background: white;
    color: #F05C79 !important;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-theleo {
        text-align: center;
        padding: 40px 0 20px;
    }
    
    .footer-theleo h5 {
        font-size: 1.2rem;
    }
    
    .footer-theleo .d-flex.gap-3 {
        justify-content: center !important;
        margin-top: 25px;
        gap: 15px !important;
    }
    
    .footer-theleo .d-flex.gap-3 a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .footer-theleo .list-unstyled a {
        justify-content: center;
    }
    
    .footer-theleo .list-unstyled a:hover {
        transform: none;
        padding-left: 0;
    }
    
    .footer-creator p {
        font-size: 1rem;
    }
}

/* QR Code and Image Responsive Fixes */
.img-thumbnail {
    max-width: 150px !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}

/* QR Code specific container for author pages */
.qr-code-author {
    max-width: 150px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

/* Logo fixes for AdminLTE and author layouts */
.navbar-brand img {
    max-height: 40px;
    width: auto;
    height: auto;
}

/* Ensure responsive images in navigation and sidebars */
.nav-item img,
.sidebar img {
    max-width: 150px;
    height: auto;
}
