:root {
    --primary-color: #ffb800; /* Clean golden accent */
    --background-dark: #000000;
    --text-light: #ffffff;
    --text-muted: #a1a1aa; /* Modern subtle gray */
    
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: -0.02em;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.navbar nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: opacity 0.2s ease;
    opacity: 0.8;
}

.navbar nav ul li a:hover {
    opacity: 1;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align to left */
    padding: 0 10%;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 550px; /* Limits text width */
    width: 100%;
    animation: fadeIn 1s ease-out;
}

.hero-text-box h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.highlight {
    color: var(--primary-color);
}

.hero-text-box p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 14px 32px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--background-dark);
}

.btn-primary:hover {
    background-color: #e4e4e7;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--text-light);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-text-box h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #000000;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .nav-links ul li a {
        font-size: 1.5rem;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .video-overlay {
        background: rgba(0,0,0,0.65);
    }
    .hero-section {
        justify-content: center;
        padding: 0 24px;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-text-box h1 {
        font-size: 3rem;
    }
}

/* Spices Section */
.spices-section {
    padding: 100px 10%;
    background-color: var(--background-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.spices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.spice-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.spice-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.spice-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.spice-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.spice-card:hover .spice-image-wrapper img {
    transform: scale(1.05);
}

.spice-info {
    padding: 30px;
}

.spice-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.spice-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.spice-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.spice-link:hover {
    color: var(--primary-color);
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Process / Timeline Section */
.process-section {
    padding: 100px 10%;
    background-color: #050505;
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    height: 0px; /* Updated by JS */
    border-radius: 2px;
    transition: height 0.4s ease-out;
}

.timeline-item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 60px;
}

.timeline-item.left {
    justify-content: flex-start;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 16px;
    height: 16px;
    background-color: var(--background-dark);
    border: 3px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.timeline-dot.filled {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 184, 0, 0.6);
}

.timeline-content {
    width: 45%;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    position: relative;
}

.step-num {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .spices-section, .process-section {
        padding: 60px 24px;
    }

    .timeline-line {
        left: 30px;
        transform: none;
    }
    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }
    .timeline-item {
        justify-content: flex-end;
    }
    .timeline-item.left {
        justify-content: flex-end;
    }
    .timeline-content {
        width: calc(100% - 70px);
    }
}

/* Testimonials / Video Scroll Section */
.testimonials-section {
    position: relative;
    background-color: #000;
}

.scroll-video-container {
    height: 500vh; /* Gives the user enough scrolling space to play the video */
    position: relative;
}

.sticky-video {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#video-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darkens the video so text is readable */
    pointer-events: none;
}

.video-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    color: white;
    width: 80%;
    max-width: 800px;
    pointer-events: none;
}

.video-overlay-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.video-overlay-content p {
    font-size: 1.5rem;
    font-style: italic;
    color: #e0e0e0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .video-overlay-content h2 {
        font-size: 2.5rem;
    }
    .video-overlay-content p {
        font-size: 1.1rem;
    }
}
