/* style.css - Arquivo de estilos para o site Arte da Foto */

/* ==========================================================================
   VARIÁVEIS E RESET
   ========================================================================== */
:root {
    /* Cores */
    --primary-color: #dfeaf7; *(#f8f9fa)*
    --secondary-color: #e9ecef;
    --accent-color: #a5d8ff;
    --text-color: #495057;
    --dark-text: #212529;
    --white: #ffffff;
    --black: #000000;
    --red: #2258a3;

    /* Sombras */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.1);
    
    /* Espaçamentos */
    --section-padding: 80px;
    --mobile-section-padding: 60px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Tipografia */
h1, h2, h3, h4 {
    color: var(--dark-text);
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Classes utilitárias */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-text);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #74c0fc;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

/* ==========================================================================
   COMPONENTES PRINCIPAIS
   ========================================================================== */

/* Cabeçalho */
.header {
    background-color: var(--red);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
     margin: 0;
}

.nav ul {
    display: flex;
    list-style: none;
    color: var(--white);
}

.nav ul li {
    margin-left: 30px;
    position: relative;
}

.nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav ul li a:hover {
    color: var(--accent-color);
}

.nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
}

/* Botão WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Banner Inicial */
.banner {
    padding: 150px 0 var(--section-padding);
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.banner-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
    animation: fadeInLeft 1s ease;
}

.banner-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.banner-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.banner-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    animation: fadeInRight 1s ease;
}

.banner-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.5s ease;
}

.banner-image img:hover {
    transform: scale(1.03);
}

/* Seção Sobre */
.about {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.about .container {
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.about-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.feature {
    flex: 1;
    min-width: 250px;
    padding: 30px 20px;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
}

/* Seção Produtos */
.products {
    padding: var(--section-padding) 0;
    background-color: var(--primary-color);
}

.products .container {
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
}

.product-card h3 {
    margin-bottom: 10px;
}

.product-card p {
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Galeria */
.gallery {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.gallery .container {
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* Seção Contato */
.contact {
    padding: var(--section-padding) 0;
    background-color: var(--primary-color);
}

.contact .container {
    text-align: center;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 30px;
    text-align: left;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

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

.whatsapp-btn {
    margin-top: 20px;
    background-color: #25D366;
    color: white;
    width: 100%;
    text-align: center;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-media a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.social-media a:hover {
    color: var(--accent-color);
    background-color: #e9ecef;
}

/* Rodapé */
.footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #adb5bd;
}

.footer-links h4,
.footer-news h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

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

.footer-links ul li a {
    color: #adb5bd;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 0.9rem;
}

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 992px) {
    .banner-text h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--mobile-section-padding);
    }

    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
    }

    .nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .banner {
        padding-top: 120px;
    }
    
    .banner .container {
        flex-direction: column;
    }
    
    .banner-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .about-features {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .banner-text h2 {
        font-size: 1.8rem;
    }

    .product-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}