/* ===== FONT: GOTHAM BOLD ===== */
@font-face {
    font-family: 'Gotham Bold';
    src: url('fonts/Gotham-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}


/* ===== ROOT COLORS ===== */
:root {
    --main-color: #39505b;
    --text-color: #ffffff;
    --light-text: #d1d5db;
}

/* ===== GENERAL ===== */
body {
    margin: 0;
    font-family: 'Gotham Bold', sans-serif;
    background: #39505b; /* Azul petróleo se queda */
    color: var(--text-color);
    font-size: 18px; /*Texto general */
}

h1 {
    font-size: 52px; /* Título principal */
}

h2 {
    font-size: 36px; /* Subtítulos */
}

h3 {
    font-size: 26px;
}

.section {
    text-align: center;
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
}

/* ===== NAVBAR ===== */
header {
    width: 100%;
    background-color: #ffffff18;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navbar items */
.navbar {
    display: flex;
    gap: 30px;
    width: 50%;
    align-items: center;
    justify-content: space-between;
}

/* ===== LOGO ===== */
.logo-img {
    position: absolute;
    top: 18px;
    right: 90px;
    width: 200px;
}

/* ===== NAV LINKS ===== */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 17px; /*tamaño menú */
    transition: 0.3s;
}

.nav-links li a:hover {
    opacity: 0.6;
}

/* ===== SOLUTIONS CARDS ===== */
.solutions-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.solution-card {
    width: 260px;
    padding: 22px;
    border-radius: 14px;
    background: #ffffff; /* FONDO BLANCO */
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 18px;
    color: #39505b; /* TEXTO AZUL PETRÓLEO */
    text-align: center;
}

/* Textos dentro de tarjeta */
.solution-card h3 {
    color: #39505b;
    font-size: 22px;
    font-weight: bold;
}

.solution-card p {
    color: #2e3f47; /* Texto secundario más oscuro */
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* Placeholder imágenes */
.img-placeholder {
    width: 100%;
    height: 140px;
    background: rgba(57, 80, 91, 0.15); /* Azul petróleo suave */
    border: 1px dashed #39505b;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #39505b;
    margin-bottom: 15px;
    font-weight: bold;
}

/* ===== CONNECT ===== */
#connect {
    text-align: center;
}

.connect {
    list-style: none;
    padding: 0;
    margin: 0;
}

.connect li {
    margin: 6px 0;
    font-size: 18px;
}

/* ===== PLATFORM LIST ===== */
.platform-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    font-size: 18px;
    line-height: 2;
}

.platform-list a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.platform-list a:hover {
    text-decoration: underline;
    opacity: .85;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 14px; /* footer */
    color: var(--light-text);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    /* LOGO Y NAV - YA NO SE ENCIMA */
    header {
        flex-direction: column;
        text-align: center;
        gap: 15px;  /* espacio entre logo y menú */
    }

    .logo-img {
        position: static; /* no se tapará el menu*/
        width: 150px; /* tamaño móvil */
        margin-bottom: 10px;
    }

    .nav-links {
        gap: 18px;
        justify-content: center;
        flex-wrap: wrap; /* por si no cabe en una línea */
    }

    h1 { font-size: 40px; }
    h2 { font-size: 28px; }
    body { font-size: 16px; }
}

/* ===== CELULARES (≤480px) ===== */
@media (max-width: 480px) {
    
    header {
        flex-direction: column;
        padding: 10px 20px;
        text-align: center;
    }

    .navbar {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .logo-img {
        position: static;
        width: 140px;
        margin-bottom: 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 22px;
    }

    .solutions-container {
        flex-direction: column;
        align-items: center;
    }

    .solution-card {
        width: 85%;
        font-size: 16px;
    }

    .platform-list {
        font-size: 16px;
    }
}
