/*
 Theme Name:   SABE
 Description:  Theme for Sistema Areguá de Bolsas Estudantis
 Version:      1.0.0
 Author:       pedger
 Text Domain:  sabe
 License:      GPL-2.0-or-later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
*/

/* -----------------------------------------------
   Base reset / typography
   ----------------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
                 Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: #0073aa;
}

img {
    max-width: 100%;
    height: auto;
}

:root{
    --primary: #0073aa;
    --primary-dark: #005f8d;
    --muted: #f6f7f9;
    --content-width: 1100px;
}

/* Page container */
.site-header-inner,
.site-info,
.site-main {
    max-width: var(--content-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 1.25rem;
}

/* Header layout */
.site-header {
    background: var(--muted);
    border-bottom: 1px solid #e6e9ee;
}

.site-header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-logo {
    height: 56px;
    width: auto;
    display: block;
}

.main-navigation {
    flex: 1 1 auto;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.main-navigation a {
    color: #222;
    text-decoration: none;
    padding: 0.4rem 0.2rem;
    font-weight: 600;
}

.header-actions {
    margin-left: 1rem;
}

.student-login-btn {
    display: inline-block;
    padding: 0.6rem 1rem;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}

/* Hero */
.site-hero {
    background: linear-gradient(180deg, rgba(0,115,170,0.05), rgba(255,255,255,0));
    padding: 3.5rem 0;
    text-align: center;
}

.site-hero h1 {
    margin: 0 0 0.6rem;
    font-size: 2.4rem;
    color: var(--primary-dark);
}

.site-hero p.lead {
    margin: 0 0 1rem;
    color: #444;
    font-size: 1.1rem;
}

.hero-cta {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

/* Footer tweaks */
.site-footer {
    background: #111;
    color: #ddd;
    padding: 2rem 0;
}

.site-footer a { color: #fff; }

@media (max-width: 780px) {
    .site-header-inner { flex-direction: column; align-items: stretch; }
    .main-navigation ul { flex-wrap: wrap; justify-content: center; }
}

/* Header layout and student login button */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.main-navigation {
    margin-left: 2rem;
}

.header-actions {
    margin-left: auto;
}

.student-login-btn {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    background: #0073aa;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 0 rgba(0,0,0,0.06);
}

.student-login-btn:hover,
.student-login-btn:focus {
    background: #005f8d;
    color: #fff;
}

@media (max-width: 700px) {
    .site-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    .main-navigation {
        margin-left: 0;
    }
    .header-actions {
        display: flex;
        justify-content: flex-end;
    }
}
