/* ====== MODERN PREMIUM THEME ====== */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary: #559509;        /* Senjo Brand Green */
    --secondary: #3f6e07;      /* Darker Green */
    --accent: #8bc34a;         /* Light Green Accent */
    --surface: #ffffff;        /* White */
    --background: #f4f7f4;     /* Soft greenish off-white */
    --text-main: #1d2530;
    --text-muted: #5e6a7c;
    
    --shadow-sm: 0 4px 6px rgba(85, 149, 9, 0.05);
    --shadow-md: 0 10px 30px rgba(85, 149, 9, 0.08);
    --shadow-lg: 0 20px 40px rgba(85, 149, 9, 0.15);
    
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

/* Typography Utilities */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.border-primary { border-color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }

/* Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(85, 149, 9, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-premium:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(85, 149, 9, 0.4);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-outline-premium {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    border-radius: 50px;
    padding: 10px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-premium:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(85, 149, 9, 0.2);
}

/* Glassmorphic Header */
.header-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #f0f0f0;
}

.header-container.scrolled {
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.header-container .navbar {
    min-height: 70px;
}

.top-bar {
    background: var(--primary);
    color: white;
    padding: 2px 0;
    font-size: 0.85rem;
    transition: var(--transition);
}

.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover { color: var(--accent); }
.header-container.scrolled .top-bar {
    transform: translateY(-100%);
    opacity: 0;
    height: 0;
    padding: 0;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand i { color: var(--secondary); }

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-main) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 10px 15px !important;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-link:hover, .nav-link.active {
    color: var(--secondary) !important;
}

/* Search Form Stylings */
.search-form .input-group {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 2px 5px;
    border: 1px solid #eee;
    transition: var(--transition);
    width: 200px;
}

.search-form .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(85, 149, 9, 0.1);
    width: 280px;
}

.search-form .form-control {
    background: transparent;
    border: none;
    font-size: 0.9rem;
    padding-left: 15px;
    height: 38px;
}

.search-form .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.search-form .btn {
    border: none;
    color: var(--text-muted);
    background: transparent;
    padding: 0 12px;
}

.search-form .btn:hover {
    color: var(--primary);
    background: transparent;
}

/* Cards & Micro-animations */
.premium-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.premium-card:hover::before {
    transform: scaleX(1);
}

/* Page Headers */
.page-header {
    margin-top: 80px;
    padding: 100px 0 60px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -50%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(85,149,9,0.15) 0%, transparent 70%);
}

.page-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.2rem;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: #111111;
    color: white;
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--primary);
}

.footer h5 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 30px; height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: white;
    margin-right: 10px;
    transition: var(--transition);
    text-decoration: none;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    margin-top: 50px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Utilities */
.section-padding { padding: 100px 0; }
.bg-light-blue { background-color: var(--background); }

/* Fade In Animation Class */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Action Buttons */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp Green */
    color: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    text-decoration: none;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    background-color: #1ebe57;
    color: white;
    transform: scale(1.1);
}

.floating-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-to-top:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-5px);
}
/* Katasko-style Product Cards */
.product-img {
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.product-card {
    padding: 1.5rem;
    transition: transform 0.3s ease;
    border-radius: 15px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-card:hover .product-img {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.product-image-wrapper {
    overflow: hidden;
    border-radius: 15px;
    background: #f8f9fa;
    padding: 1rem;
}

/* Global Form Enhancements */
.form-control::placeholder, 
.form-select::placeholder {
    font-size: 0.85rem !important;
    opacity: 0.7;
}
/* Browser-specific placeholder font-size reduction */
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { font-size: 0.85rem !important; }
input::-moz-placeholder, textarea::-moz-placeholder { font-size: 0.85rem !important; }
input:-ms-input-placeholder, textarea:-ms-input-placeholder { font-size: 0.85rem !important; }
input::placeholder, textarea::placeholder { font-size: 0.85rem !important; }

.form-control-lg {
    font-size: 1rem; /* Adjusting the text input font for LG controls */
}
