* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #101010; /* true black */
    color: #f5f5f5; /* off-white for readability */
    line-height: 1.6;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #141414;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    flex: 1;
    color: #f5f5f5;
    letter-spacing: 1px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1200;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu {
    position: fixed;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100vh;
    background-color: #181818;
    z-index: 1100;
    padding-top: 80px;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0,0,0,0.4);
}

.menu.active {
    left: 0;
}

.menu ul {
    list-style: none;
    padding: 0 2rem;
}

.menu ul li {
    margin-bottom: 2rem;
}

.menu ul li a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #d90000; /* Spanish flag red */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

main {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    background-color: #101010;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f5f5f5;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #e0e0e0;
}

.content {
    padding: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-size: 2.5rem;
    color: #f5f5f5;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #d90000, #ffcc00, #d90000); /* Spanish flag colors */
}

.feature-section {
    margin-bottom: 6rem;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
}

.feature-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(217, 0, 0, 0.08); /* Red accent when hovered */
}

.feature-icon {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    font-size: 7rem;
    color: #d90000; /* Spanish flag red */
    background-color: rgba(217, 0, 0, 0.08);
    height: 100%;
}

.feature-content {
    flex: 1;
    padding: 3rem;
}

.feature-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: #f5f5f5;
}

.feature-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #d90000; /* Spanish flag red */
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.notice {
    background-color: rgba(217, 0, 0, 0.08);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    border-left: 5px solid #d90000;
    color: #f5f5f5;
}

footer {
    background-color: #1a1a1a;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    color: #cccccc;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-link {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #d90000;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .feature-section {
        flex-direction: column;
    }

    .feature-icon {
        width: 100%;
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1rem;
    }

    .menu {
        width: 70%;
        left: -70%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-icon {
        font-size: 5rem;
        padding: 2rem;
    }

    .feature-content {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .home-link {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem;
    }

    .content {
        padding: 1rem;
    }

    .menu {
        width: 80%;
        left: -80%;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-icon {
        font-size: 4rem;
        padding: 1.5rem;
    }

    .feature-content {
        padding: 1.5rem;
    }
}