/* ========== ESTILOS GENERALES ========== */

@font-face {
  font-family: 'Howdy Koala';
  src: url('fonts/Howdy\ Koala.ttf') format('truetype');
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/fiesta2.png');

    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

/* ========== BARRA DE REDES SOCIALES ========== */
.social-top {
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 15px;
}

.social-top img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.social-top img:hover {
    transform: scale(1.2);
}

/* ========== HEADER ========== */
header {
    background: linear-gradient(269deg,rgba(51, 45, 107, 1) 6%, rgba(9, 9, 121, 1) 27%, rgba(8, 31, 135, 1) 49%, rgba(0, 212, 255, 1) 100%);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.header-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/fondo_header.png');
    background-position: center;
    opacity: 0.1;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    max-width: 250px;
    height: auto;
    transition: transform 0.3s;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.logo-TSP {
    max-width: 100px;
    height: auto;
    transition: transform 0.3s;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5em;
    transition: all 0.3s;
    font-family: 'Poppins';
    padding: 5px 10px;
}

nav ul li a:hover {
    color: #ffeb3b;
    transform: scale(1.1);
}

.texto{
    font-family: 'Poppins';
}

/* Separador del menú */
nav ul li:nth-child(5) {
    font-size: 1.8em;
    color: white;
    margin: 0 5px;
}

/* ========== SECCIÓN HERO (SOLO INICIO) ========== */
.hero {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-family: 'Howdy Koala', sans-serif;
    color: #ff4081;
    position: relative;
    z-index: 3;
}

.image-slider {
    width: 100%;
    height: 700px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide:hover img {
    transform: scale(1.02);
}

/* ========== PRODUCTOS DESTACADOS (SOLO INICIO) ========== */
.featured-products {
    padding: 50px 20px;
    text-align: center;
}

.featured-products h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ff4081;
    font-family: 'Poppins';
    font-weight: bold;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px;
    margin: 0;
    font-size: 1.5rem;
    color: #ff4081;
}

.product-subtitle {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* ========== SECCIÓN DE PASOS PARA RENTAR (SOLO INICIO) ========== */
.rent-steps {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.rent-steps h2 {
    font-size: 2rem;
    color: #ff4081;
    margin-bottom: 40px;
    font-family: 'Poppins';
    font-weight: bold;
}

.steps-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    gap: 40px;
}

.steps-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.step-btn {
    display: block;
    padding: 20px;
    background-color: #ff4081;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 64, 129, 0.3);
}

.step-btn:hover {
    transform: scale(1.05);
    background-color: #e91e63;
}

.step-btn.inactive {
    background-color: #ff4081;
    cursor: default;
}

.step-btn.inactive:hover {
    transform: none;
    background-color: #e91e63;
}

.step-btn span {
    font-weight: bold;
    margin-right: 10px;
}

.steps-image {
    flex: 1;
}

.steps-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ========== SECCIÓN DE CONTACTO ========== */
.contact {
    padding: 50px 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #ff4081;
    font-family: 'Poppins', cursive;
}

.contact p {
    font-size: 1.2rem;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.bi {
    font-size: 1.2rem;
}

/* ========== FOOTER ========== */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-family: 'Poppins';
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 25px;
    margin-bottom: 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #ff4081;
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    margin: 20px 0 0;
    font-size: 1rem;
    opacity: 0.8;
    width: 100%;
    text-align: center;
}

/* ========== PÁGINA HISTORIA ========== */
.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
}

.about-section h1 {
    font-size: 3rem;
    color: #ff4081;
    margin-bottom: 30px;
    font-family: 'Howdy Koala', sans-serif;
    font-weight: bold;
}

.about-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.about-section img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.mission, .vision {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.story{
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

.mission h2, .vision h2 {
    color: #ff4081;
    font-family: 'Poppins';
    font-weight: bold;
    font-size: 2rem;
}

.team h2 {
    font-size: 2.5rem;
    color: #ff4081;
    margin-bottom: 30px;
    font-family: 'Howdy Koala', sans-serif;
    font-weight: bold;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.member {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.member h3 {
    color: #ff4081;
    margin-bottom: 5px;
}

/* ========== PÁGINA PRODUCTOS ========== */
.categories-page h1 {
    font-size: 3rem;
    color: #ff4081;
    margin-bottom: 50px;
    font-family: 'Howdy Koala', sans-serif;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 64, 129, 0.9), transparent);
    color: white;
    padding: 20px;
    text-align: center;
}

.category-overlay h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-family: 'Poppins';
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.category-card:hover img {
    transform: scale(1.1);
}

/*
botón regreso
*/

.back-button {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    font-family: 'Poppins';
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.back-button i {
    margin-right: 5px;
}

.back-text {
    font-family: 'Poppins', cursive;
}

.key-words{
    color: #333;
}

/* ========== DISEÑO RESPONSIVO ========== */
@media (max-width: 768px) {
    /* Header */
    .header-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .logo {
        max-width: 200px;
        margin-bottom: 10px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    nav ul li a {
        font-size: 1.2em;
    }
    
    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .image-slider {
        height: 300px;
    }
    
    /* Pasos para rentar */
    .steps-container {
        flex-direction: column;
    }
    
    .steps-buttons {
        width: 100%;
    }
    
    .rent-steps h2 {
        font-size: 1.8rem;
    }
    
    .step-btn {
        font-size: 1.2rem;
        padding: 15px;
    }
    
    /* Páginas secundarias */
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .about-section h1, .categories-page h1, .team h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        max-width: 95%;
    }
}