/* ===========================================
   INDEX.CSS - Estilos Globais
   Alcimar Vilela - Fotografia
   =========================================== */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container Principal */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   NAVEGAÇÃO
   =========================================== */
.navbar {
    background-color: #737373;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    padding-right: 0px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    justify-content: flex-end;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 35px;
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.15);
}

.nav-item.active .nav-link {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Botão Área do Cliente */
.nav-link-login {
    display: flex !important;
    align-items: center;
    gap: 8px;
    background: #00bf63 !important;
    border-radius: 25px;
    margin-left: 10px;
    padding: 10px 20px !important;
}

.nav-link-login:hover {
    background: #00a854 !important;
    transform: translateY(-2px);
}

.nav-link-login svg {
    flex-shrink: 0;
}

.nav-item.active .nav-link-login {
    text-decoration: none;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px;
    background: transparent;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ===========================================
   CONTEÚDO PRINCIPAL
   =========================================== */
.main-content {
    min-height: calc(100vh - 60px);
}

/* ===========================================
   SEÇÕES
   =========================================== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ===========================================
   BOTÕES
   =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #737373;
    color: #fff;
}

.btn-primary:hover {
    background-color: #5a5a5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1da851;
}

.btn-dark {
    background-color: #1a1a1a;
    color: #fff;
}

.btn-dark:hover {
    background-color: #333;
}

/* ===========================================
   CARDS E GRID
   =========================================== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===========================================
   GALERIA
   =========================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===========================================
   REDES SOCIAIS
   =========================================== */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

.social-link img {
    width: 30px;
    height: 30px;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: #999;
    font-size: 14px;
}

/* ===========================================
   UTILITÁRIOS
   =========================================== */
.text-center {
    text-align: center;
}

.text-white {
    color: #fff;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

/* ===========================================
   RESPONSIVO
   =========================================== */

/* Tablet Grande (max 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-link {
        padding: 18px 25px;
        font-size: 14px;
    }
}

/* Tablet (max 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-img {
        height: 250px;
    }
}

/* Mobile Landscape / Tablet Pequeno (max 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Menu Hamburger */
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .navbar .container {
        position: relative;
        padding: 15px 20px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #737373;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-item.active::after {
        display: none;
    }
    
    /* Grid */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Hero */
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    /* Seções */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Cards */
    .card-img {
        height: 220px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    /* Social */
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link img {
        width: 24px;
        height: 24px;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0;
    }
    
    .footer p {
        font-size: 13px;
    }
}

/* Mobile (max 576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/5;
    }
}

/* Mobile Pequeno (max 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link img {
        width: 20px;
        height: 20px;
    }
}
