/*
Theme Name: Translation Pro
Theme URI: https://example.com/translation-pro
Author: Manus Expert
Author URI: https://manus.im
Description: Una plantilla profesional y responsive para servicios de traducción e interpretación.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: translation-pro
*/

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 100px;
    display: block;
    transition: transform 0.3s ease;
}

.logo a:hover .logo-img {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

nav ul li ul {
    display: none;
    position: absolute;
    background: #34495e;
    top: 100%;
    left: 0;
    flex-direction: column;
    min-width: 180px;
    z-index: 100;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav ul li:hover ul {
    display: flex;
}

nav ul li ul li {
    margin: 0;
}

nav ul li ul li a {
    padding: 10px 20px;
}

nav ul li ul li a:hover {
    background: #2c3e50;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.services-section, .benefits-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

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

.service-card, .benefit-card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    text-align: left; /* Alineación estándar */
}

.service-card:hover, .benefit-card:hover {
    transform: translateY(-10px);
}

.service-card img, .benefit-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card div, .benefit-card div {
    padding: 25px;
}

.service-card h3, .benefit-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #2c3e50;
}

.service-card p, .benefit-card p {
    margin-bottom: 20px;
    color: #666;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

#map {
    height: 400px;
    background: #eee;
    width: 100%;
    border-radius: 8px;
}

footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 3rem 0;
    margin-top: 80px;
}

/* Asegurar que FontAwesome se carga correctamente en todos los navegadores (Chrome, Firefox, Safari, Edge) */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-regular-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2');
}

.fas, .far, .fab {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    nav ul li {
        margin: 10px 0;
    }
    .contact-info {
        grid-template-columns: 1fr;
    }
    .hero {
        background-attachment: scroll;
    }
}
