/* ===================================
   Freitas & Santana - Advogados
   Estilos CSS - Design Profissional
   =================================== */

/* CSS Variables */
:root {
    /* Dark Theme (Default) */
    --color-primary: #0d1b2a;
    --color-primary-light: #1b263b;
    --color-primary-dark: #0a1421;
    
    --color-gold: #0076de;
    --color-gold-light: #3fa3fa;
    --color-gold-dark: #a88a1f;
    
    --color-background: #0d1b2a;
    --color-background-alt: #1b263b;
    --color-surface: #1b263b;
    
    --color-text: #ffffff;
    --color-text-muted: #94a3b8;
    --color-text-light: #64748b;
    
    --color-border: #2d3a4f;
    --color-border-light: #1f2937;
    
    --color-whatsapp: #25d366;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

/* Light Theme */
.light-theme {
    --color-background: #ffffff;
    --color-background-alt: #f8f9fa;
    --color-surface: #ffffff;
    
    --color-text: #0d1b2a;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    transition: var(--transition);
    overflow-x: hidden;
}

/* Previne scroll quando menu mobile esta aberto */
body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: 16px; /* Previne zoom no iOS */
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.text-gold {
    color: var(--color-gold);
}

.italic {
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition);
    gap: 0.625rem;
    letter-spacing: 0.025em;
    text-align: center;
}

.btn-gold {
    background-color: var(--color-gold);
    color: #0d1b2a;
}

.btn-gold:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-portal {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.btn-portal:hover {
    background-color: var(--color-gold);
    color: #0d1b2a;
    border-color: var(--color-gold);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.light-theme .header {
    background-color: var(--color-surface);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    background-color: var(--color-background-alt);
    color: var(--color-text);
}

.dark-theme .icon-sun { display: block; }
.dark-theme .icon-moon { display: none; }
.light-theme .icon-sun { display: none; }
.light-theme .icon-moon { display: block; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-statue {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.4;
    filter: grayscale(30%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-primary) 40%, transparent 100%);
}

.light-theme .hero-overlay {
    background: linear-gradient(90deg, var(--color-background) 40%, transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-label-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-gold);
    flex-shrink: 0;
}

.hero-label span:last-child {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Stats Bar */
.stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(13, 27, 42, 0.9);
    border-top: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.light-theme .stats-bar {
    background-color: rgba(255, 255, 255, 0.95);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* Section Styles */
.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-header.center .section-label {
    justify-content: center;
}

.section-label-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-gold);
}

.section-label span:last-child {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.section-title {
    font-weight: 400;
}

.section-title.left {
    text-align: left;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--color-background-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--color-gold);
    color: #0d1b2a;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gold);
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--color-gold-light);
}

/* Videos Section */
.videos {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.video-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background-color: var(--color-background-alt);
}

.video-card.featured .video-thumbnail {
    aspect-ratio: auto;
    height: 300px;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    color: var(--color-gold);
}

.video-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.video-info {
    padding: 1.5rem;
}

.video-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gold);
}

.video-info h3 {
    margin-top: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.video-info p {
    margin-top: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* News Section */
.news {
    padding: 6rem 0;
    background-color: var(--color-background-alt);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-xl);
}

.news-image {
    aspect-ratio: 16/10;
    background-color: var(--color-background-alt);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
}

.light-theme .news-placeholder {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.news-date {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.news-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gold);
}

.news-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.news-content p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.news-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gold);
    transition: var(--transition-fast);
}

.news-link:hover {
    color: var(--color-gold-light);
}

/* Causes Section */
.causes {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.causes-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cause-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.cause-item:hover {
    border-color: var(--color-gold);
}

.cause-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-gold);
    color: #0d1b2a;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.cause-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.cause-text p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--color-background-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info .section-label,
.contact-info .section-title {
    text-align: left;
}

