/*
Theme Name: Rajnandini Rice
Theme URI: https://demo.rajnandinirice.com/
Author: IKC Solutions
Author URI: https://ikcsolutions.com/
Description: Premium WordPress theme for Rajnandini Rice - বাংলার নিজের চাল. Elementor compatible theme with beautiful rice brand design, animations, and responsive layouts.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: rice, food, elementor, responsive, custom-colors, custom-menu, featured-images, full-width-template
Text Domain: rajnandini-rice
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.4
Elementor tested up to: 3.21
Elementor Pro tested up to: 3.21
*/

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary: #2d5a27;
    --primary-light: #4a7c43;
    --primary-dark: #1a3d17;
    --secondary: #c9a84c;
    --secondary-light: #e0c16e;
    --accent: #8b4513;
    --accent-light: #a0522d;
    --dark: #1a1a1a;
    --dark-brown: #3d2b1f;
    --light: #f8f6f0;
    --cream: #faf8f3;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-muted: #999999;
    --green: #27ae60;
    --green-light: #2ecc71;
    --red: #e74c3c;
    --red-light: #ff6b6b;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;

    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(201, 168, 76, 0.4);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.rice-grain-loader {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.rice-grain-loader .grain {
    width: 24px;
    height: 28px;
    background: transparent;
    animation: grainBounce 1s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rice-grain-loader .grain::before {
    content: "\1F33E";
    font-size: 1.35rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(139, 69, 19, 0.18));
}

.rice-grain-loader .grain:nth-child(2) { animation-delay: 0.1s; }
.rice-grain-loader .grain:nth-child(3) { animation-delay: 0.2s; }
.rice-grain-loader .grain:nth-child(4) { animation-delay: 0.3s; }
.rice-grain-loader .grain:nth-child(5) { animation-delay: 0.4s; }

@keyframes grainBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 3px;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header,
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-medium);
    background: transparent;
}

.site-header.scrolled,
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo,
.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-icon img,
.site-logo img {
    width: 200px;
    margin-bottom: -5px;
    max-width: 100%;
}

