/* Custom Styles for Olivezza */

:root {
    --primary-color: #2d5016;
    --secondary-color: #6b8e23;
    --accent-color: #8fbc8f;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    padding-top: 76px; /* Navbar height */
}

/* Logo Styles */
.navbar-brand img {
    transition: all 0.3s ease;
    max-height: 55px;
    width: auto;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(107, 142, 35, 0.7) 100%),
        url('../assets/images/banner.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* Tam ekran yükseklik */
    width: 100%; /* Tam genişlik */
}

/* Hero Section Ölçüleri:
   - Genişlik: 100% (tam ekran)
   - Yükseklik: min-height 100vh (minimum tam ekran)
   - Önerilen resim boyutu: 1920x1080px (Full HD) veya daha yüksek çözünürlük
   - Aspect ratio: 16:9 veya 21:9
*/

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Hero text initial state (hidden before animation) */
.hero-title,
.hero-subtitle,
.hero-button {
    opacity: 0;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Buttons */
.btn-success {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline-success {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-success:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Feature Box */
section.bg-light {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.03) 0%, rgba(107, 142, 35, 0.03) 100%) !important;
}

.feature-box {
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.05) 0%, rgba(107, 142, 35, 0.05) 100%);
    border-radius: 10px;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.08) 0%, rgba(107, 142, 35, 0.08) 100%);
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Page Header Animations */
.page-header-title {
    animation: fadeInDown 1s ease-out 0.2s both;
}

.page-header-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Slide In Left Animation */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.slide-in-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide In Right Animation */
.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.slide-in-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom In Animation */
.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.zoom-in.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Rotate In Animation */
.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.rotate-in.revealed {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Bounce In Animation */
.bounce-in {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Fade In Delay (for sequential animations) */
.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-delay.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Product cards scroll reveal - override initial state */
.product-card.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.product-card.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for multiple items */
.scroll-reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-reveal:nth-child(4) {
    transition-delay: 0.4s;
}

/* Product Cards */
.product-card {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(45, 80, 22, 0.02) 100%);
    cursor: pointer;
}

.product-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(107, 142, 35, 0.05) 100%);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

a .product-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

a:hover .product-card {
    text-decoration: none;
    color: inherit;
}

.product-card img {
    transition: transform 0.3s ease;
}

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

.product-card .card-img-top {
    height: 250px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 15px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, rgba(45, 80, 22, 0.8) 50%, var(--secondary-color) 100%) !important;
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

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

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

footer .container {
    position: relative;
    z-index: 1;
}

/* Production Section - Olive Filigran */
.production-section {
    position: relative;
    overflow: hidden;
}

.production-section .container {
    position: relative;
    z-index: 1;
}

.olive-bg {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background: url('../assets/images/zeytin.png') no-repeat center/contain;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.production-section.in-view .olive-bg {
    opacity: 0.06;
}

.olive-bg-1 {
    width: 220px;
    height: 220px;
    top: 5%;
    right: -20px;
    animation: oliveFloat1 12s ease-in-out infinite;
}

.olive-bg-2 {
    width: 180px;
    height: 180px;
    top: 45%;
    left: -15px;
    transform: scaleX(-1);
    animation: oliveFloat2 15s ease-in-out infinite;
}

.olive-bg-3 {
    width: 200px;
    height: 200px;
    bottom: 5%;
    right: -10px;
    animation: oliveFloat3 13s ease-in-out infinite;
}

@keyframes oliveFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes oliveFloat2 {
    0%, 100% { transform: scaleX(-1) translateY(0); }
    50% { transform: scaleX(-1) translateY(15px); }
}

@keyframes oliveFloat3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@media (max-width: 768px) {
    .olive-bg { opacity: 0; }
    .production-section.in-view .olive-bg { opacity: 0.04; }
    .olive-bg-1 { width: 140px; height: 140px; }
    .olive-bg-2 { width: 120px; height: 120px; }
    .olive-bg-3 { width: 130px; height: 130px; }
}

/* Production Process Timeline */
.production-timeline {
    position: relative;
}

.timeline-section {
    margin-bottom: 4rem;
}

.process-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(45, 80, 22, 0.03) 100%);
    border: 2px solid rgba(45, 80, 22, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.8s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 142, 35, 0.1), transparent);
    transition: left 0.5s ease;
}

