/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #ffdb3a;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffdb3a 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --shadow-light: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-heavy: 0 15px 35px rgba(0,0,0,0.2);
    --border-radius: 15px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Preloader with Authentic Sun Animation */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: all 1s ease-in-out;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

.sun-container {
    position: relative;
    margin-bottom: 30px;
}

.sun {
    width: 120px;
    height: 120px;
    position: relative;
    animation: sunRotate 4s linear infinite;
}

.sun-rays {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, var(--accent-color) 41%, var(--accent-color) 43%, transparent 44%);
    border-radius: 50%;
    animation: raysRotate 8s linear infinite reverse;
}

.sun-rays::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: 
        0 160px 0 var(--accent-color),
        40px 40px 0 var(--accent-color),
        -40px 40px 0 var(--accent-color),
        40px 120px 0 var(--accent-color),
        -40px 120px 0 var(--accent-color),
        113px 80px 0 var(--accent-color),
        -113px 80px 0 var(--accent-color);
}

.sun-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: var(--primary-color);
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.loading-text {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.loading-text span {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    opacity: 0;
    animation: textReveal 3s ease-in-out infinite;
}

.loading-text span:nth-child(2) {
    animation-delay: 0.3s;
}

.loading-text span:nth-child(3) {
    animation-delay: 0.6s;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 2px;
    transform: translateX(-100%);
    animation: progressFill 3s ease-in-out infinite;
}

/* Main Content Hidden Initially */
.main-content {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.main-content.show {
    opacity: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

.navbar.scrolled .nav-logo span {
    color: var(--primary-color);
}

.navbar.scrolled .nav-link {
    color: var(--dark-color);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--primary-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    animation: logoFloat 3s ease-in-out infinite;
}

.nav-logo i {
    font-size: 28px;
    animation: iconSpin 4s linear infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link:focus,
.btn:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    font-size: 40px;
    color: var(--white);
    animation: float 6s ease-in-out infinite;
}

.float-element.bolt {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-element.box {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.float-element.gear {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
    animation: floatRotate 8s linear infinite;
}

.float-element.circuit {
    top: 40%;
    right: 25%;
    animation-delay: 4.5s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 0 50px;
}

.hero-content.animate {
    animation: heroEntrance 1.5s ease-out forwards;
}

@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.5s both;
}

.title-main {
    display: block;
    background: linear-gradient(45deg, var(--white), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease-out 1s both;
}

.title-sub {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    opacity: 0.8;
    animation: slideInLeft 1s ease-out 1.5s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 2.5s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
}

.hero-visual {
    animation: slideInRight 1s ease-out 1s both;
}

.visual-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.shop-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    width: 250px;
    transition: var(--transition-bounce);
    animation: pulse 3s ease-in-out infinite;
}

.shop-preview:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.shop-preview.kemasan {
    animation-delay: 1s;
}

.shop-preview .shop-icon {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
    animation: iconBounce 2s ease-in-out infinite;
}

.shop-preview h3 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
}

.connection-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--white), transparent);
    animation: lineGlow 2s ease-in-out infinite;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: slideInLeft 0.8s ease-out both;
}

.about-item:nth-child(2) {
    animation-delay: 0.2s;
}

.about-item:nth-child(3) {
    animation-delay: 0.4s;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

.about-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.about-info p {
    color: #666;
    line-height: 1.6;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: var(--white);
    padding: 40px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-bounce);
    animation: fadeInUp 0.8s ease-out both;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    animation: countUp 2s ease-out both;
}

.stat-label {
    font-weight: 600;
    color: var(--dark-color);
}

/* Shops Section */
.shops-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.shop-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition-bounce);
    position: relative;
    animation: fadeInUp 0.8s ease-out both;
}

.shop-card:nth-child(2) {
    animation-delay: 0.3s;
}

.shop-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.shop-bg {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.elektrik-card .shop-bg {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.kemasan-card .shop-bg {
    background: linear-gradient(135deg, #f7931e, #ffdb3a);
}

.electric-animation {
    position: absolute;
    width: 100%;
    height: 100%;
}

.lightning {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--white);
    clip-path: polygon(20% 0%, 40% 0%, 30% 50%, 70% 50%, 60% 100%, 40% 100%, 50% 50%, 10% 50%);
    animation: electricPulse 1.5s ease-in-out infinite;
}

.circuit-board {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background: 
        linear-gradient(90deg, transparent 48%, var(--white) 49%, var(--white) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, var(--white) 49%, var(--white) 51%, transparent 52%);
    background-size: 30px 30px;
    animation: circuitMove 3s linear infinite;
}

.package-animation {
    position: absolute;
    width: 100%;
    height: 100%;
}

.boxes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 5px;
    animation: boxStack 2s ease-in-out infinite;
}

.boxes::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    animation: boxFloat 2s ease-in-out infinite 0.5s;
}

.tape-roll {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: var(--white);
    border-radius: 50%;
    animation: tapeRoll 3s linear infinite;
}

.shop-content {
    padding: 40px 30px;
}

.shop-card .shop-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin: -60px auto 20px;
    position: relative;
    z-index: 1;
    animation: iconBounce 2s ease-in-out infinite;
}

.shop-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: var(--dark-color);
}

.shop-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: center;
}

.shop-features {
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #666;
}

.feature i {
    color: var(--primary-color);
    font-size: 14px;
}

.shop-actions {
    text-align: center;
}

.btn-shop {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: var(--transition-bounce);
}

.btn-shop:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
}

/* Contact Section */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: slideInLeft 0.8s ease-out both;
}

.contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.4s;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

.contact-details h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    animation: slideInRight 0.8s ease-out both;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition-smooth);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    animation: logoFloat 3s ease-in-out infinite;
}

.footer-logo i {
    font-size: 28px;
    color: var(--accent-color);
    animation: iconSpin 4s linear infinite;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Animations */
@keyframes sunRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes raysRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes textReveal {
    0%, 20% { opacity: 0; transform: translateY(20px); }
    40%, 80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

@keyframes progressFill {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

@keyframes floatRotate {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(15px) rotate(270deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.5; box-shadow: none; }
    50% { opacity: 1; box-shadow: 0 0 20px var(--white); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes countUp {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes electricPulse {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes circuitMove {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

@keyframes boxStack {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1) rotate(5deg); }
}

@keyframes boxFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes tapeRoll {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Performance Optimization */

/* Improved Focus States for Accessibility */
.nav-link:focus,
.btn:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading State for Images */
.image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: start;
        padding: 50px 0;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-heavy);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-link {
        color: var(--dark-color);
        font-size: 1.1rem;
        padding: 10px 20px;
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .shops-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .shop-card {
        margin: 0 10px;
    }

    .form {
        padding: 30px 20px;
    }
}

/* Additional Visual Enhancements */
img {
    transition: opacity 0.3s ease;
}

img:not(.loaded) {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Back to Top Button Enhancement */
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}
