/* Modern Reset & Variables */
:root {
    --primary-red: #D92525;
    --dark-bg: #0f0f0f;
    --section-bg: #1a1a1a;
    --card-bg: #222222;
    --text-white: #ffffff;
    --text-gray: #e0e0e0;
    --text-muted: #a0a0a0;
    --gold-accent: #c5a059;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography interaction */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-white);
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
}

.highlight {
    color: var(--primary-red);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.logo-container img {
    height: 45px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--primary-red);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - The "Ally" Focus */
.hero {
    height: 90vh;
    width: 100%;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4)), url('https://kamykarnes.com/wp-content/uploads/2025/10/wmremove-transformed.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
}

.hero-content {
    max-width: 650px;
    animation: fadeIn 1.2s ease-out;
}

.hero-subtitle {
    display: inline-block;
    background: rgba(217, 37, 37, 0.2);
    color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--primary-red);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-red);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: white;
    color: black;
}

/* Philosophy Section "Tu Experto" */
.philosophy {
    padding: 6rem 10%;
    background-color: var(--section-bg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.phil-image {
    position: relative;
}

.phil-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.phil-content h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.phil-points {
    list-style: none;
    margin-top: 2rem;
}

.phil-points li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-gray);
}

.phil-points i {
    color: var(--primary-red);
}

/* Dual Category Section (National vs International) */
.categories {
    padding: 6rem 5%;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.cat-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.cat-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s;
}

.cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
}

.cat-card:hover .cat-bg {
    transform: scale(1.1);
}

.cat-tag {
    background-color: var(--primary-red);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.cat-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.cat-desc {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Stats/Ally Banner */
.ally-banner {
    background: var(--dark-bg);
    padding: 4rem 10%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ally-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.ally-item h4 {
    font-size: 1.5rem;
    color: var(--gold-accent);
    margin-bottom: 0.5rem;
}

.ally-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 4rem 10%;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {

    .philosophy,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    nav ul {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .ally-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Catalog Layout */
.catalog-hero {
    padding: 10rem 10% 4rem;
    text-align: center;
    background: var(--section-bg);
}

.catalog-hero h1 {
    font-size: 3rem;
    color: var(--gold-accent);
}

.product-grid {
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    background: var(--dark-bg);
}

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-img {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.product-price {
    font-weight: 700;
    color: var(--gold-accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.product-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.product-btn:hover {
    background: #b31e1e;
}

.back-btn {
    position: absolute;
    top: 120px;
    left: 5%;
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary-red);
}

/* Responsive Catalog */
@media (max-width: 768px) {
    .catalog-hero h1 {
        font-size: 2.2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}
