/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */
body{
    background: linear-gradient(135deg, #f3e2d0, #e8d4b6);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    color:#3e2b1f;
}

/* HEADER */
.main-header{
    background: linear-gradient(135deg, #a9745a, #d6a06c);
    color:#fff8f0;
    text-align:center;
    padding:50px 20px;
    box-shadow:0 4px 15px rgba(0,0,0,0.18);
}

.main-header h1{
    font-size:42px;
    font-weight:bold;
}

.main-header p{
    font-size:18px;
    margin-top:10px;
}

/* NAV */
.main-nav{
    background:#8c674a;
    box-shadow:0 4px 10px rgba(0,0,0,0.16);
}

.main-nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    gap:40px;
    padding:15px 0;
}

.main-nav a{
    color:#fff8f0;
    text-decoration:none;
    font-weight:bold;
    font-size:18px;
    padding:8px 15px;
    border-radius:8px;
    transition:0.3s;
}

.main-nav a:hover{
    background: rgba(255,255,255,0.18);
}

/* CONTENEDOR */
.container{
    background:#fff5ea;
    max-width:1000px;
    margin:40px auto;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

/* TITULOS */
h3{
    text-align:center;
    margin-bottom:20px;
    color:#5c3d2f;
}

/* CARRUSEL */
.carousel{
    border-radius:20px;
    overflow:hidden;
}

.carousel img{
    height:400px;
    object-fit:cover;
}

/* CAPTION */
.carousel-caption{
    background: rgba(76,44,20,0.72);
    border-radius:12px;
    padding:12px;
}

.carousel-caption h5,
.carousel-caption p{
    color:#fff8f0;
}

/* FORMULARIO */
form{
    margin-top:20px;
}

.form-control{
    border-radius:12px;
    padding:12px;
    border:1px solid #d2b59a;
    background:#fff8f2;
}

.form-control:focus{
    border-color:#c57e42;
    box-shadow:0 0 0 0.2rem rgba(197,126,66,0.25);
}

.btn{
    border-radius:12px;
    padding:10px 20px;
    background:#c87c30;
    border:none;
    color:#fff8f0;
}

.btn:hover{
    background:#a65c1e;
}

/* FOOTER */
footer{
    background:#8c674a;
    color:#fff8f0;
    text-align:center;
    padding:15px;
    margin-top:auto;
}

/* RESPONSIVE */
@media(max-width:768px){

    .main-header h1{
        font-size:28px;
    }

    .main-nav ul{
        flex-direction:column;
        gap:10px;
    }

    .carousel img{
        height:250px;
    }
}