/* Base Styles */
:root {
    --yellow: #FCD116;
    --blue: #003893;
    --red: #CE1126;
    --dark: #333333;
    --light: #FFFFFF;
    --gray: #F5F5F5;
    --text: #444444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light);
    overflow: hidden;
}

.flag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.flag-yellow {
    height: 50%;
    background-color: var(--yellow);
}

.flag-blue {
    height: 25%;
    background-color: var(--blue);
}

.flag-red {
    height: 25%;
    background-color: var(--red);
}

.hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.scroll-down {
    display: inline-block;
    margin-top: 2rem;
    color: var(--light);
    text-decoration: none;
}

.arrow {
    display: block;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.divider {
    height: 4px;
    width: 80px;
    background-color: var(--dark);
    margin: 0.5rem auto 2rem;
}

.divider.yellow {
    background-color: var(--yellow);
}

.divider.blue {
    background-color: var(--blue);
}

.divider.red {
    background-color: var(--red);
}

.intro p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
}

/* Card Styles */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    background-color: #ddd;
}

.imagen{
    width: 100%;
}

.norman{
    margin-top: -20%;
    margin-left: 7.5%;
    height: 170%;
    width: 85%;
}

.card h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.5rem;
}

.card p {
    padding: 0 1rem 1.5rem;
    color: var(--text);
}

/* Likes Section */
.likes {
    background-color: var(--gray);
}

/* Dislikes Section */
.dislikes {
    background-color: var(--light);
}

/* Insights Section */
.insights {
    background-color: var(--gray);
    text-align: center;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-box {
    background-color: var(--light);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--blue);
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
    padding: 1rem 2rem;
}

blockquote:before,
blockquote:after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    opacity: 0.2;
}

blockquote:before {
    top: -20px;
    left: 0;
}

blockquote:after {
    bottom: -40px;
    right: 0;
}

cite {
    display: block;
    font-size: 1rem;
    margin-top: 1rem;
    font-style: normal;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    height: 200px;
    background-color: #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* Placeholder Styling */
.placeholder {
    position: relative;
    background-color: #eee;
    overflow: hidden;
}

.placeholder::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 2rem 0;
    text-align: center;
}

.flag-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.dot.yellow {
    background-color: var(--yellow);
}

.dot.blue {
    background-color: var(--blue);
}

.dot.red {
    background-color: var(--red);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    blockquote {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
}