* {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-family: "Playfair Display", serif;
}

/* Importar fuentes elegantes para joyería */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Cinzel:wght@400;500;600&display=swap");

html,
body {
    height: 100%;
    width: 100%;
}
#main {
    position: relative;
    overflow: hidden;
}
#page {
    position: relative;
    height: 100vh;
    width: 100vw;
    background: #e7f1f2;
}
#page1 {
    position: relative;
    height: 100vh;
    width: 100vw;
    z-index: 50;
}
#page2 {
    position: relative;
    height: 100vh;
    width: 100vw;
    z-index: 50;
}
#page3 {
    position: relative;
    height: 100vh;
    width: 100vw;
    z-index: 50;
}
canvas {
    position: relative;
    z-index: 1;
    max-width: 100vw;
    max-height: 100vh;
    display: block;
}
#loop {
    display: flex;
    position: absolute;
    top: 30%;
    height: 25%;
    width: 100%;
    font-size: 100px;
    white-space: nowrap;
    font-family: gilroy;
    z-index: 100;
}
#loop > h1 {
    font-weight: 500;
    color: #021a23;
    text-shadow: 0 0 20px rgba(123, 158, 126, 0.5);
    animation-name: anim;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    font-family: "Cinzel", serif;
}
#loop > h1 > span {
    color: #7b9e7e;
    font-weight: 600;
    filter: drop-shadow(0 0 10px rgba(123, 158, 126, 0.6));
}
@keyframes anim {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
#nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    width: 100%;
    padding: 10px 20px;
    z-index: 200;
    background: transparent;
}
#logo{
    height: 40px;
    width: auto;
}
.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn-distribuidores {
    padding: 12px 24px;
    border-radius: 50px;
    background: #7b9e7e;
    color: #fff;
    border: none;
    font-family: "Cinzel", serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 158, 126, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-distribuidores:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 158, 126, 0.4);
}

.btn-invitado {
    padding: 12px 24px;
    border-radius: 50px;
    background: #e7f1f2;
    color: #021a23;
    border: 2px solid #021a23;
    font-family: "Cinzel", serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-invitado:hover {
    transform: translateY(-2px);
    background: #021a23;
    color: #e7f1f2;
}
#page > h3 {
    position: absolute;
    top: 55%;
    font-family: "Playfair Display", serif;
    font-weight: 400;
    color: #021a23;
    left: 5%;
    font-size: 18px;
    text-shadow: 0 2px 8px rgba(123, 158, 126, 0.3);
    z-index: 100;
}
#page > h4 {
    position: absolute;
    top: 62%;
    left: 25%;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    color: #7b9e7e;
    text-shadow: 0 2px 8px rgba(123, 158, 126, 0.3);
    z-index: 100;
}
#page1 > #right-text {
    position: absolute;
    top: 30%;
    left: 10%;
    z-index: 100;
}
#page1 > #right-text > h3 {
    font-weight: 400;
    color: #021a23;
    font-family: "Cinzel", serif;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}
#page1 > #right-text > h1 {
    line-height: 1.5;
    font-size: 50px;
    color: #7b9e7e;
    font-family: "Cinzel", serif;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9),
        -1px -1px 2px rgba(255, 255, 255, 0.9);
}
#page1 > #left-text {
    position: absolute;
    top: 50%;
    right: 10%;
    text-align: end;
    z-index: 100;
}
#page1 > #left-text > h1 {
    font-size: 50px;
    line-height: 1.5;
    color: #7b9e7e;
    font-family: "Cinzel", serif;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9),
        -1px -1px 2px rgba(255, 255, 255, 0.9);
}
#page1 > #left-text > h3 {
    color: #021a23;
    font-weight: 400;
    font-family: "Cinzel", serif;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}
#page2 > #text1 {
    position: absolute;
    top: 30%;
    left: 10%;
    z-index: 100;
}
#page2 > #text1 > h3 {
    color: #021a23;
    font-weight: 400;
    font-family: "Cinzel", serif;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}
#page2 > #text1 > h1 {
    font-size: 60px;
    line-height: 1.5;
    color: #7b9e7e;
    font-family: "Cinzel", serif;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9),
        -1px -1px 2px rgba(255, 255, 255, 0.9);
}
#page2 > #text2 {
    position: absolute;
    top: 55%;
    right: 10%;
    text-align: end;
    z-index: 100;
}
#page2 > #text2 > p {
    color: #021a23;
    font-weight: 400;
    font-family: "Playfair Display", serif;
    font-size: 16px;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}
