/*
   Nao Tenho Site - Main Stylesheet
   Mobile-first, responsive design with modern aesthetics
*/

/* === Base Styles & Variables === */
:root {
    /* Color palette - completely different from previous site */
    --primary: #3498db;
    --secondary: #2ecc71;
    --accent: #f39c12;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #95a5a6;
    --gray-light: #f4f6f7;
    --gray-dark: #7f8c8d;
    
    /* Typography */
    --font-main: 'Roboto', 'Segoe UI', sans-serif;
    --font-headings: 'Montserrat', 'Arial', sans-serif;
    
    /* Effects */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 20px rgba(0, 0, 0, 0.15);
    --radius: 6px;
    --transition: all 0.25s ease;
}

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

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

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

a:hover {
    color: var(--dark);
    text-decoration: none;
    opacity: 0.9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 1.75rem;
    color: var(--primary);
}

h2 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0.6rem auto 0;
}

h3 {
    font-size: 1.3rem;
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 3rem 0;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-align: center;
}

.btn:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

/* === Header Styles === */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    margin-right: 0.75rem;
}

nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
    text-align: center;
}

.nav-menu.active {
    display: block;
}

.nav-menu li {
    margin: 0.75rem 0;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary);
}

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

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.hero h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero h2::after {
    background: var(--white);
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* === Tools Section === */
.tools {
    background-color: var(--white);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary);
}

.card:nth-child(2) {
    border-top-color: var(--accent);
}

.card:nth-child(3) {
    border-top-color: var(--secondary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.card svg {
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.75rem;
}

/* === Resources Section === */
.resources {
    background-color: var(--gray-light);
}

.resource-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.resource-category h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.resource-category ul li {
    margin-bottom: 0.75rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.75rem;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.resource-category ul li:hover {
    box-shadow: var(--shadow);
}

.resource-category a {
    display: block;
    color: var(--dark);
    font-weight: 500;
}

.resource-category a:hover {
    color: var(--primary);
}

.disclaimer {
    text-align: center;
    color: var(--gray-dark);
    font-style: italic;
    font-size: 0.9rem;
}

/* === Contact Section === */
.contact {
    background: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    font-family: var(--font-main);
    transition: var(--transition);
}

input:focus, textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.contact .btn {
    width: 100%;
    background: var(--secondary);
}

.contact .btn:hover {
    background: var(--primary);
}

/* === Footer === */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo svg {
    margin-right: 0.75rem;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--gray-light);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: var(--gray);
}

/* === Media Queries === */
@media (min-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        display: flex;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }
    
    .nav-menu li {
        margin: 0 0 0 1.5rem;
    }
    
    .nav-menu a {
        padding: 0;
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .resource-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .hero {
        padding: 7rem 0;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}

/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
