/* Modern Showcase CSS with 3D Effects and Micro Animations */

/* CSS Variables for Modern Design */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --light-gradient: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-medium: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-strong: 0 30px 80px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
    
    --border-radius: 24px;
    --border-radius-large: 32px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: -15s;
    animation-duration: 35s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 70%;
    left: 60%;
    animation-delay: -20s;
    animation-duration: 40s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Modern Header */
.main-header {
    text-align: center;
    margin-bottom: 100px;
    padding: 80px 0;
    position: relative;
}

.header-content {
    position: relative;
    z-index: 2;
}

.logo-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.logo-3d {
    width: 120px;
    height: 120px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-glow);
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    transform-style: preserve-3d;
    transition: var(--transition-smooth);
}

.logo-3d::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--primary-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(180deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.title-animated {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: titleSlideIn 1s ease-out;
    position: relative;
}

.title-animated::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
    animation: lineExpand 1.5s ease-out 0.5s both;
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}

.subtitle-animated {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
    animation: subtitleFadeIn 1s ease-out 0.3s both;
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Stats */
.header-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    animation: statsSlideUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@keyframes statsSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Store Grid */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Modern Store Cards */
.store-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    animation: cardSlideIn 0.8s ease-out both;
}

.store-card:nth-child(1) { animation-delay: 0.1s; }
.store-card:nth-child(2) { animation-delay: 0.2s; }
.store-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(15deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.store-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--shadow-strong);
}

.store-card:hover .card-glow {
    opacity: 1;
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Store Image Section */
.store-image {
    height: 320px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.logo-3d-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: logoRotate 4s linear infinite;
}

.logo-3d-container .logo-3d {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    background: var(--primary-gradient);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.logo-angrej {
    background: linear-gradient(135deg, #000000, #333333) !important;
}

.logo-lady {
    background: linear-gradient(135deg, #6c757d, #adb5bd) !important;
}

.logo-accessories {
    background: linear-gradient(135deg, #8b4513, #d2b48c) !important;
}

@keyframes logoRotate {
    0% {
        transform: translate(-50%, -50%) rotateY(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateY(360deg);
    }
}

.store-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
    border-radius: 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.store-logo:hover {
    transform: scale(1.1);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(102, 126, 234, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.store-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.store-card:hover .overlay-content {
    transform: translateY(0);
}

.store-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: iconBounce 2s infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hover-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Store Info Section */
.store-info {
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.store-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-soft);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.store-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    transition: var(--transition-smooth);
}

.store-card:hover .store-title {
    color: #667eea;
    transform: scale(1.05);
}

.store-description {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
}

.store-features {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: var(--transition-smooth);
}

.store-card:hover .feature-tag {
    background: rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.store-tag {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 32px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.store-card:hover .store-tag {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateX(20px);
}

.store-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--primary-gradient);
    color: white;
    animation: arrowPulse 1.5s infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .container {
        padding: 0 32px;
    }
    
    .header-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .stores-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .main-header h1 {
        font-size: 3rem;
    }
    
    .main-header {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .store-image {
        height: 280px;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .main-header h1 {
        font-size: 2.5rem;
    }
    
    .main-header p {
        font-size: 1.125rem;
    }
    
    .main-header {
        padding: 40px 0;
    }
    
    .store-info {
        padding: 32px 24px;
    }
    
    .store-title {
        font-size: 1.875rem;
    }
    
    .store-image {
        height: 250px;
    }
    
    .logo-3d {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}