/* ZAILARK Home Page - Redesigned Modern Interface */

/* Enhanced Hero Section */
.hero-redesigned {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero-redesigned::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="10" r="0.8" fill="rgba(255,255,255,0.12)"/><circle cx="10" cy="60" r="1.2" fill="rgba(255,255,255,0.06)"/><circle cx="90" cy="30" r="0.6" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float-pattern 20s ease-in-out infinite;
}

@keyframes float-pattern {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content-redesigned {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-redesigned h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-text-redesigned .gradient-word {
    background: linear-gradient(45deg, #ffd89b, #19547b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
}

.hero-text-redesigned .gradient-word::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #ffd89b, #19547b);
    border-radius: 2px;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.05); }
}

.hero-text-redesigned p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    max-width: 500px;
}

.hero-visual-redesigned {
    position: relative;
    height: 500px;
}

.hero-card-stack {
    position: relative;
    height: 100%;
    perspective: 1000px;
}

.hero-card {
    position: absolute;
    width: 300px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.hero-card:nth-child(1) {
    transform: translateX(0) translateY(0) rotateY(-5deg);
    z-index: 3;
}

.hero-card:nth-child(2) {
    transform: translateX(50px) translateY(30px) rotateY(5deg);
    z-index: 2;
}

.hero-card:nth-child(3) {
    transform: translateX(100px) translateY(60px) rotateY(10deg);
    z-index: 1;
}

.hero-card:hover {
    transform: translateY(-20px) rotateY(0deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.hero-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Enhanced CTA Buttons */
.cta-buttons-redesigned {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-redesigned {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-redesigned {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(255,107,107,0.3);
}

.btn-primary-redesigned::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-primary-redesigned:hover::before {
    left: 100%;
}

.btn-primary-redesigned:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,107,107,0.4);
}

.btn-outline-redesigned {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-redesigned:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float-around 15s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: #ffd89b;
    border-radius: 50%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    top: 70%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: #19547b;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    top: 30%;
    right: 30%;
    width: 80px;
    height: 80px;
    background: #ff6b6b;
    border-radius: 20px;
    animation-delay: -10s;
}

@keyframes float-around {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

/* Enhanced Features Section */
.features-showcase-redesigned {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.features-grid-redesigned {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card-redesigned {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-redesigned::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card-redesigned:hover::before {
    transform: scaleX(1);
}

.feature-card-redesigned:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-icon-redesigned {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon-redesigned i {
    font-size: 1.8rem;
    color: white;
}

.feature-card-redesigned:hover .feature-icon-redesigned {
    transform: scale(1.1) rotate(5deg);
}

.feature-card-redesigned h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card-redesigned p {
    color: #6c757d;
    line-height: 1.6;
}

/* Artisan Showcase Enhanced */
.artisan-showcase-redesigned {
    padding: 6rem 0;
    background: #1a1a2e;
    color: white;
    position: relative;
    overflow: hidden;
}

.artisan-showcase-redesigned::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.artisan-grid-redesigned {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.artisan-card-redesigned {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.artisan-card-redesigned:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.2);
}

.artisan-image-redesigned {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.artisan-image-redesigned img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.artisan-card-redesigned:hover .artisan-image-redesigned img {
    transform: scale(1.1);
}

.artisan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artisan-card-redesigned:hover .artisan-overlay {
    opacity: 1;
}

.artisan-overlay .btn {
    background: white;
    color: #667eea;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.artisan-card-redesigned:hover .artisan-overlay .btn {
    transform: translateY(0);
}

.artisan-info-redesigned {
    padding: 2rem;
}

.artisan-info-redesigned h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.artisan-craft {
    color: #ffd89b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artisan-info-redesigned p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section-redesigned {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffd89b, #19547b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced CTA Section */
.cta-section-redesigned {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-redesigned::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="glow"><stop offset="0%" stop-color="rgba(102,126,234,0.1)"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="20" cy="20" r="15" fill="url(%23glow)"/><circle cx="80" cy="60" r="20" fill="url(%23glow)"/><circle cx="50" cy="80" r="10" fill="url(%23glow)"/></svg>');
    animation: glow-move 20s ease-in-out infinite;
}

@keyframes glow-move {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(50px) translateY(-30px); }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section-redesigned h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffd89b, #19547b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.cta-section-redesigned p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content-redesigned {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-visual-redesigned {
        height: 300px;
    }
    
    .hero-card {
        width: 250px;
        height: 320px;
        padding: 1.5rem;
    }
    
    .hero-card:nth-child(2),
    .hero-card:nth-child(3) {
        display: none;
    }
    
    .features-grid-redesigned,
    .artisan-grid-redesigned {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons-redesigned {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-redesigned {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
}

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

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger animations */
.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.fade-in-up:nth-child(5) { animation-delay: 0.5s; }
.fade-in-up:nth-child(6) { animation-delay: 0.6s; }
