/*
 * Yewodze Enterprise - Public Website Styles
 * Theme: Green, Yellow, and White
 */

:root {
    --primary: #2e8b57;      /* Sea Green */
    --primary-dark: #1a5632; /* Darker Green */
    --primary-light: #8fd5a6;/* Lighter Green */
    --secondary: #ffd700;    /* Gold/Yellow */
    --secondary-dark: #ccac00;
    --secondary-light: #fff44f;
    --white: #ffffff;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary);
    border-color: var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* Header/Navigation */
.site-header {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background-color: var(--secondary);
    color: var(--dark);
    border-radius: 4px;
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--white);
}

.site-footer h5 {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.site-footer a {
    color: var(--white);
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--secondary);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.hero-image {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Page Header */
.page-header {
    padding: 3rem 0;
    background-color: var(--light);
    margin-bottom: 2rem;
}

.page-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Section Styling */
.section-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Product Cards */
.product-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    height: 100%;
}

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

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    overflow: hidden;
}

.product-image img {
    max-height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-details {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-category {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Product Detail Page */
.product-main-image {
    max-height: 400px;
    width: 100%;
    object-fit: contain;
    background-color: var(--light);
    padding: 1rem;
    border-radius: 8px;
}

.product-meta {
    color: var(--gray);
    font-size: 0.9rem;
}

.product-features ul li {
    margin-bottom: 0.5rem;
}

/* Product Gallery */
.product-gallery {
    margin-bottom: 2rem;
}

.product-main-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-thumbnail {
    cursor: pointer;
    height: 80px;
    width: 100%;
    object-fit: cover;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.product-thumbnail:hover {
    opacity: 1;
}

.product-thumbnail.active {
    opacity: 1;
    border-color: var(--primary);
}

/* Contact Page */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
    color: var(--primary);
}

.contact-text h5 {
    margin-bottom: 0.25rem;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* About Page */
.value-card {
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    color: var(--primary);
}

.process-timeline {
    position: relative;
    padding-left: 50px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary);
}

.process-step {
    position: relative;
    margin-bottom: 2rem;
}

.process-number {
    position: absolute;
    left: -50px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.process-content {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .process-timeline {
        padding-left: 40px;
    }

    .process-number {
        left: -40px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Contact CTA */
.contact-cta {
    background-color: var(--light);
}

/* Wholesale Benefits */
.wholesale-benefits li {
    margin-bottom: 0.75rem;
}

/* Related Products */
.related-products {
    background-color: var(--light);
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Import Content Marketing Styles */
@import url('content-marketing.css');

/* Disguised Admin Login */
.admin-link {
    color: var(--white);
    opacity: 0.25;
    font-size: 0.65rem;
    margin-left: 10px;
    font-weight: 300;
    letter-spacing: 0.2px;
    transition: opacity 0.3s ease;
}

.admin-link:hover {
    opacity: 0.4;
    color: var(--white);
    text-decoration: none;
}
