/*
Theme Name: Pousada Praia de Bombinhas
Description: Tema WordPress elegante para pousadas e hotéis, com foco na natureza e hospitalidade. Design responsivo com cores inspiradas na Mata Atlântica e no mar de Bombinhas.
Author: Pousada Bombinhas
Version: 1.0
License: GPL v2 or later
Text Domain: pousada-bombinhas
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #2c5530;
    background-color: #fefcf9;
}

/* Cores do tema - Inspiradas na Mata Atlântica e Mar */
:root {
    /* Cores base */
    --primary-color: #2c5530;      /* Verde da Mata Atlântica */
    --secondary-color: #2563eb;    /* Azul do mar */
    --accent-color: #84cc16;       /* Verde claro da natureza */
    --background: #fefcf9;         /* Bege como areia */
    --card-bg: #ffffff;
    --text-primary: #2c5530;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    
    /* Gradientes */
    --gradient-nature: linear-gradient(135deg, #2c5530, #059669);
    --gradient-ocean: linear-gradient(135deg, #2563eb, #06b6d4);
    --gradient-sunset: linear-gradient(135deg, #06b6d4, #059669);
    --gradient-hero: linear-gradient(135deg, rgba(44, 85, 48, 0.9), rgba(37, 99, 235, 0.8));
    
    /* Sombras */
    --shadow-soft: 0 4px 20px rgba(44, 85, 48, 0.1);
    --shadow-nature: 0 10px 40px rgba(44, 85, 48, 0.15);
    --shadow-ocean: 0 8px 32px rgba(37, 99, 235, 0.12);
    
    /* Transições */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(254, 252, 249, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-nature);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.site-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

/* Navegação */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Navegação Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .main-navigation.mobile-open {
        display: flex;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('<?php echo get_template_directory_uri(); ?>/images/hero-pousada.jpg');
    <?php if (get_theme_mod('hero_background')) : ?>
    background-image: url('<?php echo get_theme_mod('hero_background'); ?>');
    <?php endif; ?>
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 64rem;
    padding: 0 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-accent {
    display: block;
    color: #84cc16;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

.hero-badge:nth-child(2) { animation-delay: 0.5s; }
.hero-badge:nth-child(3) { animation-delay: 1s; }
.hero-badge:nth-child(4) { animation-delay: 1.5s; }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-nature);
    color: white;
    box-shadow: var(--shadow-nature);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(44, 85, 48, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Seções */
.section {
    padding: 5rem 0;
}

.section-bg-muted {
    background: rgba(229, 231, 235, 0.3);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 48rem;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    overflow: hidden;
}

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

.card-content {
    padding: 1.5rem;
    text-align: center;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(44, 85, 48, 0.1);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Animações */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Formulário */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

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

.form-grid {
    display: grid;
    gap: 1rem;
}

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

/* Footer */
.site-footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: #25d366;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: var(--transition-smooth);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Utilitários */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.hidden { display: none; }

/* Responsividade */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* Acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print */
@media print {
    .whatsapp-float,
    .site-header,
    .hero-section {
        display: none;
    }
}