/* Reset e Variáveis */
:root {
    --primary-color: #ff6600;
    --secondary-color: #000;
    --text-color: #333;
    --bg-color: #fff;
    --border-color: #ddd;
    --success-color: #28a745;
    --error-color: #dc3545;
    --font-size-base: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #f8f9fa;
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left a,
.header-top-right a {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 15px;
}

.btn-accessibility {
    background: none;
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    cursor: pointer;
    margin-right: 5px;
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
}

.search-bar {
    flex: 1;
    max-width: 500px;
}

.search-bar form {
    display: flex;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-link {
    position: relative;
    color: var(--text-color);
    font-size: 20px;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.user-menu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    min-width: 200px;
    margin-top: 4px;
    z-index: 1100;
}

.user-menu.open .dropdown {
    display: block;
}

.user-menu .dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.user-menu .dropdown a:hover {
    background: #f8f9fa;
}

/* Navigation */
.main-nav {
    background: var(--secondary-color);
    padding: 12px 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    margin-bottom: 40px;
}

.hero-carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 40px 0;
}

.hero-content h2 {
    color: white;
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-content p {
    color: white;
    font-size: 20px;
    margin-bottom: 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Sections */
.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.destaques-section,
.eventos-section {
    padding: 40px 0;
}

/* Eventos Grid */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.evento-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.evento-card a {
    text-decoration: none;
    color: inherit;
}

.evento-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.evento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evento-info {
    padding: 15px;
}

.evento-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.evento-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.evento-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.evento-local {
    font-size: 14px;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #e55a00;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #333;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    .search-bar {
        max-width: 100%;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .eventos-grid {
        grid-template-columns: 1fr;
    }
}
