/* Modern Gradient Enhancements */

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Mouse move animation */
.hero-section {
    perspective: 1000px;
}

.hero-section:hover .hero-img {
    animation: subtle-zoom 8s infinite alternate ease-in-out;
}

@keyframes subtle-zoom {
    0% {
        transform: scale(1.1) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(1%, 1%);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-title {
    color: var(--palestinian-white);
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: var(--palestinian-white);
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Transparent Navbar */
.navbar {
    background: transparent !important;
    transition: background 0.3s ease;
    z-index: 1000;
}

.navbar-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar.scrolled {
    background: var(--palestinian-black) !important;
}

/* Floating Cola Animation */
.floating-cola {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    position: relative;
}

.cola-bottle {
    position: relative;
    animation: float 6s ease-in-out infinite;
    color: var(--palestinian-red);
    filter: drop-shadow(0 0 30px rgba(255, 23, 68, 0.6));
}

.bottle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 23, 68, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: glow 3s ease-in-out infinite alternate;
    z-index: -1;
}

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

@keyframes glow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

/* Enhanced Sections */
.section {
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
    z-index: -1;
}

/* Story Section with Glass Effect */
.story-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 23, 68, 0.1) 0%, 
        rgba(0, 200, 83, 0.1) 100%
    );
    z-index: -1;
}

/* Testimonials with Modern Cards */
.testimonials-section {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 2rem 0;
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 23, 68, 0.3);
}

/* Enhanced Product Grid */
#products {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 2rem 0;
    padding: 3rem 0;
    position: relative;
}

#products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 23, 68, 0.05) 0%, 
        transparent 25%, 
        rgba(0, 200, 83, 0.05) 50%, 
        transparent 75%, 
        rgba(255, 23, 68, 0.05) 100%
    );
    z-index: -1;
}

/* Section Titles with Gradient */
.section-title {
    background: linear-gradient(135deg, #ff1744 0%, #00c853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Footer Enhancement */
footer {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.social-link {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--palestinian-red) !important;
}

.footer-link {
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--palestinian-red) !important;
    padding-left: 5px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 23, 68, 0.1) 0%, 
        transparent 50%, 
        rgba(0, 200, 83, 0.1) 100%
    );
    z-index: -1;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

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

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff1744 0%, #00c853 100%);
}

/* Particle Effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -10;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 23, 68, 0.5);
    border-radius: 50%;
    animation: particle-float 20s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .floating-cola {
        height: 300px;
    }
    
    .cola-bottle {
        transform: scale(0.7);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}