/*
Theme Name: Cerrajeros Quart de Poblet QP24
Theme URI: https://cerrajerosquartdepoblet.es
Author: Cerrajeros QP24
Author URI: https://cerrajerosquartdepoblet.es
Description: Theme profesional para servicios de cerrajería en Quart de Poblet. Diseño moderno, responsive y optimizado para SEO.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cerrajeros-qp24
Tags: business, one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a4d7a 0%, #2563a8 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-branding h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.site-branding p {
    font-size: 14px;
    opacity: 0.9;
    margin: 5px 0 0 0;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-number {
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-number:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 77, 122, 0.9), rgba(37, 99, 168, 0.9)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a4d7a" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: #ffc107;
    color: #1a4d7a;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.cta-button:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background: white;
}

.services-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a4d7a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #2563a8;
}

.service-card i {
    font-size: 48px;
    color: #2563a8;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a4d7a;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.why-choose-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a4d7a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 32px;
    color: #ffc107;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a4d7a;
}

.feature-content p {
    color: #666;
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #1a4d7a;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #1a4d7a;
}

.contact-item i {
    color: #2563a8;
}

/* Footer */
.site-footer {
    background: #1a4d7a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-content p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    opacity: 0.8;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hero-section h2 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 18px;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}