#page3 > #text3 {
    position: absolute;
    top: 40%;
    right: 10%;
    text-align: end;
    z-index: 100;
}
#page3 > #text3 > h3 {
    color: #021a23;
    font-weight: 400;
    font-family: "Cinzel", serif;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8),
        -1px -1px 2px rgba(255, 255, 255, 0.8);
}
#page3 > #text3 > h1 {
    font-size: 70px;
    color: #7b9e7e;
    font-family: "Cinzel", serif;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9),
        -1px -1px 2px rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

/* Efectos adicionales para joyería */
canvas {
    box-shadow: 0 0 50px rgba(123, 158, 126, 0.2);
}

/* Animación de brillo para elementos dorados */
@keyframes golden-glow {
    0%,
    100% {
        text-shadow: 0 0 20px rgba(123, 158, 126, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(123, 158, 126, 0.8),
            0 0 40px rgba(123, 158, 126, 0.3);
    }
}

#nav > h3 {
    animation: golden-glow 3s ease-in-out infinite;
}

/* Responsividad mejorada */
@media (max-width: 768px) {
    #loop {
        font-size: 60px;
    }

    #page > h3 {
        font-size: 16px;
        left: 3%;
        z-index: 100;
        position: relative;
    }

    #page > h4 {
        z-index: 100;
        position: relative;
    }

    #page1 > #right-text > h1,
    #page1 > #left-text > h1 {
        font-size: 35px;
        z-index: 100;
        position: relative;
    }

    #page2 > #text1 > h1 {
        font-size: 40px;
        z-index: 100;
        position: relative;
    }

    #page3 > #text3 > h1 {
        font-size: 45px;
        z-index: 100;
        position: relative;
    }

    #page2 > #text2 > p {
        font-size: 14px;
        z-index: 100;
        position: relative;
    }

    .nav-buttons {
        gap: 12px;
    }

    .btn-distribuidores,
    .btn-invitado {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    #loop {
        font-size: 40px;
    }

    #page > h3 {
        font-size: 14px;
        left: 2%;
        right: 2%;
        text-align: center;
        z-index: 100;
        position: relative;
    }

    #page > h4 {
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        position: relative;
    }

    #page1 > #right-text > h1,
    #page1 > #left-text > h1 {
        font-size: 28px;
        z-index: 100;
        position: relative;
    }

    #page2 > #text1 > h1 {
        font-size: 32px;
        z-index: 100;
        position: relative;
    }

    #page3 > #text3 > h1 {
        font-size: 35px;
        z-index: 100;
        position: relative;
    }

    .nav-buttons {
        flex-direction: row;
        gap: 8px;
    }

    .btn-distribuidores,
    .btn-invitado {
        padding: 6px 12px;
        font-size: 12px;
    }

    #nav > h3 {
        font-size: 18px;
    }
}

/* Contact Section */
#contact-section {
    background: #e7f1f2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
}

.contact-info {
    color: #021a23;
}

.contact-info h2 {
    font-family: "Cinzel", serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(123, 158, 126, 0.5);
}

.contact-info > p {
    font-family: "Playfair Display", serif;
    font-size: 18px;
    color: #7b9e7e;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    font-family: "Cinzel", serif;
    font-size: 18px;
    font-weight: 500;
    color: #021a23;
    margin-bottom: 8px;
}

.info-item p {
    font-family: "Playfair Display", serif;
    font-size: 16px;
    color: #7b9e7e;
    margin: 0;
}

.contact-form {
    background: rgba(123, 158, 126, 0.1);
    border: 1px solid rgba(123, 158, 126, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-form h3 {
    font-family: "Cinzel", serif;
    font-size: 24px;
    font-weight: 600;
    color: #021a23;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(123, 158, 126, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(123, 158, 126, 0.3);
    border-radius: 8px;
    background: rgba(2, 26, 35, 0.8);
    color: #7b9e7e;
    font-family: "Playfair Display", serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7b9e7e;
    box-shadow: 0 0 15px rgba(123, 158, 126, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(123, 158, 126, 0.6);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #7b9e7e, #e7f1f2);
    border: none;
    border-radius: 8px;
    color: #021a23;
    font-family: "Cinzel", serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 158, 126, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 158, 126, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive contact section */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 28px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}
