@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@400;700&family=Black+Ops+One&display=swap');

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

html {
    scroll-behavior: smooth; /* Enable smooth scrolling */
  }
  
  body {
    /* Font stack: Anton for titles, Roboto for body, fallback */
    font-family: 'Roboto', sans-serif;
    /* Removing single page background, reverting to section-specific backgrounds */
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95)),
    url('https://www.transparenttextures.com/patterns/dark-mosaic.png') repeat;
    background-size: cover;
    color: #e0e0e0; /* Slightly off-white */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffcc00; /* Gold accent on hover */
}

header {
    padding: 15px 40px; /* Slightly reduced padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(10, 10, 10, 0.8); /* Dark semi-transparent header */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed; /* Keep header fixed at top */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    gap: 20px; /* Add gap between flex items */
}

/* Add a container for right-aligned items */
.header-right-items {
    display: flex;
    align-items: center;
    gap: 15px; /* Gap between language selector and button */
}

.logo {
    font-family: 'Anton', sans-serif; /* Or a specific logo font/image */
    font-size: 1.8rem;
    font-weight: bold;
    /* color: #ffcc00; */ /* Base color will be white now */
    color: #e0e0e0;
    text-transform: uppercase;
    line-height: 1; /* Adjust line height for stacked text */
}

.logo-main {
    display: block; /* Make spans stack */
}

.logo-subtitle {
    display: block; /* Make spans stack */
    color: #ffcc00; /* Gold accent for Donación */
    font-size: 1.5rem; /* Slightly smaller subtitle */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.header-cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #111;
    background-color: #ffcc00; /* Gold background */
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.header-cta-button:hover {
    background-color: #cca300; /* Darker gold */
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 0; /* No bottom padding on main */
}

.content-section {
    width: 100%;
    padding: 80px 0; /* Vertical padding only */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Separator line remains */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Add Inner Container for Content Width */
.section-inner-content {
    max-width: 1200px; /* Max width for the actual content */
    margin: 0 auto; /* Center the content */
    padding: 0 40px; /* Horizontal padding for content */
    text-align: center; /* Center text within the inner container */
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffcc00;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* New Operaciones Grid Layout */
.operaciones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on wider screens */
    gap: 30px; /* Space between grid items */
    margin-top: 30px; /* Space below the main h2 */
}

.operacion-item {
    background-color: rgba(255, 255, 255, 0.05); /* Subtle background */
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center; /* Center content within the item */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.operacion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.operacion-item h3 {
    font-family: 'Anton', sans-serif;
    color: #ffcc00; /* Gold accent for titles */
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.operacion-item p {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.5;
}

/* Video Section Styling */
.video-container {
    /* Removed position, padding-bottom, height, overflow */
    max-width: 700px; /* Adjust this value to make video smaller/larger */
    margin: 20px auto; /* Centers the container */
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Style the video element itself */
.video-container video {
    display: block; /* Removes extra space below video */
    width: 100%;   /* Make video fill its container */
    height: auto;  /* Maintain aspect ratio */
}

/* Soporte Section Styling */
#soporte p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #bbb;
}

.support-info p {
    margin-bottom: 10px;
}

.support-info a {
    color: #ffcc00; /* Highlight links */
    font-weight: bold;
}

.support-info a:hover {
    text-decoration: underline;
}

.cta-button {
    display: inline-block;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: bold;
    color: #e0e0e0;
    background-color: transparent;
    border: 2px solid #ffcc00; /* Gold border */
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #ffcc00; /* Gold background on hover */
    color: #111; /* Dark text on hover */
}

footer {
    padding: 25px;
    text-align: center;
    margin-top: auto;
    background-color: rgba(10, 10, 10, 0.8); /* Match header background */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Ensure Operaciones text within the inner container is left-aligned on desktop */
#operaciones .section-inner-content {
    text-align: left;
}
#inicio {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)),
              url('https://c4.wallpaperflare.com/wallpaper/192/29/272/art-watercolor-soldiers-pencil-wallpaper-preview.jpg') 
              no-repeat center center;
  background-size: cover;
}

#operaciones .operaciones-grid {
    /* Grid remains centered due to parent text-align:center if we didn't override */
    /* If we keep text-align left, we might need margin: auto on grid */
}

#operaciones h2 { /* Center the main H2 for this section */
    text-align: center;
}

.fondo-compartido {
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)),
              url('https://c4.wallpaperflare.com/wallpaper/192/29/272/art-watercolor-soldiers-pencil-wallpaper-preview.jpg') 
              no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
}

