/* Base styles and custom animations */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Hero animations */
.hero-content {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-image {
    animation: fadeUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

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

/* About section animations */
.about-images {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.about-content {
    animation: fadeUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Product card hover */
.product-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-6px);
}

/* Why us animations */
.why-content {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}

.why-image {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* Navbar scroll behavior */
.nav-scrolled {
    background: rgba(250, 251, 251, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(15, 76, 117, 0.08);
}

.nav-transparent {
    background: transparent !important;
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom selection color */
::selection {
    background: #00BFA6;
    color: white;
}

/* Smooth focus styles */
*:focus-visible {
    outline: 2px solid #00BFA6;
    outline-offset: 2px;
}

/* Image lazy load placeholder */
img {
    background: linear-gradient(135deg, #E0F2F1 0%, #F7F9FC 100%);
}

/* Subtle gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #0F4C75 0%, #00BFA6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
