
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

.montserrat-<uniquifier> {
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

/* Body Styling */
body {
    font-family: Montserrat, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* ====== Header Styling ====== */
.header {
    background-image: url('../img/bgmenu.png'); /* Ruta de la imagen de fondo */
    background-size: cover;
    background-position: center;
    height: 250px;
    position: relative;
}

/* Logo central */
.logo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo-center img {
    width: 800px;
    max-width: 100%; /* Para que no desborde */
    height: auto;
}

/* Logo derecho */
.nav-right {
    position: absolute;
    right: 20px;
    top: 20px;
    transition: transform 0.3s ease;
}

.nav-right img {
    width: 200px;
    max-width: 100%; /* Se adapta al tamaño de pantalla */
}

.nav-right:hover {
    transform: scale(1.1);
    cursor: pointer;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .header {
        height: auto; /* Permite que crezca según el contenido */
        padding: 20px 0;
    }

    /* Ajusta posición de los logos en móviles */
    .logo-center {
        position: static;
        transform: none;
        text-align: center;
        margin-bottom: 10px;
    }

    .nav-right {
        position: static;
        text-align: center;
        margin-top: 10px;
    }

    .logo-center img {
        width: 70%; /* Reduce el tamaño del logo central */
    }

    .nav-right img {
        width: 40%; /* Reduce el tamaño del logo derecho */
    }

    .home-image {
        width: 60% !important;
    }

    .buy-button {
        width: 70% !important;
    }
}

@media (max-width: 480px) {
    .logo-center img {
        width: 90%; /* Más pequeño en móviles */
    }

    .nav-right img {
        width: 50%; /* Logo derecho más pequeño */
    }
}


/* Main Layout */
.main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Column - Images */
.left-column {
    width: 32%;
}

.home-image {
    width: 80%;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: auto;
}

.home-image:hover {
    transform: scale(1.1);
}

/* Right Column - Video & Button */
.right-column {
    width: 65%;
}

.home-video {
    width: 100%;
    border-radius: 8px;
}

.buy-button {
    display: block;
    width: 30%;
    text-align: center;
    margin: 25px auto;
    padding: 12px 20px;
    background-color: #00FF00;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: background-color 0.3s ease;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 900;
}

.buy-button:hover {
    background-color: #000;
    color: #fff;
}

/* Footer Styling */
.footer {
    background-color: #00FF00;
    padding: 10px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-text {
    margin: 25px auto;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 400;
    text-align: center;
}


.animated-sign {
    display: flex;
    width: calc(200%);
}

.animated-sign img {
    animation: scrollSign 15s linear infinite;
    white-space: nowrap;
    width: 25%;
    height: 25%;
    object-fit: cover;
}

@keyframes scrollSign {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Purchase Page */
.purchase-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 50px auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.slider-text {
    text-align: center;
    margin-bottom: 15px;
}

.slider-text h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 700;
}

.slider-text p {
    font-size: 16px;
    color: #00FF00;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 500;
}

.gallery {
    width: 40%;
    padding: 20px;
    background-color: #f9f9f9;
}

.gallery-image {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.gallery-image:hover {
    transform: scale(1.2);
}

.price-description-box {
    background-color: #f9f9f9;    
    border: 1px solid #ccc;      
    border-radius: 4px;           
    padding: 10px;
    margin-top: 10px;
    text-align: center;
}

.price-description {
    font-size: 12px;
    color: #555;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 400;
}

.form-container {
    width: 60%;
    padding: 30px;
}

.form-container h1 {
    text-align: center;
    margin-bottom: 20px;
}

.form-container form label {
    display: block;
    margin-bottom: 1px;
    font-weight: bold;
}

#tx_id {
    border: 1px solid #00FF00 !important;
}

.form-container form input, 
.form-container form select, 
.form-container form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-clarification {
    background-color: #f9f9f9;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 12px;
    color: #555;
    grid-column: span 2;
    text-align: center;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 400;
}

/* Centra el botón y hazlo ocupar ambas columnas */
.form-container form .form-full button {
    background: #00FF00;
    color: #000;
    padding: 12px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    width: 50%;                    /* ✅ Tamaño del botón */
    max-width: 300px;              /* ✅ Tamaño máximo */
    font-size: 18px;
    transition: background-color 0.3s ease;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 900;
    text-align: center;
    margin: 0 auto;                /* ✅ Centra horizontalmente */
    grid-column: span 2;           /* ✅ Ocupa ambas columnas */
    justify-self: center;          /* ✅ Asegura el centrado */
}

.form-container form .form-full button:hover {
    background: #000;
    color: #00FF00;
}


.back-home-button {
    display: block;
    background-color: #000;
    color: white;
    padding: 10px;
    width: 50%;
    text-align: center;
    border-radius: 50px;
    margin: 20px auto;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3sease;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 900;
}

.back-home-button:hover {
    background-color: #00000000;
    border: 2px solid #000;
    border-radius: 50px;
    color: #000;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 900;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container, .purchase-container {
        flex-direction: column;
    }

    .main-container {
        text-align: center;
    }

    .left-column, .right-column, .gallery, .form-container {
        width: 100%;
    }

    .gallery-image:hover {
        transform: none;
    }
}
