/* Custom Animations and Styles */


.p-4 {
    padding: 0.3rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Banner Hero Animations */
.banner-hero {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Watch Display */
.watch-display {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watch-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 3px solid #666;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.watch-face {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    border: 2px solid #c2185b;
    box-shadow:
        inset 0 0 20px rgba(194, 24, 91, 0.3),
        0 0 10px rgba(194, 24, 91, 0.2);
}

.watch-hand {
    position: absolute;
    background: white;
    transform-origin: bottom center;
    left: 50%;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.watch-hand.hour {
    width: 3px;
    height: 22px;
    top: 28%;
    margin-left: -1.5px;
    transform: rotate(45deg);
    animation: rotateHour 120s linear infinite;
}

.watch-hand.minute {
    width: 2px;
    height: 28px;
    top: 20%;
    margin-left: -1px;
    transform: rotate(180deg);
    animation: rotateMinute 60s linear infinite;
}

.watch-center {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #c2185b;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(194, 24, 91, 0.8);
    z-index: 10;
}

@keyframes rotateHour {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes rotateMinute {
    from { transform: rotate(180deg); }
    to { transform: rotate(540deg); }
}

/* Product Card Hover Effects */
.product-card {
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out backwards;
    border-radius: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }
.product-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Product Image Container */
.product-image-container {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.product-card:hover .product-image-container {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Product Info Styles */
.product-info {
    text-align: left;
}

.product-title {
    line-height: 1.3;
}

.product-description {
    line-height: 1.5;
    min-height: 42px;
    background-color: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.product-price {
    letter-spacing: -0.5px;
}

/* Buy Button Styles */
.buy-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.buy-button:hover::before {
    width: 400px;
    height: 400px;
}

.buy-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.4);
}

.buy-button:active {
    transform: translateY(0) scale(0.98);
}

/* Social Icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Search Bar Animation */
input[type="text"] {
    transition: all 0.3s ease;
}

input[type="text"]:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .watch-display {
        width: 100px;
        height: 100px;
    }

    .watch-circle {
        width: 85px;
        height: 85px;
    }

    .watch-face {
        width: 68px;
        height: 68px;
    }
}

/* Desktop Adjustments */
@media (min-width: 768px) {
    .watch-display {
        width: 160px;
        height: 160px;
    }

    .watch-circle {
        width: 140px;
        height: 140px;
    }

    .watch-face {
        width: 110px;
        height: 110px;
    }

    .watch-hand.hour {
        height: 30px;
    }

    .watch-hand.minute {
        height: 40px;
    }

    .watch-center {
        width: 12px;
        height: 12px;
    }

    /* Ajusta tamanho do banner em desktop */
    .banner-hero h2 {
        font-size: 3.5rem;
    }

    .banner-hero .grid {
        gap: 1rem;
    }

    .banner-hero .flex-col > div {
        width: 60px;
        height: 60px;
    }

    .banner-hero .flex-col svg {
        width: 32px;
        height: 32px;
    }

    .banner-hero .flex-col span {
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    /* Limita largura máxima dos cards em telas muito grandes */
    .product-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Images */
.aspect-square, .aspect-video {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}