@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Premium design for Juancho DiscDogs - SmartDogs */
/* Global Styles */
:root {
    --primary: #ff7e5f;
    --secondary: #feb47b;
    --dark: #061421; /* Dmente Navy */
    --accent-indigo: #2bebd2; /* Dmente Logic Indigo */
    --accent-emerald: #156367;
    --glass: rgba(43, 235, 210, 0.05); /* Dmente Glass */
    --glass-hover: rgba(43, 235, 210, 0.1);
    --text-light: #F8FAFC; /* Dmente Ghost White */
    --accent: #ffebc5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    background: var(--dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #1e3c72, transparent),
        radial-gradient(circle at bottom left, #2a5298, transparent);
    z-index: -1;
    opacity: 0.5;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end; /* Moved to the right */
    overflow: hidden;
    padding-top: 10vh; 
}

.logo-top-left {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    transition: transform 0.3s ease;
}

.header-logo {
    width: 140px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

.logo-top-left:hover {
    transform: scale(1.05);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.35); /* Slightly darker to help text contrast on right */
}

.hero-content {
    position: relative;
    text-align: right; /* Aligned to right */
    max-width: 700px; /* Narrower to fit on right side */
    z-index: 1;
    padding: 0 4rem;
    margin-top: 2rem;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.8rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    color: #cbd5e1;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease-out;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Pulsate Animation */
@keyframes pulsate {
    0% { transform: scale(1); box-shadow: 0 10px 15px -3px rgba(255, 126, 95, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 20px 30px -5px rgba(255, 126, 95, 0.6); }
    100% { transform: scale(1); box-shadow: 0 10px 15px -3px rgba(255, 126, 95, 0.4); }
}

.pulsate {
    animation: pulsate 2s infinite ease-in-out;
}

.hero-text {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    z-index: 1;
}

.acdd-logo-container {
    margin-bottom: 2rem;
}

.acdd-logo {
    width: 150px;
    filter: drop-shadow(0 5px 15px rgba(43, 235, 210, 0.3));
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(255, 126, 95, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(255, 126, 95, 0.5);
}

/* Sections */
section {
    padding: 8rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Sections Headers */
section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
}

section h2 span {
    color: var(--primary);
}

/* Biography Section */
.bio-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--glass);
    padding: 6rem 4rem;
    border-radius: 40px;
    margin-bottom: 4rem;
}

.bio-image {
    flex: 1;
    max-width: 450px;
}

.bio-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.bio-content {
    flex: 1.5;
}

.bio-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.bio-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.motto {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
    display: block;
}

/* Category Sections */
.category-section {
    padding: 6rem 2rem;
}

/* Famosos & Events */
.famosos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.famosos-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.famosos-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.famosos-card:hover img {
    transform: scale(1.05);
}

.famosos-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
}

/* Competencias */
.comp-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.comp-img {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.comp-img img {
    width: 100%;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    background: var(--glass);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
}

.stat-box h4 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Productos (Showcase) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--glass);
    border-radius: 25px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    background: var(--glass-hover);
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Consejos Section */
.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: #1e293b;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    border-left: 6px solid var(--primary);
}

.tip-card h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.tip-card p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.tip-number {
    position: absolute;
    top: -15px;
    right: 25px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .comp-showcase {
        grid-template-columns: 1fr;
    }
}

/* Branding Dmente Digital */
.branding {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #64748b;
}

.branding span {
    color: #fff;
    font-weight: 800;
}

.branding small {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--primary);
    text-transform: none;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ACDD Section - Hub de Experiencia */
.acdd-section {
    position: relative;
    padding: 8rem 2rem;
    background: #fff; /* White background as seen in the infographic */
    color: #061421;
    overflow: hidden;
}

.hub-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('juancho_malinois.jpg');
    background-size: cover;
    background-position: center right;
    opacity: 0.15; /* Subdued background to keep text readable */
    z-index: 0;
}

.acdd-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 5rem;
}

.acdd-header h2 {
    color: #1e3c72;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: none;
    margin-bottom: 1rem;
}

.acdd-header h2 span {
    color: #1e3c72;
}

.hub-subtitle {
    font-size: 1.25rem;
    color: #1e3c72;
    font-weight: 700;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hub-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hub-card {
    background: #fff;
    border: 2px solid #1e3c72;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    min-height: 450px;
}

.hub-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.hub-card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-card-icon i {
    font-size: 3.5rem;
    color: #1e3c72;
}

.hub-card h3 {
    color: #1e3c72;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hub-card p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.hub-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: #0ea5e9;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.hub-btn:hover {
    background: #1e3c72;
}

/* Specific card accents from the infographic */
.hub-card:nth-child(2) h3 { color: #000; }
.hub-card:nth-child(2) .hub-btn { background: #1e3c72; }

.hub-card:nth-child(3) .hub-btn { background: #155e75; }

.hub-card:nth-child(4) .hub-btn { background: #075985; }

/* Responsive adjustments for Hub */
@media (max-width: 1200px) {
    .hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hub-grid {
        grid-template-columns: 1fr;
    }
    .hero-content {
        text-align: center;
        padding: 0 2rem;
        margin-top: 0;
    }
}

/* Gallery Grid */
.gallery-container {
    margin-top: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-grid .gallery-item {
    height: 350px;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; height: 724px; }
.gallery-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 1; display: block; }
.gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 1; display: block; }

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Ribbon Badge for cards */
.hub-card {
    position: relative;
    overflow: hidden;
}

.badge-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #fbbf24;
    color: #1e3c72;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-top-left {
        top: 20px;
        left: 20px;
    }
    
    .header-logo {
        width: 100px;
    }

    .hero {
        padding-top: 12vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .purina-promo {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    section {
        padding: 4rem 1.5rem;
    }
    
    .bio-section {
        flex-direction: column;
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .bio-content h2 {
        text-align: center;
    }
}