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

body {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    color: #333;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    color: #000;
}

.no-underline {
    text-decoration: none;
    color: inherit;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 0;
    margin-left: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 100%;
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease;
}

.social-link:hover svg {
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-item {
        margin-left: 0;
    }
    
    .social-link {
        padding: 10px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}
.description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
}
.title {
    font-size: 48px;
    font-weight: 700;
    margin: 100px 0 24px;
    line-height: 1.2;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.title {
    text-align: center;
    color: #333;
    font-size: 2.5rem;
    margin: 2rem 0;
    margin-top: 100px;
    font-weight: 600;
    line-height: 1.3;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.achievements ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.achievements li {
    margin-bottom: 0.8rem;
    position: relative;
    list-style-type: none;
}

.achievements li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 15px;
    }

    .title {
        font-size: 2rem;
        margin: 1.5rem 0;
    }

    .description {
        font-size: 1rem;
        line-height: 1.5;
    }
}

.competition-detail {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tag {
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.title {
    font-size: 3rem;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.2;
}

.highlight {
    border-left: 4px solid #007bff;
    padding-left: 20px;
    font-size: 1.2rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.achievement-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.position {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
    display: block;
    margin-bottom: 10px;
}

.achievement-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.achievement-card p {
    color: #666;
    font-size: 0.9rem;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* Add these new styles */

.hero-competition {
    position: relative;
    height: 80vh;
    background-image: url('../fotos/winPhoto.JPG'); /* Add your background image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-competition .title {
    color: white;
    font-size: 3.5rem;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-competition .tag {
    margin-bottom: 30px;
}

.medal-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px 40px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.medal-icon {
    font-size: 3.5rem;
}

.medal-details {
    text-align: left;
    color: #333;
}

.medal-details h3 {
    font-size: 1.5rem;
    margin: 0 0 5px 0;
}

.medal-details p {
    margin: 0;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-competition .title {
        font-size: 2.5rem;
    }

    .medal-box {
        padding: 15px 25px;
        flex-direction: column;
        text-align: center;
    }

    .medal-details {
        text-align: center;
    }
}