/* ===== ECO BOARD GAMES - MAIN CSS ===== */

/* Color Variables - Eco-friendly Palette */
:root {
    --primary-green: #2c5529;
    --secondary-green: #41654b;
    --accent-brown: #9c400a;
    --earth-beige: #fffbe0;
    --forest-green: #38a128;
    --light-green: #aaf2b5;
    --dark-green: #1d4717;
    --warm-brown: #ae6735;
    --cream: #e9e7af;
    --sage-green: #b6c49d;
    --text-dark: #2f4a62;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #46494e;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 19.00px;
    overflow-x: hidden;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1.22rem;
    color: var(--primary-green);
}

h1 { font-size: 2.30rem; }
h2 { font-size: 1.93rem; }
h3 { font-size: 1.43rem; }
h4 { font-size: 1.22rem; }
h5 { font-size: 1.18rem; }
h6 { font-size: 1.11rem; }

p {
    margin-bottom: 1.22rem;
    max-width: 65ch;
}

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    box-shadow: 0 7px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.43rem !important;
    font-weight: 700;
    color: var(--text-light) !important;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-green) !important;
}

.navbar-toggler {
    border-color: var(--text-light);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    margin-top: 79.00px;
}

.breadcrumb-icon {
    height: 26px;
    width: auto;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--primary-green) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--text-light);
    font-size: 3.05rem;
    margin-bottom: 1.22rem;
}

.hero-section h2 {
    color: var(--light-green);
    font-size: 1.57rem;
    margin-bottom: 1.55rem;
}

.hero-section p {
    font-size: 1.18rem;
    margin-bottom: 2.21rem;
    opacity: 0.9;
}

/* Feature Icons */
.feature-icon {
    font-size: 3.05rem;
    color: var(--forest-green);
    margin-bottom: 1.22rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 25px rgba(0,0,0,0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
  overflow-x: hidden;
    padding: 1.5rem;
}

.service-card h4 {
    color: var(--primary-green);
    margin-bottom: 0.89rem;
}

.service-card .price {
    font-size: 1.57rem;
    font-weight: 700;
    color: var(--accent-brown);
    margin-top: 1.24rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--forest-green);
}

/* Feature Boxes */
.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-3px);
}

.feature-box i {
    font-size: 2.57rem;
    color: var(--forest-green);
    margin-bottom: 1.22rem;
}

/* Price Cards */
.price-card {
    background: white;
    border: 2px solid var(--earth-beige);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.price-card.featured {
    border-color: var(--forest-green);
    background: linear-gradient(135deg, var(--light-green), white);
    transform: scale(1.05);
}

.price-card:hover {
    border-color: var(--forest-green);
    box-shadow: 0 9px 25px rgba(0,0,0,0.15);
}

.price-card .price {
    font-size: 2.10rem;
    font-weight: 700;
    color: var(--accent-brown);
    margin-top: 1.57rem;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--earth-beige);
}

/* Team Section */
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.22rem;
    border: 3px solid var(--light-green);
}

.team-member h4 {
    font-size: 1.18rem;
    margin-bottom: 0.71rem;
}

.team-member p {
    color: var(--secondary-green);
    font-size: 0.92rem;
}

/* Reviews Slider */
.reviews-swiper {
    padding: 2rem 0;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.22rem;
    font-size: 1.18rem;
}

.review-card h5 {
    color: var(--accent-brown);
    font-weight: 600;
}

.swiper-pagination-bullet-active {
    background: var(--forest-green) !important;
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--forest-green), var(--secondary-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.57rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 7px;
    background: var(--forest-green);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 9px 15px rgba(0,0,0,0.1);
    margin-bottom: 2.21rem;
    width: calc(50% - 20px);
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--forest-green);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    left: -50px;
}

.timeline-item:nth-child(even)::before {
    right: -50px;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 7px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-3px);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
  overflow-x: hidden;
    padding: 1.5rem;
}

.blog-card a {
    color: var(--forest-green);
    text-decoration: none;
    font-weight: 600;
}

.blog-card a:hover {
    color: var(--primary-green);
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid var(--earth-beige);
    margin-bottom: 1.22rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--light-green);
    color: var(--primary-green);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--forest-green);
}

/* Gallery */
.gallery-section img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-section img:hover {
    transform: scale(1.02);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: var(--forest-green);
    box-shadow: 0 0 0 0.2rem rgba(43, 164, 33, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--forest-green), var(--primary-green));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    transform: translateY(-2px);
    box-shadow: 0 9px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--text-light);
    margin-top: 3.17rem;
}

.footer h5 {
    color: var(--light-green);
    margin-bottom: 1.22rem;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--light-green);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer li {
    margin-bottom: 0.71rem;
}

/* Background Sections */
.bg-light {
    background: var(--bg-light) !important;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3.17rem;
}

.mb-4 {
    margin-bottom: 1.55rem;
}

.py-5 {
    padding: 3rem 0;
}

/* Space Page */
#space {
    background: linear-gradient(135deg, var(--earth-beige), var(--cream));
    color: var(--text-dark);
}

/* Job Cards */
.job-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-3px);
}

/* Core Values */
.core-value {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
    border-left: 4px solid var(--forest-green);
}

/* Case Study Cards */
.case-study-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
    text-align: center;
    border-top: 4px solid var(--accent-brown);
}

/* Additional Page Specific Styles */
.process-item,
.quality-item,
.supplier-item,
.innovation-item,
.certification-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.process-item:hover,
.quality-item:hover,
.supplier-item:hover,
.innovation-item:hover,
.certification-item:hover {
    transform: translateY(-2px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.10rem;
    }
    
    .hero-section h2 {
        font-size: 1.22rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    .timeline-item::before {
        left: -30px !important;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .breadcrumbs {
        display: none;
    }
} 