/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary: #00507f;
    --surf-blue: #1369a1;
    --secondary: #006e25;
    --growth-green: #28a745;
    --harvest-orange: #f08223;
    --slate-text: #3b3f51;
    --bg-canvas: #ffffff;
    --bg-surface-gray: #f7f7f7;
    --body-font: 'Plus Jakarta Sans', sans-serif;
    --headline-font: 'Hanken Grotesk', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--slate-text);
    background-color: var(--bg-canvas);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .headline-font {
    font-family: var(--headline-font);
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-surface-gray);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glassmorphism utility */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
}

.glass-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #091326 0%, #11203b 100%);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 80% 20%, rgba(19, 105, 161, 0.18) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(240, 130, 35, 0.15) 0%, transparent 60%);
    opacity: 0.8;
}

/* Premium card selection elements */
.brand-card-choice {
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    height: 520px;
}

.brand-card-choice::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 95%);
    z-index: 2;
    transition: all 0.4s ease;
}

.brand-card-choice img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2.5rem;
    z-index: 3;
    color: #ffffff;
}

.brand-card-choice:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.25);
}

.brand-card-choice:hover::before {
    background: linear-gradient(to bottom, transparent 15%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.95) 90%);
}

.brand-card-choice:hover img {
    transform: scale(1.08);
}

/* Custom button stylings */
.btn-mercadito {
    background-color: var(--harvest-orange);
    color: white;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px rgba(240, 130, 35, 0.4);
    transition: all 0.2s ease;
}
.btn-mercadito:hover, .btn-mercadito:focus {
    background-color: #d86d17;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 130, 35, 0.5);
}
.btn-mercadito:active {
    transform: translateY(0);
}

.btn-outline-mercadito {
    border: 2px solid var(--harvest-orange);
    color: var(--harvest-orange);
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-outline-mercadito:hover {
    background-color: var(--harvest-orange);
    color: white;
}

.btn-gastrolab {
    background-color: var(--surf-blue);
    color: white;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px rgba(19, 105, 161, 0.4);
    transition: all 0.2s ease;
}
.btn-gastrolab:hover, .btn-gastrolab:focus {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 105, 161, 0.5);
}
.btn-gastrolab:active {
    transform: translateY(0);
}

.btn-outline-gastrolab {
    border: 2px solid var(--surf-blue);
    color: var(--surf-blue);
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-outline-gastrolab:hover {
    background-color: var(--surf-blue);
    color: white;
}

/* Section highlights */
.bg-mercadito-soft {
    background-color: rgba(240, 130, 35, 0.04);
}

.bg-gastrolab-soft {
    background-color: rgba(19, 105, 161, 0.04);
}

/* Bento Grid */
.bento-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Custom font utilities for match */
.font-caption {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Icon custom adjustments */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Partner section styling */
.partner-logo-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.partner-logo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Custom spacing and elements */
.badge-alliance {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
}

/* Styling for cards that do not have background images */
.brand-card-choice:not(:has(img)) {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    height: auto;
    min-height: 480px;
}

.brand-card-choice:not(:has(img))::before {
    display: none; /* remove absolute gradient overlay */
}

.brand-card-choice:not(:has(img)) .brand-card-content {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 2.5rem;
}

.brand-card-choice ul {
    margin-top: 1rem;
    padding-left: 0;
}

.brand-card-choice ul li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.brand-card-choice hr {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 1.25rem 0;
}

/* Custom buttons in Hero Section to align with brand colors */
.hero-wrapper .btn-info {
    background-color: var(--surf-blue) !important;
    border-color: var(--surf-blue) !important;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(19, 105, 161, 0.4);
    transition: all 0.2s ease;
}
.hero-wrapper .btn-info:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 105, 161, 0.5);
}
.hero-wrapper .btn-warning {
    background-color: var(--harvest-orange) !important;
    border-color: var(--harvest-orange) !important;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(240, 130, 35, 0.4);
    transition: all 0.2s ease;
}
.hero-wrapper .btn-warning:hover {
    background-color: #d86d17 !important;
    border-color: #d86d17 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 130, 35, 0.5);
}

/* Styling overrides for Los Retos section */
#retos .text-warning {
    color: var(--harvest-orange) !important;
}

#retos .text-info {
    color: var(--surf-blue) !important;
}

#retos .card, #mercadito .card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#retos .card:hover, #mercadito .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07) !important;
}