.process-card:hover::before {
    left: 100%;
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(107, 142, 35, 0.08) 100%);
}

.process-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: all 0.8s ease;
    position: relative;
    z-index: 1;
}

.process-card:hover .process-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
}

.process-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.1) 0%, rgba(107, 142, 35, 0.1) 100%);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.6s ease;
}

.process-card:hover .process-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: scale(1.05);
}

.stats-summary {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.05) 0%, rgba(107, 142, 35, 0.05) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(45, 80, 22, 0.1);
}

.stat-item {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    transition: all 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.2);
    color: var(--secondary-color) !important;
}

.stat-item h3 {
    font-size: 2rem;
    margin: 1rem 0;
    color: var(--primary-color);
}

/* Process Card Animations */
.process-card.scroll-reveal {
    opacity: 0;
}

.process-card.scroll-reveal.revealed {
    opacity: 1;
}

/* Production Timeline Format */
.production-timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    animation: timelinePulse 3s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(107, 142, 35, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(107, 142, 35, 0.4);
    }
}

.timeline-step {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    transition: all 1.2s ease-out;
}

.timeline-step.scroll-reveal.revealed {
    opacity: 1;
}

.timeline-step:nth-child(odd) {
    flex-direction: row;
}

.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    z-index: 2;
}

.timeline-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
    transition: all 1s ease;
    position: relative;
}

.timeline-step:hover .timeline-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 40px rgba(107, 142, 35, 0.5);
}

.timeline-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: white;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(45, 80, 22, 0.03) 100%);
    border: 2px solid rgba(45, 80, 22, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 0 2rem;
    transition: all 1s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 142, 35, 0.1), transparent);
    transition: left 1.5s ease;
}

.timeline-step:hover .timeline-content::before {
    left: 100%;
}

.timeline-step:hover .timeline-content {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(107, 142, 35, 0.08) 100%);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-header h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.timeline-date {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.1) 0%, rgba(107, 142, 35, 0.1) 100%);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.8s ease;
}

.timeline-step:hover .timeline-date {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: scale(1.05);
}

.timeline-details {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.detail-badge {
    background: rgba(45, 80, 22, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.9rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.8s ease;
}

.timeline-step:hover .detail-badge {
    background: rgba(107, 142, 35, 0.2);
    transform: translateY(-2px);
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-line {
        left: 60px;
    }
    
    .timeline-step {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-marker {
        position: absolute;
        left: 0;
        width: 80px;
        height: 80px;
    }
    
    .timeline-icon {
        font-size: 1.8rem;
    }
    
    .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsive - moved to comprehensive mobile section below */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.05);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.03);
    }
    40% {
        transform: scale(1);
    }
}

/* Hero Title Animation */
.hero-title {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Hero Subtitle Animation */
.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Hero Button Animation */
.hero-button {
    animation: popUp 1s ease-out 0.9s both, heartbeat 2s ease-in-out 2s infinite;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Page Headers (About, Contact, Products) */
section.bg-success {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

/* About Section */
section.py-5:not(.bg-light) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(45, 80, 22, 0.02) 100%);
}

/* Process Steps */
.process-step {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.03) 0%, rgba(107, 142, 35, 0.03) 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.process-step:hover {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.06) 0%, rgba(107, 142, 35, 0.06) 100%);
    transform: translateY(-5px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #f1f1f1 0%, rgba(45, 80, 22, 0.1) 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Health Benefits Section */
.health-benefits-list {
    margin-top: 2rem;
}

.benefit-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(45, 80, 22, 0.03) 100%);
    border: 2px solid rgba(45, 80, 22, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.8s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 142, 35, 0.1), transparent);
    transition: left 1s ease;
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-item:hover {
    transform: translateX(10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(107, 142, 35, 0.08) 100%);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.1) 0%, rgba(107, 142, 35, 0.1) 100%);
    border-radius: 50%;
    transition: all 0.8s ease;
    flex-shrink: 0;
}

