/* ===== SANAP HI-TECH NURSERY CUSTOM STYLES ===== */

/* Color Variables */
:root {
    --primary-green: #4CAF50;
    --secondary-green: #8BC34A;
    --dark-green: #2E7D32;
    --light-green: #C8E6C9;
    --neutral-beige: #F5F5DC;
    --neutral-cream: #FFF8DC;
    --neutral-gray: #F8F9FA;
    --border-gray: #E0E0E0;
    --text-dark: #333333;
    --text-light: #666666;
}

/* Typography */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-green);
}

/* Header & Navigation */
.header-area {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

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

.navbar-nav .nav-link:hover {
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--neutral-cream) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-green);
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.experience-badge {
    background: var(--primary-green);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Buttons */
.btn-primary-green {
    background: var(--primary-green);
    border: 2px solid var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-green:hover {
    background: transparent;
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-outline-green {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-whatsapp {
    background: #25D366;
    border: 2px solid #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Product Categories Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--light-green);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-green);
}

.category-card h3 {
    color: var(--dark-green);
    margin-bottom: 10px;
}

.variety-count {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 5px;
}

.product-company {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.feature-badge {
    background: var(--light-green);
    color: var(--dark-green);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Sidebar Filters */
.filter-sidebar {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.filter-option input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--primary-green);
}

/* Price Range Slider */
.price-range-slider {
    margin: 20px 0;
}

.ui-slider {
    background: var(--border-gray);
    border: none;
    height: 6px;
    border-radius: 3px;
}

.ui-slider .ui-slider-handle {
    background: var(--primary-green);
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    top: -6px;
}

.ui-slider .ui-slider-range {
    background: var(--primary-green);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--light-green);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.7;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    color: var(--dark-green);
}

.author-location {
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating {
    color: #FFD700;
    margin-top: 5px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 125, 50, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Infrastructure Section */
.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.infrastructure-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.infrastructure-card:hover {
    transform: translateY(-10px);
}

.infrastructure-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.infrastructure-info {
    padding: 25px;
}

.infrastructure-info h4 {
    color: var(--dark-green);
    margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-control {
    border: 2px solid var(--border-gray);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Breadcrumb */
.breadcrumb-custom {
    background: var(--neutral-gray);
    padding: 15px 0;
    border-radius: 10px;
    margin-bottom: 30px;
}

.breadcrumb {
    background: transparent;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-dark);
}

/* WhatsApp Modal */
.whatsapp-modal .modal-content {
    border-radius: 20px;
    border: none;
}

.whatsapp-modal .modal-header {
    background: #25D366;
    color: white;
    border-radius: 20px 20px 0 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.quantity-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-input {
    width: 80px;
    text-align: center;
    border: 2px solid var(--border-gray);
    border-radius: 5px;
    padding: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
    
    .btn-primary-green,
    .btn-outline-green,
    .btn-whatsapp {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Utility Classes */
.text-green { color: var(--primary-green) !important; }
.text-dark-green { color: var(--dark-green) !important; }
.bg-light-green { background-color: var(--light-green) !important; }
.bg-neutral { background-color: var(--neutral-gray) !important; }
.rounded-circle { border-radius: 50% !important; }
.shadow-custom { box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important; }