.contact-description {
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.contact-item p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-form-wrapper {
    background-color: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    transition: var(--transition-fast);
    font-size: 16px; /* Previne zoom no iOS */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

.light-theme .footer {
    background-color: var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: #ffffff;
}

.footer-brand .logo-name {
    color: #ffffff;
}

.footer-brand .logo-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIXES
   =================================== */

/* Esconde o item mobile em desktop */
.nav-item-mobile {
    display: none;
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 100%;
    }
    
    .hero-statue {
        width: 50%;
        opacity: 0.3;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card.featured {
        grid-row: span 1;
    }
    
    .video-card.featured .video-thumbnail {
        height: 250px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Header Mobile */
    .header .container {
        height: 70px;
    }

    .logo-img {
        height: 50px;
    }

    /* Menu Mobile - Fullscreen Overlay */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-primary);
        padding: 100px 2rem 2rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .light-theme .nav {
        background-color: var(--color-surface);
    }
    
    .nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav-list li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1.25rem 0;
        font-size: 1rem;
        text-align: left;
    }

    .nav-link::after {
        display: none;
    }

    /* Item Area do Cliente no menu mobile */
    .nav-item-mobile {
        display: block;
        margin-top: 1.5rem;
        border-bottom: none !important;
    }

    .nav-link-portal {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
        background-color: var(--color-gold);
        color: #0d1b2a !important;
        border-radius: var(--radius-md);
        font-weight: 600;
        text-align: center;
    }

    .nav-link-portal:hover {
        background-color: var(--color-gold-light);
    }

    .nav-link-portal svg {
        flex-shrink: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .btn-portal {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 0;
    }

    .hero .container {
        padding-top: 2rem;
        padding-bottom: 180px;
    }
    
    .hero-statue {
        width: 100%;
        opacity: 0.15;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, var(--color-primary) 0%, rgba(13, 27, 42, 0.7) 50%, var(--color-primary) 100%);
    }
    
    .light-theme .hero-overlay {
        background: linear-gradient(180deg, var(--color-background) 0%, rgba(255, 255, 255, 0.7) 50%, var(--color-background) 100%);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-label {
        flex-wrap: wrap;
    }

    .hero-label span:last-child {
        font-size: 0.625rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .hero-title br {
        display: none;
    }

    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Stats Bar Mobile */
    .stats-bar {
        position: relative;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.5625rem;
        letter-spacing: 0.05em;
    }

    /* Sections Mobile */
    .services,
    .videos,
    .news,
    .causes,
    .contact {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 56px;
        height: 56px;
    }

    /* News Grid Mobile */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Causes Mobile */
    .causes-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cause-item {
        padding: 1.25rem;
        gap: 1rem;
    }

    .cause-icon {
        width: 44px;
        height: 44px;
    }

    .cause-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* WhatsApp Button Mobile */
    .whatsapp-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header .container {
        height: 60px;
    }

    .logo-img {
        height: 40px;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .nav {
        padding: 80px 1.5rem 1.5rem;
    }

    .hero .container {
        padding-top: 1.5rem;
        padding-bottom: 160px;
    }

    .hero-title {
        font-size: 1.625rem;
    }

    .hero-description {
        font-size: 0.875rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.8125rem;
    }

    .stats-grid {
        gap: 0.75rem;
        padding: 1.25rem 0;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.5rem;
    }

    .services,
    .videos,
    .news,
    .causes,
    .contact {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .service-card,
    .news-content,
    .video-info {
        padding: 1.25rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .whatsapp-btn {
        bottom: 1rem;
        right: 1rem;
        width: 52px;
        height: 52px;
    }

    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Extra Small Mobile - 360px */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        padding: 0.25rem;
    }

    .stat-number {
        font-size: 1.125rem;
    }

    .stat-label {
        font-size: 0.4375rem;
        line-height: 1.3;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .news-card:hover,
    .video-card:hover,
    .cause-item:hover {
        transform: none;
    }

    .btn-gold:hover {
        transform: none;
    }

    .whatsapp-btn:hover {
        transform: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.video-card,
.news-card,
.cause-item {
    animation: fadeInUp 0.6s ease-out;
}
