/* Web Basneinet - Custom Styles with Materialize */

/* Navigation */
.nav-wrapper {
    background-color: #1976d2;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 0 2rem;
}

.brand-logo {
    font-weight: 600;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 64px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-large {
    margin: 0;
}

.hero-image {
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,.3);
}

/* Section Styling */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #757575;
    margin-bottom: 3rem;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #424242;
}

/* Service Cards */
.service-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,.2);
}

.service-card .card-image {
    height: 250px;
    overflow: hidden;
}

.service-card .card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.service-card .card-title {
    background: rgba(0,0,0,0.5);
    padding: 1rem;
}

.service-list {
    margin-top: 1rem;
    padding-left: 0;
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.service-list .material-icons {
    margin-right: 0.5rem;
    color: #4caf50;
}

/* Article Card */
.article-card {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1976d2;
}

.article-meta {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #424242;
    max-width: 100%;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: #212121;
    padding: 1.5rem;
    background: #f5f5f5;
    border-left: 4px solid #1976d2;
    border-radius: 4px;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #1976d2;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #42a5f5;
    padding-top: 1rem;
}

.article-content h2:first-of-type {
    margin-top: 2rem;
}

.article-content p {
    margin-bottom: 1.8rem;
    text-align: justify;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #424242;
}

.article-content p:first-of-type {
    margin-top: 0;
}

.article-card .card-content {
    padding: 3rem;
}

/* About Section */
.about-image {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
}

.card-panel {
    margin-top: 1.5rem;
}

.card-panel h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.card-panel .material-icons {
    margin-right: 0.5rem;
}

/* Contact Section */
#contacto .card-panel {
    background-color: #263238;
}

#contacto .input-field input,
#contacto .input-field textarea {
    color: white;
}

#contacto .input-field label {
    color: rgba(255,255,255,0.7);
}

#contacto .input-field input:focus + label,
#contacto .input-field textarea:focus + label {
    color: #42a5f5;
}

#contacto .input-field input:focus,
#contacto .input-field textarea:focus {
    border-bottom: 1px solid #42a5f5;
    box-shadow: 0 1px 0 0 #42a5f5;
}

/* Footer */
.page-footer {
    padding: 2rem 0;
}

.page-footer h5 {
    margin-bottom: 1rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1976d2;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
}

/* Responsive */
@media only screen and (max-width: 992px) {
    .article-card .card-content {
        padding: 2rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
        padding: 1rem;
    }
}

@media only screen and (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-card .card-content {
        padding: 1.5rem;
    }
    
    .article-content {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .article-content h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }
    
    .lead-text {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .article-content p {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn-large {
        width: 100%;
    }
}

/* Animation - Disabled to prevent content flickering */
/* Elements are always visible */
.card,
.card-panel {
    opacity: 1;
    visibility: visible;
}

.fade-in {
    /* Animation removed - elements stay visible */
    opacity: 1 !important;
    visibility: visible !important;
}

