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

:root {
    --bg-light: #f8f8f8;
    --text-dark: #333333;
    --accent-color: #B8860B;
    --accent-hover: #9c710a;
    --bg-dark: #1A1A1A;
    --border-light: #E0E0E0;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tinos', serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    max-height: 45px;
}

.nav-options {
    list-style: none;
    display: flex;
}

.nav-options li {
    margin-left: 30px;
}

.nav-options a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-options a:hover {
    color: var(--accent-color);
}

section {
    padding: 60px 5%;
    max-width: 100%;
    margin: 0 auto;
}

img {
    max-width: 100%;
    display: block;
}

.home {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--white);
}

.home h1 {
    font-size: 3.5rem;
}

.home p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.home-service h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.btn-hub {
    display: inline-block;
    padding: 12px 28px;
    margin: 10px;
    border: 2px solid var(--accent-color);
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hub:hover {
    background-color: var(--white);
    border-color: var(--accent-hover);
    color: var(--accent-color);
}

.btn-hub .btn-photo {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-hub .btn-photo:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.barber-service {
    background-color: var(--bg-dark);
    color: var(--bg-light);
    border-radius: 8px;
}

.barber-service h3 {
    color: var(--white);
    text-align: center;
}

.fotos-price {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.haircut-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
}

.haircut-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #444;
}

.haircut-card .name-haricut {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 15px 0 10px;
    color: var(--white);
}

.haircut-card .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
}

.photo-service {
    background-color: var(--white);
    border-radius: 8px;
}

.photo-service h3 {
    text-align: center;
}

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

.photo-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
}

.photo-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: var(--border-light);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.photo-card img:hover {
    transform: scale(1.03);
}

.schedule {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--accent-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: backgroud-color 0.3s ease;
}

.schedule:hover {
    background-color: var(--text-dark);
    color: var(--accent-color);
}

.sobre {
    background-color: var(--white);
    text-align: center;
    max-width: 800px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.contact {
    background-color: var(--bg-light);
    text-align: center;
}

.form-contact {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.formulario {
    margin-bottom: 15px;
}

.field-form {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-family: 'Tinos', serif;
    font-size: 1rem;
}

.field-form:focus {
    outline: 2px solid var(--accent-color);
    border-color: var(--accent-color);
}

.btn-send {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--accent-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3 ease;
}

.btn-send:hover {
    background-color: var(--accent-color);
}

.modal-schedule {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 200;
    justify-content: center;
    align-items: center;
}

.modal-schedule.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    z-index: 210;
}

.modal-close:hover {
    color: #000;
}

#calendly-widget-container {
    width: 100%;
    height: 100%;
    padding-top: 50px;
}

@media (max-width: 768px) {
    section {
        padding: 40px 5%;
    }

    header {
        flex-direction: column;
        padding: 15px 5%;
    }

    header .logo {
        margin-bottom: 15px;
    }

    header .nav-options {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 0;
    }

    header .nav-options li {
        margin:  5px 10px;
    }

    .home {
        min-height: 80vh;
        justify-content: center;
    }

    .home h1 {
        font-size: 2.5rem;
    }

    .home p {
        font-size: 1.1rem;
    }

    .home-service {
        width: 100%;
    }

    .btn-hub {
        width: 90%;
        margin: 8px 0;
        padding: 15px;
    }

    .haircut-card img {
        height: 220px;
    }

    .photo-card img {
        height: 250px;
    }
}

@media (max-width: 420px) {
    .home h1 {
        font-size: 2.1rem;
    }

    .nav-options a {
        font-size: 1rem;
    }

    .fotos-price, .photos {
        grid-template-columns: 1fr;
    }
}