/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Paleta de cores para nicho pet/dog */
:root {
    --primary: #ff8c42; /* Laranja quente - energia e diversão */
    --primary-dark: #e67e22;
    --secondary: #3498db; /* Azul - confiança e tranquilidade */
    --secondary-dark: #2980b9;
    --accent: #2ecc71; /* Verde - saúde e natureza */
    --light: #f9f9f9;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --light-gray: #ecf0f1;
    --brown: #a0522d; /* Marrom - cor de pelagem canina */
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-dark);
}

/* Cabeçalho */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo-area {
    display: flex;
    flex-direction: column;
}

.logo {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 0;
}

.slogan {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: -5px;
}

/* Menu de navegação */
.main-nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0 10px;
}

.main-nav a {
    display: flex;
    align-items: center;
    color: var(--dark);
    font-weight: 600;
    padding: 10px;
    border-radius: 4px;
}

.main-nav a:hover, .main-nav a.active {
    background-color: var(--light-gray);
    color: var(--primary);
}

.main-nav i {
    margin-right: 5px;
}

/* Caixa de busca */
.search-box {
    display: flex;
}

.search-box input {
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.search-box button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-box button:hover {
    background-color: var(--primary-dark);
}

/* Conteúdo principal */
.main-content {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 20px;
    gap: 30px;
}

.content {
    flex: 3;
    min-width: 300px;
}

.sidebar {
    flex: 1;
    min-width: 250px;
}

/* Post em destaque */
.featured-post {
    margin-bottom: 40px;
}

.featured-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px;
}

.featured-tag {
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.featured-overlay h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.featured-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Cards de posts */
.posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
}

.post-image {
    flex: 1;
    min-width: 250px;
    height: 250px;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.post-content {
    flex: 2;
    min-width: 300px;
    padding: 25px;
}

.post-content h3 {
    margin-bottom: 10px;
}

.post-content h3 a {
    color: var(--dark);
}

.post-content h3 a:hover {
    color: var(--primary);
}

.post-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.post-meta i {
    margin-right: 5px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    margin-top: 15px;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Sidebar */
.sidebar-widget {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--dark);
}

/* Categorias na sidebar */
.categories {
    list-style: none;
}

.categories li {
    border-bottom: 1px solid var(--light-gray);
    padding: 10px 0;
}

.categories li:last-child {
    border-bottom: none;
}

.categories a {
    display: flex;
    justify-content: space-between;
    color: var(--dark);
}

.categories a:hover {
    color: var(--primary);
}

.categories span {
    background-color: var(--light-gray);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Posts populares */
.popular-post {
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.popular-post:last-child {
    border-bottom: none;
}

.popular-post h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.popular-post h4 a {
    color: var(--dark);
}

.popular-post h4 a:hover {
    color: var(--primary);
}

/* Newsletter */
.newsletter p {
    margin-bottom: 15px;
}

.newsletter input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Rodapé */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--gray);
}

.footer-links h4, .footer-social h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray);
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
}

.social-icons a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

/* Estilos para páginas internas */
.page-header {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    color: var(--primary);
}

.page-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Página Sobre */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-text li {
    margin-bottom: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.value-item {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.value-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.team-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

/* Página Contato */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form-container {
    flex: 2;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}

.social-contact {
    margin-top: 40px;
}

/* Formulário */
.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

/* FAQ */
.faq-section {
    margin-bottom: 60px;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--gray);
}

.faq-answer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question::after {
    content: '\f077';
}

/* Página Categorias */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.category-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.category-card h3 {
    margin-bottom: 15px;
}

.category-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Tags */
.popular-tags {
    margin-bottom: 60px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background-color: var(--light-gray);
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tag:hover {
    background-color: var(--primary);
    color: white;
}

/* Responsividade */
@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav {
        margin: 20px 0;
        width: 100%;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        flex: 1;
    }
    
    .post-card {
        flex-direction: column;
    }
    
    .post-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav li {
        margin: 5px 0;
        width: 100%;
    }
    
    .main-nav a {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .featured-overlay h2 {
        font-size: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}