/* Asegúrate de que estas secciones NO tengan fondo propio */
#inicio, #que-es {
  background: none;
  margin: 0;
  padding: 100px 0; /* Puedes ajustar este padding para el espaciado interno */
  border: none;
}

.inicio-section h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3.5rem, 10vw, 7rem);
    margin-bottom: 5px; /* Reduced margin */
    text-transform: uppercase;
    color: #fff;
    line-height: 1.0;
    letter-spacing: 2px;
}

.inicio-section .subtitle {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: #ffcc00;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inicio-section p {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: #ccc;
    max-width: 650px;
    margin: 0 auto;
}

.inicio-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 30px;
}

/* Quitar fondo accidental en #que-es */

#operaciones {
    /* Restore background properties */
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url('https://images.steamusercontent.com/ugc/874119751170955132/697C9A90DC94504B164A0153BD50C0DBD194B5AD/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false') no-repeat center center;
    background-size: cover;
}

#video {
    /* Restore background properties */
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('https://getwallpapers.com/wallpaper/full/9/5/9/1216059-new-ww2-wallpapers-1920x1080.jpg') no-repeat center center;
    background-size: cover;
}

#soporte {
    /* Restore background properties */
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url('https://p4.wallpaperbetter.com/wallpaper/100/88/856/call-of-duty-world-at-war-world-war-ii-call-of-duty-helmet-wallpaper-preview.jpg') no-repeat center center;
    background-size: cover;
}

/* Restore rule for .operacion-item img */
.operacion-item img {
    max-width: 250px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px; /* Optional: round image corners */
}

.donacion-info {
    margin: -50px 0 12px 0;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.55);
    border-radius: 12px;
    padding: 16px 18px 10px 18px;
    font-size: 1.15rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.donacion-info strong {
    font-size: 1.25rem;
    color: #ffd700;
    letter-spacing: 0.5px;
}
.donacion-info ul {
    list-style: disc;
    text-align: left;
    margin: 8px 0 8px 1.5em;
    color: #fff;
    font-size: 1.08rem;
}
/* Responsive adjustments */
@media (max-width: 992px) { /* Adjust breakpoint if needed */
    .operaciones-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        position: relative;
    }
    nav ul {
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .header-cta-button {
        margin-top: 10px;
    }
    
    .content-section {
        padding: 60px 0; /* Adjust vertical padding for mobile */
    }
    .section-inner-content {
        padding: 0 20px; /* Reduce horizontal padding on mobile */
    }
    .operaciones-grid {
        grid-template-columns: 1fr; /* Stack to 1 column on mobile */
        gap: 25px;
    }
    .operacion-item {
        padding: 20px;
    }
    .operacion-item h3 {
        font-size: 1.4rem;
    }
    .inicio-section h1 {
        font-size: 3rem;
    }
    .inicio-section .subtitle {
        font-size: 2.2rem;
    }
    .inicio-section p {
        font-size: 1rem;
    }
    /* Ensure text alignment remains correct on mobile */
    #operaciones .section-inner-content {
        text-align: center;
    }
}

/* Make sure inner content alignment is correct */
/* Remove #que-es from this rule if its background is transparent */
#video .section-inner-content,
#soporte .section-inner-content {
    text-align: center;
}

