body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
}

.hero-bg {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2) 60%, transparent), url('../images/home.jpg');
    background-size: cover;
    background-position: center right;
    background-attachment: fixed;
}

.about-bg {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2) 60%, transparent), url('../images/about.jpg');
    background-size: cover;
    background-position: center right;
    background-attachment: fixed;
}

.tab-active {
    background-color: #3b82f6;
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Added Animations */
@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInAnimation 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translate3d(0, -20px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.animate-fade-in-down {
	animation-name: fadeInDown;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translate3d(0, 20px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.animate-fade-in-up {
	animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}


@media screen and (max-width: 768px) {
    .hero-bg {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1) 50%, transparent), url('../images/home-m.png');
        background-position: center;
        background-attachment: scroll;
    }

    .about-bg {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) 50%), url('../images/about-m.jpg');
        background-position: center;
        background-attachment: scroll;
    }
}

/* Modern page hero section */
.modern-hero {
    position: relative;
    background-color: #0f172a; /* Tailwind slate-900 */
    overflow: hidden;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 2.5rem 2.5rem; /* 40px grid */
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.3), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.2), transparent 40%);
    opacity: 0.8;
    z-index: 1;
    animation: pulse-glow 10s infinite alternate;
}

.modern-hero-content {
    position: relative;
    z-index: 2;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Product page tabs */
.product-tabs {
    border-bottom: 2px solid #e5e7eb; /* gray-200 */
}
.product-tab {
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    font-weight: 500; /* medium */
    color: #4b5563; /* gray-600 */
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}
.product-tab:hover {
    color: #1f2937; /* gray-800 */
    border-bottom-color: #d1d5db; /* gray-300 */
}
.product-tab.active {
    color: #2563eb; /* blue-600 */
    border-bottom-color: #2563eb; /* blue-600 */
}
