
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background: #fff;
}
html{
    scroll-behavior: smooth;
}

/* HEADER */
.header {
    background: #1a1a2e;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    margin-right: 10px;
}

.header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.header nav a:hover {
    color: #f9a826;
}

/* HERO */
.hero {
    min-height: 90vh;
    background: url("https://images.unsplash.com/photo-1568605114967-8130f3a36994") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-btn {
    background: #f9a826;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #ffcc33;
}

/* SOBRE MI */
.about {
    padding: 4rem 2rem;
    background: #f4f4f4;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}

.about img {
    flex: 1 1 350px;
    border-radius: 10px;
    width: 100%;
}

.about-text {
    flex: 1 1 350px;
}

/* SERVICIOS */
.services {
    padding: 4rem 2rem;
    text-align: center;
}

.services h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #1a1a2e;
}

.service-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}

.service {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service:hover {
    transform: translateY(-5px);
}

.service h3 {
    margin-bottom: 1rem;
    color: #f9a826;
}

/* CONTACTO */
.contact {
    padding: 3rem 2rem;
    background: #f4f4f4;
    text-align: center;
}

.contact h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #1a1a2e;
}

.contact p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.contact a {
    color: #f9a826;
    font-weight: bold;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background: #1a1a2e;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    .header nav ul {
        justify-content: center;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .hero-content {
        padding: 1.5rem;
    }
}
