* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: 'Times New Roman', Times, serif;
    color: #fff;
    overflow-x: hidden; /* Previene desbordamiento horizontal */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.7), 
        rgba(0, 0, 0, 0.7)),
        url('img1/LADY_CAROLINA.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 20px; /* Añadido para espacio en móviles */
}

.header-content {
    width: 100%;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.header h1 {
    font-size: 4rem;
    font-style: italic;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #8d4b1c;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: #ffffff;
}

.header p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-1 {
    display: inline-block;
    padding: 12px 30px;
    background-color: #d4a762;
    color: #000;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid #d4a762;
    font-size: 1rem;
    min-width: 150px; /* Tamaño mínimo para mejor tacto */
}

.btn-1:hover {
    background-color: transparent;
    color: #d4a762;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Texto con "bordado" inspirado en puntadas de cuero */
.mexican-stitch {
    position: relative;
    color: #d4a762;
    font-style: italic;
}
.mexican-stitch::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, #d4a762 50%, transparent 90%);
    opacity: 0.7;
}

/* Botón con textura de cuero */
.btn-1 {
    background-color: #5e3a1f; /* Color café oscuro como cuero */
    border: none;
    position: relative;
    overflow: hidden;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
}
.btn-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(
            135deg,
            rgba(184, 6, 6, 0.1) 25%,
            transparent 25%
        ),
        linear-gradient(
            225deg,
            rgba(255, 255, 255, 0.1) 25%,
            transparent 25%
        );
    background-size: 10px 10px;
}

/* ============ MEDIA QUERIES ============ */

/* Tablet y móviles grandes (768px - 1024px) */
@media (max-width: 1024px) {
    .header h1 {
        font-size: 3rem;
        margin-bottom: 0.8rem;
    }
    
    .tagline {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .header p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* Móviles medianos (576px - 768px) */
@media (max-width: 768px) {
    .header {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .tagline {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .header p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-1 {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Móviles pequeños (hasta 576px) */
@media (max-width: 576px) {
    .header {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .header p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .btn-1 {
        padding: 8px 20px;
        font-size: 0.8rem;
        min-width: 120px;
    }
}

/* Orientación horizontal en móviles */
@media (max-height: 500px) {
    .header {
        min-height: 150vh; /* Más espacio en móviles en horizontal */
    }
}