/* Cerrajero 24h Salou - Design inspired by Lejarreta */

:root {
    --primary: #F9BF03;
    --primary-dark: #D4A502;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

/* Top Bar */
.top-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar strong {
    color: var(--dark);
    margin-right: 5px;
}

/* Header */
.main-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s;
    padding: 8px 0;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

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

.btn-header {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 10px 18px !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
}

.btn-header.btn-phone {
    background: var(--dark) !important;
    color: var(--bg) !important;
}

.btn-header.btn-phone:hover {
    background: var(--dark-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-header.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
}

.btn-header.btn-whatsapp:hover {
    background: #20BA5A !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37,211,102,0.3);
}

.btn-header svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: var(--dark);
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--dark);
}

.hero-intro {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 25px;
    line-height: 1.8;
    color: var(--dark);
    opacity: 0.95;
}

.hero-motto {
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 60px;
    color: var(--dark);
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 20px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-hero.btn-hero-phone {
    background: var(--dark);
    color: var(--bg);
}

.btn-hero.btn-hero-phone:hover {
    background: var(--dark-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.btn-hero.btn-hero-whatsapp {
    background: #25D366;
    color: white;
}

.btn-hero.btn-hero-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37,211,102,0.4);
}

.btn-hero svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-feature-box {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--dark);
    stroke-width: 2;
}

.hero-feature-box h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    text-transform: uppercase;
}

.hero-feature-box p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 15px;
}

.btn-feature {
    display: inline-block;
    padding: 12px 30px;
    background: var(--dark);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s;
    border: 2px solid var(--dark);
}

.btn-feature:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    background: var(--bg-dark);
    color: var(--bg);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-legal {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--primary);
}

.footer-copyright {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 30px;
    padding: 15px 0;
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumbs .separator {
    color: var(--text-light);
    margin: 0 5px;
}

.breadcrumbs span {
    color: var(--text);
    font-weight: 500;
}

/* Content Sections */
.section {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.content-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 35px;
    transition: all 0.3s;
}

.content-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.content-card h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}

.content-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.content-card a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

.section-alt {
    background: var(--bg-light);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Responsive */
@media (max-width: 968px) {
    .main-nav {
        position: relative;
    }
    
    .nav-menu {
        display: none !important;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border: 1px solid var(--border);
        border-radius: 8px;
        z-index: 1000;
        margin: 0;
        width: 100%;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0.3s, opacity 0.3s;
    }
    
    .nav-menu.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-menu a {
        padding: 12px 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .header-contact {
        display: none !important;
    }
    
    .nav-menu-contact-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
        margin-top: 10px;
        border-top: 2px solid var(--border);
    }
    
    .btn-menu-phone,
    .btn-menu-whatsapp {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 20px !important;
        border-radius: 6px;
        text-decoration: none !important;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s;
        width: 100%;
        border-bottom: none !important;
    }
    
    .btn-menu-phone {
        background: var(--dark) !important;
        color: var(--bg) !important;
    }
    
    .btn-menu-phone:hover {
        background: var(--dark-light) !important;
    }
    
    .btn-menu-whatsapp {
        background: #25D366 !important;
        color: white !important;
    }
    
    .btn-menu-whatsapp:hover {
        background: #20BA5A !important;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-bar {
        padding: 4px 0;
        font-size: 11px;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    
    .top-bar-left,
    .top-bar-right {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 10px;
    }
    
    .top-bar span {
        font-size: 10px;
        padding: 2px 0;
    }
    
    .top-bar strong {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-intro {
        font-size: 16px;
    }
    
    .hero-motto {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 28px;
    }
}

