/* Palestine Cola - Ultra Modern CSS Styles */
:root {
    --palestinian-red: #ff1744;
    --palestinian-green: #00c853;
    --palestinian-white: #ffffff;
    --palestinian-black: #0d1117;
    --dark-bg: #161b22;
    --card-bg: #21262d;
    --border-color: #30363d;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --success-color: #00d4aa;
    --gradient-primary: black;
    --gradient-dark: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    --shadow-glow: 0 0 30px rgba(255, 23, 68, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--palestinian-black);
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation */
#mainNav {
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#mainNav.scrolled {
    background: rgba(13, 17, 23, 0.95);
    box-shadow: var(--shadow-card);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 23, 68, 0.5));
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--palestinian-red) !important;
    background: rgba(255, 23, 68, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
    left: 10%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 23, 68, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 200, 83, 0.3) 0%, transparent 50%);
    z-index: 1;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 0 40px rgba(255, 23, 68, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    font-weight: 400;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

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

/* Product Cards */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-glow), var(--shadow-card);
    border-color: var(--palestinian-red);
}

.product-card:hover::before {
    opacity: 0.1;
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 2rem;
}

.product-name {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-flavor {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.product-price .price {
    font-size: 1.8rem;
    font-weight: 800;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Story Section */
.story-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.customer-info {
    margin-top: 1rem;
}

/* Buttons */
.btn {
    border-radius: 12px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-success {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-card);
}

.btn-success::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 ease;
}

.btn-success:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow), var(--shadow-card);
    filter: brightness(1.1);
}

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

.btn-outline-success {
    background: transparent;
    border: 2px solid var(--palestinian-red);
    color: var(--palestinian-red);
}

.btn-outline-success:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--palestinian-black);
}

/* Cookie Banner - Modern & Professional */
.cookie-banner {
    position: fixed !important;
    /* Force bottom placement to avoid being placed at top by other rules */
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    z-index: 99999 !important;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #e74c3c;
    backdrop-filter: blur(10px);
    visibility: hidden;
    opacity: 0;
    pointer-events: auto;
}

.cookie-banner.show {
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.cookie-banner.hidden {
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(100%) !important;
    pointer-events: none !important;
}

/* Debug: Temporary style to make banner always visible for testing */
.cookie-banner.debug-visible {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    /* debug-visible keeps original look but adds green border so it's obvious */
    border-top-color: #00c853 !important;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 100000;
}

.cookie-text {
    flex: 1;
    min-width: 0;
}

.cookie-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: #ecf0f1;
    opacity: 0.9;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 110px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 100001;
    pointer-events: auto;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border-color: #27ae60;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: #ecf0f1;
    border-color: #bdc3c7;
}

.cookie-btn-decline:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: #e74c3c;
    color: #e74c3c;
    transform: translateY(-2px);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 1.5rem;
    }
    
    .cookie-title {
        font-size: 1rem;
        justify-content: center;
    }
    
    .cookie-description {
        font-size: 0.85rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 140px;
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 1rem;
        gap: 1.25rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: none;
    }
}

/* Animation for smooth entrance */
@keyframes slideUpFade {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner.show {
    animation: slideUpFade 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--palestinian-black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Trust Badges */
.trust-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Social Links */
.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--success-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}