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

body {
    font-family: 'Outfit', sans-serif;
    color: #333;
    background: linear-gradient(to bottom, #ffffff, #f7f7f7);
    line-height: 1.6;
}

section {
    padding: 5rem 1rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.section-text {
    text-align: center;
    color: #666;
    max-width: 42rem;
    margin: 0 auto;
}

/* Header */
.fixed-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 3rem;
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        gap: 1.5rem;
        font-size: 0.875rem;
        font-weight: 500;
    }
}

.main-nav a {
    color: inherit;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #f9c700;
    transition: width 0.3s;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    border-bottom: 1px solid #eaeaea;
    margin-top: 4.5rem;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.7s ease;
    opacity: 0;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

.nav-arrow.prev {
    left: 1rem;
}

.nav-arrow.next {
    right: 1rem;
}

/* About Section */
.about-section {
    max-width: 48rem;
    margin: 0 auto;
}

/* Portfolio Section */
.portfolio-section {
    max-width: 72rem;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 640px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    transition: transform 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.modal.active {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 2.5rem;
    height: 5rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-nav.prev {
    left: 1rem;
}

.modal-nav.next {
    right: 1rem;
}

/* Contact Section */
.contact-section {
    max-width: 36rem;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
}

.contact-form button {
    background-color: #f9c700;
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.1s;
    align-self: flex-start;
}

.contact-form button:hover {
    background-color: #e9b800;
}

.contact-form button:active {
    transform: scale(0.97);
}

.success-message {
    color: #16a34a;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: #25d366;
    color: white;
    border-radius: 9999px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-button:hover {
    background-color: #1fac54;
}

.whatsapp-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Footer */
.main-footer {
    text-align: center;
    font-size: 0.875rem;
    padding: 1.5rem 1rem;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #6b7280;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #e91e63;
}

.behance-icon {
    width: 1.25rem;
    height: 1.25rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.behance-icon:hover {
    opacity: 1;
}
