﻿:root {
    --primary-color: #ffffff;
    --secondary-color: #c6dafc;
}

/* GENERAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* HEADER */
header {
    background: #1a73e8;
    color: white;
    padding: 20px;
    position: relative;
}

.header-top {
    background: white;
    color: #1a73e8;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 200px;
    height: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
}

/* --- MENÃš PRINCIPAL --- */
nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* SUBMENÃš */
nav ul li .dropdown {
    position: absolute;
    top: 35px;
    left: 0;
    background: white;
    padding: 10px 10px;
    list-style: none;
    min-width: max-content;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-radius: 6px;
    z-index: 100;

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;

    display: block;
}

nav ul li.submenu:hover .dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

nav ul li .dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 1.1rem;
    color: #333;
}

nav ul li .dropdown li a:hover {
    color: var(--secondary-color);
}

/* HAMBURGUESA */
.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    background: #1a73e8;
    margin: 5px 0;
    border-radius: 3px;
}

/* HEADER CONTENT */
.header-content {
    text-align: center;
    padding: 40px 20px;
}

.header-content h1 {
    margin: 0;
    font-size: 36px;
}

.header-content p {
    font-size: 18px;
    margin-top: 10px;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

.section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.section h2 {
    margin-top: 0;
    color: #1a73e8;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

/* PRICE BOX */
.price-box {
    text-align: center;
    background: #e8f0fe;
    border: 1px solid #c6dafc;
}

.precio {
    font-size: 28px;
    font-weight: bold;
    color: #1a73e8;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    nav ul {
        display: none;
        flex-direction: column;
        background: #1a73e8;
        padding: 20px;
        border-radius: 10px;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 15px;
    }

    nav ul li a {
        font-size: 1.4rem;
    }

    nav ul li .dropdown {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        background: #0f5ec4;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        display: none;
    }

    nav ul li.submenu.open .dropdown {
        display: block;
    }

    nav ul li .dropdown li a {
        color: white;
        padding-left: 30px;
    }

    .hamburger {
        display: block;
    }
}
