/* 
* PIN-UP Brazil Website Styles
* Created: July 18, 2025
* Fully responsive design with mobile-first approach
* Brazilian color scheme with modern UI elements
*/

/* ---------- Variables and Reset ---------- */
:root {
    --primary: #002776;    /* Brazilian blue */
    --secondary: #009c3b;  /* Brazilian green */
    --accent: #ffdf00;     /* Brazilian yellow */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #777777;
    --bg-light: #f5f5f5;
    --bg-dark: #121212;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-header h2:after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ---------- Header & Navigation ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-container img {
    height: 60%;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu li a {
    font-weight: 600;
    color: var(--primary);
    position: relative;
    padding: 5px 0;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-menu li a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #001b57;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 39, 118, 0.2);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #00772d;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 156, 59, 0.2);
}

.btn-outlined {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outlined:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* ---------- Hero Section ---------- */
.hero-section {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, rgba(0, 39, 118, 0.8), rgba(0, 156, 59, 0.7)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23121212"/><circle cx="50" cy="50" r="40" fill="%23002776"/><polygon points="50,20 61,43 86,43 66,58 74,83 50,67 26,83 34,58 14,43 39,43" fill="%23ffdf00"/></svg>') center/cover;
    color: var(--text-light);
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1, .hero-content h2 {
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.hero-features {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 60px auto 0;
    gap: 20px;
}

.feature {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    flex: 1;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

/* ---------- Games Section ---------- */
.games-section {
    background-color: #fff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.game-card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.game-thumbnail {
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-icon {
    font-size: 3rem;
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    margin-bottom: 10px;
}

.game-info p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.game-info a {
    font-weight: 600;
    color: var(--secondary);
}

.game-info a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.games-news {
    background-color: #f9f9f9;
    border-radius: var(--radius);
    padding: 30px;
}

.news-list {
    margin-top: 20px;
}

.news-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-date {
    background-color: var(--primary);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 15px;
    white-space: nowrap;
}

/* ---------- Promotions Section ---------- */
.promotions-section {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.promo-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.promo-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.promo-card h3 {
    margin-bottom: 15px;
}

.promo-card p {
    margin-bottom: 25px;
    color: var(--text-gray);
}

/* ---------- About Section ---------- */
.about-section {
    background-color: var(--primary);
    color: var(--text-light);
}

.about-section h2 {
    color: var(--text-light);
}

.about-section h2:after {
    background: linear-gradient(to right, var(--accent), var(--secondary));
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 20px;
}

/* ---------- Features Section ---------- */
.features-section {
    background: linear-gradient(135deg, #fff, #f5f5f5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-gray);
}

/* ---------- Contact Section ---------- */
.contact-section {
    background-color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 156, 59, 0.1);
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

footer h3 {
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    margin-bottom: 15px;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #bbb;
}

footer a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 1.5rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

/* ---------- Media Queries ---------- */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-features {
        flex-wrap: wrap;
    }
    
    .feature {
        flex-basis: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    header {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .cta-buttons {
        display: none;
    }
    
    .hero-section {
        padding: 130px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature {
        flex-basis: 100%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .games-grid,
    .promotions-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
}