.benefit-icon i {
    transition: color 0.8s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Kalp Sağlığı - Kırmızı */
.benefit-heart:hover .benefit-icon {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4);
}

.benefit-heart:hover .benefit-icon i {
    color: white !important;
}

/* Antioksidan Zengini - Mavi (Koruma) */
.benefit-shield:hover .benefit-icon {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

.benefit-shield:hover .benefit-icon i {
    color: white !important;
}

/* Beyin Sağlığı - Mor (Zihin) */
.benefit-brain:hover .benefit-icon {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    box-shadow: 0 10px 25px rgba(111, 66, 193, 0.4);
}

.benefit-brain:hover .benefit-icon i {
    color: white !important;
}

/* Kilo Yönetimi - Turuncu (Enerji) */
.benefit-weight:hover .benefit-icon {
    background: linear-gradient(135deg, #fd7e14 0%, #dc6502 100%);
    box-shadow: 0 10px 25px rgba(253, 126, 20, 0.4);
}

.benefit-weight:hover .benefit-icon i {
    color: white !important;
}

/* Cilt ve Saç Sağlığı - Pembe (Güzellik) */
.benefit-beauty:hover .benefit-icon {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.4);
}

.benefit-beauty:hover .benefit-icon i {
    color: white !important;
}

.benefit-item h5 {
    color: var(--primary-color);
    transition: color 0.6s ease;
}

.benefit-item:hover h5 {
    color: var(--secondary-color);
}

.health-note {
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(107, 142, 35, 0.05) 100%) !important;
    transition: all 0.6s ease;
}

.health-note:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.15) !important;
}

.health-note strong {
    color: var(--secondary-color);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    padding: 0;
}

.scroll-top-btn.visible {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.5);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.scroll-top-btn:active {
    transform: scale(0.9);
}

.scroll-top-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover .scroll-top-icon {
    transform: rotate(15deg) scale(1.1);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top-icon {
        width: 26px;
        height: 26px;
    }
}

/* ============================================ */
/* MOBILE RESPONSIVE DESIGN                     */
/* ============================================ */

