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

/*body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}*/

/* Hero Section - Fixed Light Theme */
.hero {
    height: 75vh;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: -1;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Animated Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(220, 38, 38, 0.03) 50%, transparent 70%),
        radial-gradient(circle at 30% 40%, rgba(100, 116, 139, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(220, 38, 38, 0.05) 1px, transparent 1px);
    background-size: 300px 300px, 80px 80px, 120px 120px;
    animation: heroFloat 15s ease-in-out infinite;
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            transparent 0deg, 
            rgba(220, 38, 38, 0.02) 45deg, 
            transparent 90deg, 
            rgba(100, 116, 139, 0.03) 180deg, 
            transparent 270deg);
    animation: heroRotate 30s linear infinite;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.9;
    }
    66% {
        transform: translateY(10px) translateX(-15px);
        opacity: 0.5;
    }
}

@keyframes heroRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-container {
    max-width: 1600px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    z-index: 10;
    position: relative;
}

.hero-content {
    flex: 0 0 25%;
    color: #1e293b;
    z-index: 2;
    max-width: none;
    padding-left: 3rem;
}

.hero-video-section {
    flex: 0 0 75%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #1e293b 0%, #dc2626 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
    letter-spacing: -0.02em;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    font-weight: 400;
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
}

.scroll-btn {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border: none;
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 
        0 10px 25px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-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.6s ease;
}

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

.scroll-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(220, 38, 38, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 350px;
    border-radius: 40px 10px 40px 10px;
    overflow: hidden;
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 12px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(220, 38, 38, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(220, 38, 38, 0.05) 50%, transparent 60%),
        radial-gradient(circle at 30% 30%, rgba(100, 116, 139, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 70% 70%, rgba(220, 38, 38, 0.05) 1px, transparent 1px);
    background-size: 200px 200px, 60px 60px, 80px 80px;
    border-radius: 30px;
    pointer-events: none;
    animation: videoGlow 6s ease-in-out infinite alternate;
}

.hero-video-container::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #dc2626, #ef4444, #f87171);
    border-radius: 33px;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.3;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes videoGlow {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-video-container:hover {
    transform: translateY(-8px) rotateY(5deg) rotateX(2deg);
    transition: all 0.5s ease;
}

.hero-video-container:hover::before {
    animation-duration: 3s;
}

.hero-video-container:hover::after {
    opacity: 1;
    filter: blur(20px);
}



.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px 0px 28px 0px;
    transition: none;
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Order Section - Scrolls over hero */
.order-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
    margin-top: 100vh;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.order-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(220, 38, 38, 0.02) 50%, transparent 60%);
    background-size: 800px 800px, 600px 600px, 400px 400px;
    pointer-events: none;
}

.order-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 2rem;
}

.image-grid {
    display: grid;
    gap: 2rem;
}

.image-item {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(220, 38, 38, 0.1);
    transition: all 0.4s ease;
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 8px;
}

.image-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(220, 38, 38, 0.2),
        0 0 20px rgba(220, 38, 38, 0.1);
}

.image-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
    border-radius: 25px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-item:hover::before {
    opacity: 1;
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Order Form */
.order-form-container {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.order-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
    border-radius: 25px;
    pointer-events: none;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #718096;
    font-size: 1.1rem;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.7rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #dc2626;
    background: white;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Video Animation Classes - keeping constant */
.video-constant {
    transform: scale(1);
    z-index: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .hero-content {
        flex: none;
        max-width: none;
    }
    
    .hero-video-section {
        flex: none;
        width: 100%;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-video-container {
        width: 100%;
        max-width: 700px;
        height: 300px;
    }
    
    .order-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-video-container {
        height: 280px;
        width: 100%;
        max-width: 600px;
    }
    
    .scroll-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .order-container {
        padding: 0 1rem;
    }
    
    .order-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-video-container {
        height: 250px;
        max-width: 500px;
    }
    
    .scroll-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .order-form-container {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.75rem;
    }
}

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

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

.hero-content,
.hero-video-container {
    animation: fadeInUp 1s ease-out;
}
