*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f5f5f5;
    color:#333;
}

header{
    background:#1e293b;
    color:white;
    text-align:center;
    padding:30px;
}

h2{
    text-align:center;
    margin:30px 0;
}

/* GALERÍA */

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
    padding:20px;
}

.destination-card{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}

.destination-card img{
    width:100%;
    display:block;
    transition:transform .4s ease;
}

.destination-card:hover img{
    transform:scale(1.05);
}

.destination-card figcaption{
    padding:15px;
    transition:opacity .4s ease;
}

.destination-card:hover figcaption{
    opacity:.8;
}

/* TABLA */

.table-section{
    padding:30px;
}

table{
    width:100%;
    border-collapse:collapse;
    background:white;
}

caption{
    font-size:1.2rem;
    margin-bottom:10px;
    font-weight:bold;
}

thead{
    background:#1e293b;
    color:white;
}

th,td{
    border:1px solid #ddd;
    padding:12px;
    text-align:center;
}

tbody tr:nth-child(even){
    background:#f0f0f0;
}

/* FORMULARIO */

.form-section{
    padding:30px;
}

form{
    max-width:600px;
    margin:auto;
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}

label{
    display:block;
    margin-top:15px;
    margin-bottom:5px;
    font-weight:bold;
}

input,
select{
    width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:6px;
}

input[type="range"]{
    padding:0;
}

button{
    width:100%;
    margin-top:20px;
    padding:12px;
    border:none;
    background:#1e293b;
    color:white;
    font-size:16px;
    border-radius:6px;
    cursor:pointer;
}

button:hover{
    background:#334155;
}

/* RESPONSIVE */

@media (max-width:768px){
    table{
        font-size:14px;
    }
}