/* --- Tablet (max 992px) --- */
@media (max-width: 992px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        min-height: 80vh;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .product-card .card-img-top {
        height: 220px;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .process-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
    body {
        padding-top: 65px;
    }

    /* Navbar Mobile */
    .navbar-brand img {
        max-height: 40px;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    /* Hero Mobile */
    .hero-section {
        min-height: 70vh;
        background-position: center;
    }

    .hero-section .row {
        min-height: 70vh !important;
    }

    .hero-section h1,
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero-section .lead,
    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .hero-button {
        font-size: 1rem !important;
        padding: 0.75rem 2rem !important;
        width: 100%;
        text-align: center;
    }

    /* Product Cards Mobile */
    .product-card .card-img-top {
        height: 200px;
        padding: 10px;
    }

    .product-card .card-body {
        padding: 1rem;
    }

    .product-card .card-title {
        font-size: 1rem;
    }

    .product-card .card-text {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-card .h5 {
        font-size: 1.1rem !important;
    }

    .product-card .btn-sm {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Featured Products - 2 columns on mobile */
    #featured-products .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* All Products - 2 columns on mobile */
    #all-products .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Features Section Mobile */
    .feature-box {
        padding: 1.5rem !important;
    }

    .feature-box i {
        font-size: 2rem !important;
    }

    .feature-box h4 {
        font-size: 1.1rem;
    }

    .feature-box p {
        font-size: 0.85rem;
    }

    /* Page Headers Mobile */
    .page-header-title {
        font-size: 2rem !important;
    }

    .page-header-subtitle {
        font-size: 1rem !important;
    }

    /* Section Spacing */
    section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* About Section Mobile */
    section .row.align-items-center .col-lg-6 img {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Process Cards Mobile */
    .process-card {
        padding: 1.5rem;
    }

    .process-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .process-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* Stats Mobile */
    .stats-summary {
        padding: 1.5rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

    .stat-item i {
        font-size: 2rem !important;
    }

    .stat-item h3 {
        font-size: 1.3rem;
    }

    /* Health Benefits Mobile */
    .benefit-item {
        padding: 1rem;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
    }

    .benefit-icon i {
        font-size: 1.5rem !important;
    }

    .benefit-item h5 {
        font-size: 1rem;
    }

    .benefit-item p {
        font-size: 0.85rem;
    }

    .health-note {
        padding: 1rem !important;
    }

    .health-note p {
        font-size: 0.85rem;
    }

    /* Footer Mobile */
    footer {
        padding: 2.5rem 0 !important;
    }

    footer h5 {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    footer p, footer a {
        font-size: 0.9rem;
    }

    /* Product Detail Mobile */
    #product-detail .display-4 {
        font-size: 2rem !important;
    }

    #product-detail h1 {
        font-size: 1.5rem;
    }

    /* Scroll Animations - reduce on mobile for performance */
    .scroll-reveal {
        transform: translateY(30px);
    }

    .slide-in-left {
        transform: translateX(-50px);
    }

    .slide-in-right {
        transform: translateX(50px);
    }
}

/* --- Small Mobile (max 480px) --- */
@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }

    .navbar-brand img {
        max-height: 35px;
    }

    /* Hero Small Mobile */
    .hero-section {
        min-height: 60vh;
    }

    .hero-section .row {
        min-height: 60vh !important;
    }

    .hero-section h1,
    .hero-title {
        font-size: 1.6rem !important;
    }

    .hero-section .lead,
    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    /* Product Cards - single column on very small */
    #featured-products .col-md-6,
    #all-products .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-card .card-img-top {
        height: 220px;
        padding: 15px;
    }

    .product-card .card-text {
        -webkit-line-clamp: 3;
    }

    /* Features - stack on small */
    .col-md-4.text-center {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Process Cards - 2 per row */
    .col-md-6.col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Stats - 2 per row */
    .stats-summary .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .stat-item h3 {
        font-size: 1.1rem;
    }

    /* Section titles */
    h2.fw-bold {
        font-size: 1.5rem;
    }

    h3.fw-bold {
        font-size: 1.2rem;
    }

    /* Footer Small */
    footer .col-md-4 {
        text-align: center;
    }

    footer .list-unstyled {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    footer .list-unstyled li {
        display: inline;
    }
}

/* --- Landscape Mode Fix --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }

    .hero-section .row {
        min-height: 100vh !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }
}

/* --- Touch Device Optimizations --- */
@media (hover: none) {
    .product-card:hover {
        transform: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .product-card:hover img {
        transform: none;
    }

    .benefit-item:hover {
        transform: none;
    }

    .process-card:hover {
        transform: none;
    }

    .timeline-step:hover .timeline-icon {
        transform: none;
    }

    .timeline-step:hover .timeline-content {
        transform: none;
    }

    /* Active states for touch */
    .product-card:active {
        transform: scale(0.98);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .btn:active {
        transform: scale(0.95);
    }
}

/* --- Image Loading Fallback --- */
.product-card .card-img-top {
    background-color: #f8f9fa;
    min-height: 150px;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Prevent Horizontal Scroll --- */
html, body {
    overflow-x: hidden;
}

.container {
    max-width: 100%;
}
