/* ========================================
   FAROESTE BEER - PWA STYLESHEET
   Mobile First Approach
   Desenvolvido por: Denner Roque
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Oswald', sans-serif;
    background-color: #F0E3C2;
    background-image: url('../images/fundo.fw.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    contain: layout style paint;
}

/* ========================================
   HEADER FIXO
   ======================================== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #00693D;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.logo-header {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    will-change: transform;
    contain: layout style paint;
}

.logo-header:hover {
    transform: scale(1.05);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    flex: 1;
    margin-top: 90px;
    margin-bottom: 80px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.content-container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

/* ========================================
   HERO SECTION - TÍTULOS
   ======================================== */
.hero-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #00693D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.subtitle {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: #00693D;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* ========================================
   MENU DE BOTÕES
   ======================================== */
.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    animation: fadeInUp 1s ease-out;
}

.btn-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 500px;
    background-color: #00683D;
    color: #FFFFFF;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 100px;
    box-shadow: 0 6px 20px rgba(0, 104, 61, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid #8CDAB0;
    will-change: transform, box-shadow;
    contain: layout style paint;
}

.btn-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-menu:hover::before {
    left: 100%;
}

.btn-menu:hover {
    background-color: #008B4D;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 104, 61, 0.6);
}

.btn-menu:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 104, 61, 0.5);
}

.btn-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 20px;
    transition: transform 0.3s ease;
    will-change: transform;
    contain: layout style paint;
}

.btn-menu:hover .btn-icon {
    transform: rotate(10deg) scale(1.1);
}

.btn-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex: 1;
}

/* ========================================
   FOOTER FIXO
   ======================================== */
.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #00683D;
    color: #FFFFFF;
    padding: 15px 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media screen and (min-width: 768px) {
    .logo-header {
        height: 70px;
    }

    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .btn-menu {
        padding: 20px 35px;
    }

    .btn-icon {
        width: 60px;
        height: 60px;
    }

    .btn-text {
        font-size: 1.2rem;
    }

    .footer-text {
        font-size: 0.9rem;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP
   ======================================== */
@media screen and (min-width: 1024px) {
    .logo-header {
        height: 80px;
    }

    .main-content {
        margin-top: 110px;
    }

    .title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.75rem;
    }

    .btn-menu {
        padding: 22px 40px;
        max-width: 550px;
    }

    .btn-icon {
        width: 65px;
        height: 65px;
    }

    .btn-text {
        font-size: 1.3rem;
    }

    .footer-text {
        font-size: 0.95rem;
    }
}

/* ========================================
   RESPONSIVE - LARGE DESKTOP
   ======================================== */
@media screen and (min-width: 1440px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 2rem;
    }

    .btn-menu {
        max-width: 600px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 3px solid #FFD700;
    outline-offset: 3px;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .header-fixed,
    .footer-fixed {
        position: static;
    }

    .main-content {
        margin: 0;
    }

    .btn-menu {
        box-shadow: none;
        border: 2px solid #00683D;
    }
}
