/* Reset y tipograf¨ªa */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: #111;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
}

header nav {
    position: relative;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-list li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list li a:hover {
    color: #f39c12;
}

/* Hamburger menu m¨®vil */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #fff;
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 140px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-primary {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: #fff;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #e67e22, #d35400);
}

/* Secci¨®n Servicios */
.servicios {
    padding: 100px 0;
    background: #f9f9f9;
    text-align: center;
}

.servicios h2 {
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
}

.servicios-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.servicio-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s, box-shadow 0.4s;
}

.servicio-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.2);
}

/* Portfolio */
.portfolio {
    padding: 100px 0;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 100%;
    padding: 20px;
    text-align: left;
}

/* Testimonios */
.testimonios {
    padding: 100px 0;
    background: #f9f9f9;
    text-align: center;
}

.testimonios h2 {
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.2);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
}

/* Contacto */
.contacto {
    padding: 100px 0;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f39c12;
    outline: none;
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer .socials {
    margin-top: 15px;
}

footer .socials a {
    color: #f39c12;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-list {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        text-align: center;
        display: none;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: flex;
    }
}
