@import url('https://fonts.googleapis.com/css2?family=Convergence&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #3e2f2b;
    --secondary-color: #f3efea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Convergence", sans-serif;
    font-style: normal;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* ------------------ */
/* Barra de anuncios. */
/* ------------------ */

.carrousel {
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 3em;
}

.group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    animation: spin 60s linear infinite;
}

.carrousel::-webkit-scrollbar {
    display: none;
}

@keyframes spin {
    from { translate: 0%; }
    to { translate: -100%; }
}

.card {
    flex: 0 0 auto;
    padding: 1em;
    height: 50px;
    text-align: center;
    align-content: center;
    font-size: 12px;
}

/* -------------------- */
/* Barra de navegación. */
/* -------------------- */

.menu {
    display: flex;
    align-items: center;
    width: 30px;
    margin-left: 10px;
    cursor: pointer;
}

.nav-link{
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.4s ease;
    font-size: 12px;
    pointer-events: none;
}

.menu-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-left: 80px;
}

.nav-bar {
    display: flex;
    align-items: center;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.img-logo {
    width: 250px;
    height: auto;
    margin-top: 14px;
}

a {
    color: var(--secondary-color);
    outline: none;
    text-decoration: none;
    margin: 0 1em 0 1em;
    font-size: 14px;
}

.animation-items {
    animation: fade 0.6s ease forwards;
}

@keyframes fade{
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ------- */
/* Banner. */
/* ------- */

.banner {
    position: relative;
    display: flex;
    width: 100%;
    height: 80vh;
}

.banner-item {
    width: 33.33%;
    height: 100%;
    overflow: hidden;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: var(--secondary-color);
    top: 70vh;
    font-size: 18px;
    font-style: oblique;
}

/* ---------- */
/* Productos. */
/* ---------- */

.section-title {
    text-align: center;
    margin: 2em 0 1em 0;
    font-size: 24px;
}

.watch {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.watches {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    padding: 2em;
}

.description-watch {
    padding: 6px;
}

button.i-want-it {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.5em 1em;
    cursor: pointer;
    margin-top: 0.5em;
}

/* Colores Productos. */
.color-button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: 0.2s;
    padding: 0;
}

.color-button:hover {
    transform: scale(1.1);
    border-color: #000;
}

.watch {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: white;
    transition: 0.3s;
}

.watch:hover {
    transform: translateY(-5px);
}

.watch-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
}

.hot-badge {
    background: #ff3d00;
}

.sale-badge {
    background: #111;
}

.premium-badge {
    background: goldenrod;
}

.carousel-watch {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.watch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.watch:hover .watch-image {
    transform: scale(1.05);
}

.watches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    padding: 1rem;
    max-width: 1500px;
    margin: auto;
}

.carousel-watch {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f8f8;
}

.watch-image {
    max-width: 100%;
    max-height: 190px;
    width: auto;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
}

.description-watch {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
}

/* ------- */
/* Footer. */
/* ------- */

.footer {
    padding: 30px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 300px;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 24px;
    z-index: 999;
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.08);
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #25D366;
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s;
    pointer-events: none;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ----------------------------------------- */
/* -- -- -- --  Watch Animation. -- -- -- -- */
/* ----------------------------------------- */

.container-clock {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
}

.clock {
    border-radius: 100%;
    background: #ffffff;
    font-family: "Montserrat";
    border: 5px solid #3e2f2b;
    box-shadow: inset 2px 3px 8px 0 rgba(0, 0, 0, 0.1);
}

.wrap {
    overflow: hidden;
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 100%;
}

.minute,
.hour {
    position: absolute;
    height: 35px;
    width: 4px;
    margin: auto;
    top: -30%;
    left: 0;
    bottom: 0;
    right: 0;
    background: black;
    transform-origin: bottom center;
    transform: rotate(0deg);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.minute {
    position: absolute;
    height: 40px;
    width: 4px;
    top: -35%;
    left: 0;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    transform: rotate(90deg);
}

.second {
    position: absolute;
    height: 45px;
    width: 2px;
    margin: auto;
    top: -38%;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 4px;
    background: #3e2f2b;
    transform-origin: bottom center;
    transform: rotate(180deg);
    z-index: 1;
}

.dot {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 12px;
    height: 12px;
    border-radius: 100px;
    background: white;
    border: 2px solid #1b1b1b;
    border-radius: 100px;
    margin: auto;
    z-index: 1;
}

.brand {
    position: absolute;
    top: 20%;
    left: 51%;
    transform: translate(-50%, -50%);

    font-size: 7px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--primary-color);
    z-index: 0;
}