.nav-menu,
.main-navigation ul {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link,
.main-navigation a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.scrolled .nav-link,
.scrolled .main-navigation a {
    color: var(--text-dark);
}

.nav-link::after,
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after,
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

.nav-link:hover,
.main-navigation a:hover {
    color: var(--secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

.scrolled .nav-toggle span {
    background: var(--text-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   FLOATING CTA BUTTONS
   ============================================ */
.floating-cta-buttons {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    transition: var(--transition-fast);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.floating-btn.whatsapp { background: #25d366; }
.floating-btn.whatsapp:hover { background: #2ecc71; }
.floating-btn.facebook { background: #1877f2; }
.floating-btn.facebook:hover { background: #0a66c2; }
.floating-btn.youtube { background: #ff0000; }
.floating-btn.youtube:hover { background: #cc0000; }
.floating-btn.instagram { background: #a855f7; }
.floating-btn.instagram:hover { background: #9333ea; }

/* Desktop model in hero */
.desktop-model-fixed {
    position: absolute;
    right: clamp(105px, 8vw, 150px);
    bottom: 0;
    width: clamp(280px, 23vw, 410px);
    height: calc(100% - 200px);
    z-index: 6;
    pointer-events: none;
    display: block;
    overflow: visible;
}

.desktop-model-fixed img {
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    filter: drop-shadow(0 18px 28px rgba(26, 61, 23, 0.26));
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3d17 0%, #2d5a27 50%, #4a7c43 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/slide-1.svg') center/cover;
}

/* Floating Rice Particles */
.floating-rice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.rice-particle {
    position: absolute;
    width: 22px;
    height: 26px;
    background: transparent;
    animation: floatRice linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rice-particle::before {
    content: "\1F33E";
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.45;
}

.rice-particle:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: 0s; }
.rice-particle:nth-child(2) { left: 20%; animation-duration: 18s; animation-delay: 2s; }
.rice-particle:nth-child(3) { left: 30%; animation-duration: 12s; animation-delay: 4s; }
.rice-particle:nth-child(4) { left: 40%; animation-duration: 20s; animation-delay: 1s; }
.rice-particle:nth-child(5) { left: 50%; animation-duration: 16s; animation-delay: 3s; }
.rice-particle:nth-child(6) { left: 60%; animation-duration: 14s; animation-delay: 5s; }
.rice-particle:nth-child(7) { left: 70%; animation-duration: 19s; animation-delay: 2s; }
.rice-particle:nth-child(8) { left: 80%; animation-duration: 17s; animation-delay: 4s; }
.rice-particle:nth-child(9) { left: 90%; animation-duration: 13s; animation-delay: 1s; }
.rice-particle:nth-child(10) { left: 95%; animation-duration: 21s; animation-delay: 3s; }

@keyframes floatRice {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-desktop-message {
    position: absolute;
    top: 52%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: block;
    max-width: min(460px, 34vw);
    padding: 22px 28px;
    border-left: 4px solid var(--secondary);
    color: #173413;
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 1.55vw, 1.85rem);
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0;
    text-align: left;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
    background: rgba(250, 248, 243, 0.32);
    backdrop-filter: blur(2px);
    box-shadow: 0 18px 50px rgba(26, 61, 23, 0.14);
}

.hero-desktop-message span {
    display: inline-block;
    margin-top: 10px;
    color: #8b4513;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 0.9vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hero-title {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 20px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
}

.hero-image-item {
    position: absolute;
    width: 400px;
    max-width: 400px;
    height: auto;
    opacity: 0;
    left: 50%;
    top: 50%;
    transform: translate(100vw, -50%);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    z-index: 10;
}

.hero-image-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.hero-image-item.animate-in {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.hero-image-item.animate-out {
    opacity: 0;
    transform: translate(-150%, -50%);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s ease-in-out infinite;
}

@keyframes wheelScroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
    color: var(--white);
}

.btn-glow {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--dark);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.5), 0 4px 15px rgba(201, 168, 76, 0.3);
    animation: glowPulseBtn 2s ease-in-out infinite;
}

@keyframes glowPulseBtn {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.5), 0 4px 15px rgba(201, 168, 76, 0.3); }
    50% { box-shadow: 0 0 40px rgba(201, 168, 76, 0.7), 0 4px 15px rgba(201, 168, 76, 0.3); }
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ============================================
   SECTION HEADER STYLES
   ============================================ */
.section-header {
    margin-bottom: 30px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    border-radius: 2px;
    margin-top: 15px;
}

.section-header.center .title-underline {
    margin: 15px auto 0;
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.welcome::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.welcome-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 30px;
    text-align: justify;
}

/* Stats */
.stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Welcome Image */
.welcome-image {
    position: relative;
}

.image-frame {
    position: relative;
}

.image-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    aspect-ratio: 3/4;
    max-width: 100%;
}

.image-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-slow);
    background: var(--white);
}

.image-main:hover img {
    transform: scale(1.05);
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 3px solid var(--secondary);
    border-radius: 20px;
    z-index: 1;
    animation: accentFloat 4s ease-in-out infinite;
}

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

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: badgeFloat 3s ease-in-out infinite;
}

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

.floating-badge i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.floating-badge span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* ============================================
   PRODUCTS PREVIEW (Home)
   ============================================ */
.products-preview {
    padding: 100px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d0 100%);
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 61, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   PARALLAX CTA
   ============================================ */
.parallax-cta {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('images/divback.png') center/cover fixed;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 61, 23, 0.85) 0%, rgba(45, 90, 39, 0.8) 100%);
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.parallax-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.parallax-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.8;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--cream);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

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

.testimonial-quote {
    margin-bottom: 25px;
}

.testimonial-quote i {
    font-size: 2.5rem;
    color: var(--secondary);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--white);
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    opacity: 0.4;
    border: none;
}

.dot.active {
    background: var(--secondary);
    opacity: 1;
    transform: scale(1.2);
}

.dot:hover {
    opacity: 0.7;
}

/* ============================================
   PAGE HEADER (Inner pages)
   ============================================ */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #1a3d17 0%, #2d5a27 50%, #4a7c43 100%);
    text-align: center;
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb .separator {
    color: var(--secondary);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
    padding: 100px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
}

.about-img-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.about-img-accent .years {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.about-img-accent .years-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Values */
.values-section {
    padding: 100px 0;
    background: var(--cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
    justify-items: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    max-width: 320px;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.8rem;
}

.value-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Team */
.team-section {
    padding: 100px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 3rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
    overflow: hidden;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-card span {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 12px;
    line-height: 1.6;
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-section {
    padding: 80px 0;
    background: var(--cream);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.products-large-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.product-card-large {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card-large:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-card-large .product-image-wrap {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 280px;
}

.product-card-large .product-image-wrap img {
    width: 100%;
    max-width: 280px;
    height: 240px;
    object-fit: contain;
}

.product-card-large .product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-card-large .product-body {
    padding: 30px;
}

.product-card-large h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-card-large p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.product-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 100px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-form-wrap p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: border-color var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: var(--white);
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Map section */
.map-section {
    padding: 0 0 80px;
    background: var(--cream);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: background var(--transition-fast);
}

.faq-item.active .faq-question {
    background: var(--cream);
}

.faq-question h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
}

.faq-question i {
    color: var(--secondary);
    transition: transform var(--transition-fast);
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 200px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-section {
    padding: 80px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 61, 23, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer,
.footer {
    background: var(--dark-brown);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    position: relative;
    padding-left: 0;
    white-space: nowrap;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact ul li i {
    color: var(--secondary);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ELEMENTOR COMPATIBILITY
   ============================================ */
.elementor-section .container {
    max-width: 1200px;
}

.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3 {
    font-family: var(--font-heading);
}

/* WordPress Core */
.wp-block-image img { border-radius: 10px; }
.aligncenter { text-align: center; margin: 0 auto; display: block; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .desktop-model-fixed,
    .hero-desktop-message {
        display: none;
    }

    .hero-image-item {
        width: 350px;
        max-width: 350px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-large-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        gap: 5px;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active,
    .main-navigation ul.active {
        display: flex;
    }

    .nav-menu .nav-link,
    .main-navigation ul a {
        color: var(--text-dark);
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-cta {
        min-height: 300px;
    }

    .hero-image-item {
        width: 300px;
        max-width: 300px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 120px 20px 60px;
    }

    .welcome-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-large-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        gap: 20px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .parallax-content h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form-wrap {
        padding: 30px 20px;
    }

    .floating-cta-buttons {
        right: 15px;
        gap: 8px;
    }

    .floating-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-cta {
        min-height: 350px;
    }

    .hero-image-item {
        width: 250px;
        max-width: 250px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1025px) {
    .hero-content {
        max-width: 1280px;
        padding-right: 300px;
    }
    .hero-text {
        min-width: 390px;
    }
}
