/* Custom CSS for Fronza Advocacia */

/* Root Variables */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #F5F5DC;
    --text-dark: #2C2C2C;
    --text-light: #6C6C6C;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1DA851;
    --border-color: #E0E0E0;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-header {
    max-height: 120px;
    width: auto;
    height: auto;
}

/* Hero Section */
.hero-section {
    background-image: url('../../img/textura.png');
    background-repeat: repeat;
    background-size: auto;
    background-position: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
	min-height: 250px !important;
}

.hero-section h1,
.hero-section h2,
.hero-section p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: block;
    visibility: visible;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
    display: block;
    visibility: visible;
}

/* Contact Section */
.contact-section {
    border-top: 1px solid var(--border-color);
    flex: 1;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-item {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(139, 69, 19, 0.02);
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(139, 69, 19, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-icon {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-details p {
    margin: 0;
    line-height: 1.4;
}

.contact-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* WhatsApp and Address Links */
.whatsapp-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.whatsapp-link:hover {
    color: var(--whatsapp-color);
    text-decoration: underline;
}

.address-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.address-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Contact Placeholder */
.contact-placeholder {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Footer */
footer {
    background-color: #212529 !important;
    color: #dee2e6;
    border-top: 3px solid var(--primary-color);
    margin-top: auto;
}

footer p {
    font-size: 0.95rem;
    margin: 0;
}



/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .hero-content .hero-title {
        font-size: 2.5rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hero-section .hero-content .hero-subtitle {
        font-size: 1.3rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: var(--text-dark) !important;
    }
    
    .hero-section .hero-content .hero-text {
        font-size: 1.1rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: var(--text-light) !important;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    footer {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section .hero-content .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hero-section .hero-content .hero-subtitle {
        font-size: 1.2rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 1rem !important;
        color: var(--text-dark) !important;
    }
    
    .hero-section .hero-content .hero-text {
        font-size: 1.1rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 1.5rem !important;
        color: var(--text-light) !important;
    }
    
    .logo-header {
        max-height: 100px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-bottom: 0.5rem;
        align-self: center;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.btn-whatsapp:focus {
    outline: 2px solid var(--whatsapp-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section {
        background: white;
    }
    
    .contact-item {
        border-width: 2px;
    }
    
    .btn-whatsapp {
        border-width: 2px;
    }
}

@media (max-width: 768px) {
    .contact-item {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    .contact-icon {
        margin-bottom: 0.5rem !important;
    }

    .contact-details {
        text-align: center !important;
    }

    .contact-details p {
        margin: 0.2rem 0 !important;
    }
}
a{text-decoration:none !important;}