/* 
   LetsBrasil Website Stylesheet
   Mobile-first responsive design
   Created: July 2025
*/

/* Reset and base styles */
:root {
    --primary: #019d4e;         /* Brazilian green */
    --secondary: #f8e71c;       /* Brazilian yellow */
    --accent: #002776;          /* Brazilian blue */
    --text: #333333;
    --light-text: #ffffff;
    --background: #ffffff;
    --light-bg: #f9f9f9;
    --dark-bg: #222222;
    --border: #dddddd;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 4px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.primary {
    background-color: var(--primary);
    color: var(--light-text);
    border: 2px solid var(--primary);
}

.primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.secondary {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

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

/* Header & Navigation */
header {
    background-color: var(--background);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 15px 0;
}

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

.logo img {
    height: auto;
}

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

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

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--background);
    padding: 80px 20px 20px;
    transition: var(--transition);
    z-index: 100;
    box-shadow: var(--shadow);
    list-style: none;
}

.main-menu.active {
    right: 0;
}

.main-menu li {
    margin: 15px 0;
}

.main-menu a {
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 39, 118, 0.8), rgba(1, 157, 78, 0.8)), url('../assets/hero-bg.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    padding-top: 70px;
}

.hero h1 {
    color: var(--light-text);
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Destination Section */
.destinations {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.destination-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.destination-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.destination-card h3, 
.destination-card p {
    padding: 0 20px;
}

.destination-card h3 {
    margin-top: 20px;
}

.destination-card p {
    padding-bottom: 20px;
}

/* Culture Section */
.culture {
    padding: 80px 0;
}

.culture-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.culture-text, 
.culture-image {
    width: 100%;
}

.culture-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Entertainment Section */
.entertainment {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.entertainment p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.entertainment-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.entertainment-card {
    background-color: var(--background);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.game-links {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.game-links ul {
    list-style: none;
    margin: 10px 0 20px;
}

.game-links li {
    margin-bottom: 8px;
}

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

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

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: var(--accent);
    color: var(--light-text);
    text-align: center;
    border-radius: 50%;
    transition: var(--transition);
}

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

.contact-form {
    flex: 2;
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    font-family: inherit;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

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

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

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

.footer-icon {
    margin-left: auto;
}

.footer-links h3, 
.footer-newsletter h3 {
    color: var(--light-text);
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
}

.footer-newsletter button {
    padding: 0 15px;
    background-color: var(--primary);
    color: var(--light-text);
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background-color: var(--secondary);
    color: var(--text);
}

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

/* Responsive Design */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .destination-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .culture-content {
        flex-direction: row;
    }
    
    .culture-text, 
    .culture-image {
        width: 50%;
    }
    
    .entertainment-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        flex-direction: row;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
        display: flex;
    }
    
    .main-menu li {
        margin: 0 0 0 20px;
    }
    
    .destination-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .entertainment-options {
        grid-template-columns: repeat(4, 1fr);
    }
}
