/* Custom styles beyond Tailwind */

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

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

/* Custom hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Custom shadows */
.custom-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Custom gradients */
.gradient-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #7ED321 100%);
}

/* Custom button styles */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom image styles */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.3s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Custom section spacing */
.section-spacing {
    padding: 5rem 0;
}

/* Custom container width */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Custom typography */
.heading-gradient {
    background: linear-gradient(135deg, #4A90E2 0%, #7ED321 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom card styles */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Custom video container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Custom review card */
.review-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Custom star rating */
.star-rating {
    color: #FFD700;
    font-size: 1.5rem;
}

/* Custom CTA button */
.cta-button {
    background-color: #FBBF24; /* yellow-400 */
    color: #1F2937; /* gray-900 */
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #FCD34D; /* yellow-300 */
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-btn {
    margin: 0 auto !important;
    position: relative;
    top: -90px;
    font-size: 20px !important;
}

/* Hero CTA Button */
#cta-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    animation: none;
}

#cta-button:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Regular CTA Button Pulse */
.cta-button:not(#cta-button) {
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

/* Custom responsive adjustments */
@media (max-width: 768px) {

    #cta-button {
        height: 35px;
        top: -40px;
    }

    .section-spacing {
        padding: 3rem 0;
    }
    
    .container-custom {
        padding: 0 0.5rem;
    }

    /* Button size adjustments for mobile */
    .cta-button {
        padding: 0.35rem 0.75rem;
        font-size: 16px;
    }

    #cta-button {
        padding: 4px 14px;
        font-size: 16px;
        transform: scale(0.8);
    }

    .bg-two-btn {
        height: 35px;
        position: absolute;
        padding: 5px 20px !important;
        top: -12px;
        /* left: -38px; */
    }

    

    /* Container padding */
    .container {
        padding: 0 0.5rem;
    }

    /* Image adjustments */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Text adjustments */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Grid adjustments */
    .grid {
        gap: 1rem;
    }
}

/* Specific media query for tablets and smaller devices */
@media (min-width: 640px) and (max-width: 767px) {
    .bg-two-btn {
       left: -2px;
       top: -24px;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    #cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure iframe is responsive */
iframe {
    max-width: 100%;
    width: 100%;
}

/* Ensure proper spacing on all devices */
.section {
    padding: 2rem 0;
}

@media (min-width: 1025px) {
    .section {
        padding: 4rem 0;
    }
}

/* Flash Sale Timer */
.flash-sale-timer {
    position: relative;
    z-index: 50;
}

.timer-block {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    min-width: 3rem;
    text-align: center;
}

.timer-block span:first-child {
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 640px) {
    .flash-sale-timer {
        font-size: 0.875rem;
    }
    
    .timer-block {
        min-width: 2.5rem;
        padding: 0.15rem 0.35rem;
    }
    
    .timer-block span:first-child {
        font-size: 1rem;
    }
} 