/* Custom Styles for Index Page */
body, html {
font-family: 'Tajawal', sans-serif !important;
}
/* Line clamp utility */
.line-clamp-2 {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in-up {
animation: fadeInUp 0.6s ease-out;
}
/* Modern Navigation */
.navbar {
position: fixed;
top: 1rem;
left: 0;
right: 0;
width: 90%;
height: 5rem;
z-index: 50;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 25px;
transition: all 0.3s ease;
animation: gentleRotate 20s linear infinite;
padding: 0 1rem;
}
@keyframes gentleRotate {
0% { transform: rotate(0deg); }
25% { transform: rotate(0.5deg); }
50% { transform: rotate(0deg); }
75% { transform: rotate(-0.5deg); }
100% { transform: rotate(0deg); }
}
.icon-bounce {
animation: iconBounce 2s ease-in-out infinite;
}
@keyframes iconBounce {
0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
40% { transform: translateY(-5px); }
60% { transform: translateY(-3px); }
}
/* Logo hover effect */
.navbar a:hover img {
transform: scale(1.05);
transition: transform 0.2s ease;
}
.navbar a:hover .bg-gradient-to-br {
transform: scale(1.05);
transition: transform 0.2s ease;
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
position: relative;
overflow: hidden;
padding-top: 5rem;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,');
opacity: 0.1;
}
.hero-content {
position: relative;
z-index: 2;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
min-height: 100vh;
}
.hero-text h1 {
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 700;
color: white;
margin-bottom: 1.5rem;
line-height: 1.2;
}
.hero-text p {
font-size: 1.2rem;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 2.5rem;
line-height: 1.6;
}
.hero-image {
position: relative;
}
.hero-image img {
width: 100%;
height: auto;
max-width: 500px;
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
/* CTA Buttons */
.cta-button {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 1rem 2rem;
border-radius: 50px;
font-weight: 600;
font-size: 1.1rem;
text-decoration: none;
transition: all 0.3s ease;
cursor: pointer;
border: none;
}
.cta-primary {
background: white;
color: #667eea;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.cta-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.cta-secondary {
background: rgba(255, 255, 255, 0.1);
color: white;
border: 1px solid rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
}
.cta-secondary:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.5);
}
/* Features Section */
.features {
padding: 6rem 0;
background: white;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
.feature-card {
text-align: center;
padding: 2rem;
background: #f8fafc;
border-radius: 16px;
transition: all 0.3s ease;
border: 1px solid #e2e8f0;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.feature-icon {
width: 80px;
height: 80px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
color: white;
font-size: 2rem;
}
/* Products Section */
.products-section {
padding: 6rem 0;
background: #f8fafc;
}
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
.product-card {
background: white;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.product-image {
height: 250px;
background: #f1f5f9;
display: flex;
align-items: center;
justify-content: center;
color: #64748b;
font-size: 3rem;
position: relative;
}
.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.fallback-icon {
display: flex;
align-items: center;
justify-content: center;
color: #64748b;
font-size: 3rem;
}
.product-content {
padding: 1.5rem;
}
.product-title {
font-size: 1.25rem;
font-weight: 600;
color: #1f2937;
margin-bottom: 0.5rem;
}
.product-price {
font-size: 1.5rem;
font-weight: 700;
color: #667eea;
margin-bottom: 1rem;
}
.product-actions {
display: flex;
gap: 0.5rem;
}
.btn {
flex: 1;
padding: 0.75rem 1rem;
border-radius: 8px;
font-weight: 500;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
transition: all 0.2s ease;
border: none;
cursor: pointer;
}
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.btn-primary:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.btn-secondary {
background: #e2e8f0;
color: #64748b;
}
.btn-secondary:hover {
background: #cbd5e1;
}
/* Services Section */
.services-section {
padding: 6rem 0;
background: white;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
.service-card {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
color: white;
border-radius: 16px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
}
.service-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}
.service-emoji {
font-size: 3rem;
margin-bottom: 1rem;
}
/* Footer */
.footer {
background: #1f2937;
color: white;
padding: 3rem 0 1rem;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.social-links {
display: flex;
gap: 1rem;
justify-content: center;
}
.social-link {
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-decoration: none;
transition: all 0.3s ease;
}
/* Modals */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
align-items: center;
justify-content: center;
}
.modal-content {
background: white;
border-radius: 16px;
padding: 2rem;
max-width: 500px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
}
/* Features Carousel */
.features-carousel {
width: 100%;
max-width: 400px;
margin: 0 auto;
overflow: hidden;
position: relative;
}
.features-track {
display: flex;
width: 1600px;
transition: transform 0.5s ease;
}
.feature-card {
flex: 0 0 400px;
padding: 2rem;
text-align: center;
background: #f8fafc;
border-radius: 16px;
margin: 0 0.5rem;
transition: all 0.3s ease;
}
.features-carousel .feature-card:hover {
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.carousel-btn {
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
background: rgba(255,255,255,0.9);
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.carousel-btn:last-child {
left: auto;
right: 10px;
}
.carousel-dots {
display: flex;
justify-content: center;
margin-top: 20px;
gap: 10px;
}
.dot {
width: 12px;
height: 12px;
border-radius: 50%;
border: none;
background: #d1d5db;
cursor: pointer;
}
.dot.active {
background: #7c3aed;
}
/* Mobile Menu */
#mobileMenu {
transform: translateY(-100%);
transition: transform 0.3s ease;
}
#mobileMenu.show {
transform: translateY(0);
}
/* Responsive Design */
@media (max-width: 768px) {
.hero-content {
grid-template-columns: 1fr;
text-align: center;
padding: 2rem;
gap: 2rem;
}
.navbar-links {
display: none;
}
.hero-text h1 {
font-size: 2.5rem;
}
.features-grid,
.products-grid,
.services-grid {
grid-template-columns: 1fr;
padding: 0 1rem;
}
.footer-content {
grid-template-columns: 1fr;
text-align: center;
}
.features-carousel {
max-width: 100%;
}
.features-track {
width: 1200px;
}
.feature-card {
flex: 0 0 300px;
}
}
@media (max-width: 480px) {
.hero-content {
padding: 1rem;
gap: 1rem;
}
.hero-text h1 {
font-size: 2rem;
margin-bottom: 1rem;
}
.hero-text p {
font-size: 1rem;
margin-bottom: 1.5rem;
}
.cta-button {
padding: 0.75rem 1.5rem;
font-size: 0.9rem;
width: 100%;
max-width: 280px;
margin: 0 auto;
}
.features-grid,
.products-grid,
.services-grid {
padding: 0 0.5rem;
gap: 1rem;
}
.feature-card,
.product-card,
.service-card {
padding: 1rem;
}
.feature-icon {
width: 60px;
height: 60px;
font-size: 1.5rem;
}
.feature-card h3 {
font-size: 1rem;
}
.product-title {
font-size: 1.1rem;
}
.product-price {
font-size: 1.25rem;
}
.service-card h3 {
font-size: 1.1rem;
}
.service-emoji {
font-size: 2rem;
}
.navbar {
padding: 0 0.5rem;
animation: none;
height: auto;
min-height: 4rem;
}
.navbar > div {
height: 4rem;
}
.max-w-7xl {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.footer-content {
padding: 0 1rem;
}
.features-carousel {
max-width: 100%;
}
.features-track {
width: 900px;
}
.feature-card {
flex: 0 0 250px;
padding: 1.5rem;
}
}