/* ==================== CINEMATIC MODERN THEME ==================== */
:root {
    --bg-dark: #070b08;
    --bg-light: #fdfdfd;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-green: #2ecc71;
    --accent-glow: rgba(46, 204, 113, 0.4);
    --dark-green: #0d1f11;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

/* Base Overrides for Cinematic Theme */
.section-title {
    color: white;
}
.section-title::after {
    background: linear-gradient(135deg, #2ecc71, #a8e063);
}

/* Minimal Custom Cursor */
@media (hover: hover) and (pointer: fine) {
    body, a, button { cursor: none !important; }
}
.custom-cursor {
    width: 8px; height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}
.custom-cursor-follower {
    width: 35px; height: 35px;
    border: 1px solid rgba(46, 204, 113, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.2s, height 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cursor-hover .custom-cursor { width: 0; height: 0; }
.cursor-hover .custom-cursor-follower {
    width: 55px; height: 55px;
    background: rgba(46, 204, 113, 0.15);
    border-color: var(--accent-green);
    backdrop-filter: blur(2px);
}

/* Data cursor for specific text */
.custom-cursor-follower::after {
    content: attr(data-text);
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 800;
    opacity: 0;
    transition: opacity 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cursor-text-active .custom-cursor-follower {
    width: 75px; height: 75px;
    background: var(--accent-green);
    border-color: transparent;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.cursor-text-active .custom-cursor-follower::after {
    opacity: 1;
}
.cursor-text-active .custom-cursor {
    opacity: 0;
}

/* Cinematic Hero Section */
.hero-cinematic {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0; /* Behind navbar */
}
.hero-cinematic-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/cinematic-stadium.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    animation: slow-zoom 25s infinite alternate linear;
}
@keyframes slow-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}
.hero-overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(7,11,8,0.95) 0%, rgba(7,11,8,0.3) 100%);
    z-index: -1;
}
.hero-content-cinematic {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding-top: 80px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}
.hero-cinematic h1 {
    font-size: 4.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-cinematic h1 .text-gradient {
    background: linear-gradient(135deg, #2ecc71, #a8e063);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-cinematic p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 650px;
}
.hero-actions {
    display: flex;
    gap: 16px;
}
.btn-cinematic {
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-cinematic.primary {
    background: var(--accent-green);
    color: var(--bg-dark);
}
.btn-cinematic.primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px var(--accent-glow);
}
.btn-cinematic.secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-cinematic.secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

/* Floating Showcase Section */
.floating-showcase {
    background: var(--bg-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
/* Abstract glow in background */
.floating-showcase::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(46,204,113,0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.product-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
    position: relative;
    z-index: 2;
}
.product-row:nth-child(even) {
    flex-direction: row-reverse;
}
.product-info {
    flex: 1;
}
.product-info h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}
.product-info p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}
.product-floating-img {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}
.product-floating-img img {
    max-width: 85%;
    filter: drop-shadow(0 40px 50px rgba(0,0,0,0.6));
    animation: float-img 6s ease-in-out infinite;
}
.product-row:nth-child(even) .product-floating-img img {
    animation-delay: -3s;
}

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

/* Cinematic Flowing Images */
.flowing-images-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 80px 0;
    background: var(--bg-dark);
}
.flowing-images-wrapper::before,
.flowing-images-wrapper::after {
    content: '';
    position: absolute;
    top: 0; width: 250px; height: 100%; z-index: 2; pointer-events: none;
}
.flowing-images-wrapper::before {
    left: 0; background: linear-gradient(to right, var(--bg-dark), transparent);
}
.flowing-images-wrapper::after {
    right: 0; background: linear-gradient(to left, var(--bg-dark), transparent);
}

.flowing-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: flow-scroll 45s linear infinite;
}
@keyframes flow-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.flowing-track:hover {
    animation-play-state: paused;
}
.flowing-img {
    height: 450px;
    width: 700px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    transition: transform 0.5s;
    cursor: none !important;
}
.flowing-img:hover {
    transform: scale(1.03);
    box-shadow: 0 30px 60px rgba(46,204,113,0.2);
}

/* Animations */
.animate-text { opacity: 0; animation: fadeInUp 1s forwards; }
.animate-text-delay { opacity: 0; animation: fadeInUp 1s 0.2s forwards; }
.animate-text-delay-2 { opacity: 0; animation: fadeInUp 1s 0.4s forwards; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark mode adjustments for cards and sections */
.glass-card {
    background: rgba(25, 30, 25, 0.8) !important;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.glass-card:hover {
    box-shadow: 0 20px 40px var(--accent-glow);
    border-color: rgba(46,204,113,0.3);
}
.product-card-body h3 { color: white; }
.stats-bar { background: #0a120b; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }

/* Fix Why Us Section for Dark Theme */
.why-us-section {
    background-color: var(--bg-dark) !important;
}
.why-item {
    background: rgba(25, 30, 25, 0.8) !important;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}
.why-item h3 {
    color: white !important;
}
.why-item p {
    color: var(--text-secondary) !important;
}

/* Fix Testimonials for Dark Theme */
.section {
    background-color: var(--bg-dark);
}
.testimonial-card {
    background: rgba(25, 30, 25, 0.8) !important;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}
.testimonial-text {
    color: white !important;
}
.testimonial-author h4 {
    color: var(--accent-green) !important;
}
.testimonial-author p {
    color: var(--text-secondary) !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-cinematic h1 { font-size: 3.5rem; }
    .product-row, .product-row:nth-child(even) { flex-direction: column; text-align: center; gap: 30px; margin-bottom: 80px; }
    .flowing-img { height: 300px; width: 450px; }
}

@media (max-width: 768px) {
    .hero-cinematic { padding: 120px 0 60px; height: auto; min-height: 100vh;}
    .hero-cinematic h1 { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; }
    .btn-cinematic { width: 100%; justify-content: center; }
    .flowing-img { height: 250px; width: 350px; }
    .product-info h2 { font-size: 2.2rem; }
}
