/* ==========================================================================
   Reset and Base Styles (With Bootstrap Integration)
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #436221;
    --primary-red: #bc3929;
    --primary-orange: #ec8827;
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Override Bootstrap container if needed */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bootstrap Custom Overrides */
.btn-primary {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #36501b !important;
    border-color: #36501b !important;
}

.btn-secondary {
    background-color: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
}

.btn-success {
    background-color: var(--primary-orange) !important;
    border-color: var(--primary-orange) !important;
}

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

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

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

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

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

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

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

/* Custom Hero Button Styles */
.btn-custom-orange {
    background-color: var(--primary-orange) !important;
    border-color: var(--primary-orange) !important;
    color: white !important;
}

.btn-custom-orange:hover {
    background-color: #d97a23 !important;
    border-color: #d97a23 !important;
    color: white !important;
    transform: translateY(-2px);
}

.btn-outline-light-custom {
    border: 2px solid white !important;
    color: white !important;
    background: transparent !important;
}

.btn-outline-light-custom:hover {
    background: white !important;
    color: var(--primary-green) !important;
}

/* ==========================================================================
   Navigation - Bootstrap Integration
   ========================================================================== */

/* Remove old navbar styles, using Bootstrap navbar */
.navbar {
    padding: 15px 0 !important;
    transition: all 0.3s ease !important;
}

.navbar-brand {
    color: var(--white) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.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, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ==========================================================================
   Services Section with Bootstrap Grid
   ========================================================================== */

.services {
    padding: 80px 0;
    background: var(--light-gray);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-green);
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-orange);
    height: 100%;
}

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

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-red);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    padding: 80px 0;
}

.about h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--primary-green);
}

.about p {
    font-size: 1.1rem;
    max-width: 800px;
    color: #666;
    line-height: 1.8;
}

.about .lead {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Blog Preview Section
   ========================================================================== */

.blog-preview {
    padding: 80px 0;
    background: var(--light-gray);
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-green);
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-size: 1.3rem;
}

.blog-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-red);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--primary-green);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.contact-method {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-orange);
    height: 100%;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-red);
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.social-icon {
    font-size: 1.2rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.action-btn.primary {
    background: var(--primary-orange);
    color: var(--white);
}

.action-btn.primary:hover {
    background: #d97a23;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 136, 39, 0.3);
}

.action-btn.secondary {
    background: var(--primary-green);
    color: var(--white);
}

.action-btn.secondary:hover {
    background: #36501b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 98, 33, 0.3);
}

/* CTA Button */
.cta-button {
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #d97a23;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: var(--primary-green);
}

.cta-button.secondary:hover {
    background: #36501b;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .hero p {
        font-size: 1rem !important;
    }
    
    .services,
    .about,
    .blog-preview,
    .contact {
        padding: 60px 0;
    }
    
    .services h2,
    .about h2,
    .blog-preview h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-method {
        padding: 1.5rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .fullpage-hero {
        background-attachment: scroll !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .services,
    .about,
    .blog-preview,
    .contact {
        padding: 40px 0;
    }
    
    .contact h2 {
        font-size: 1.8rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .mouse {
        width: 25px;
        height: 40px;
    }
}

/* ==========================================================================
   Typography Overrides
   ========================================================================== */

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-green);
}

.lead {
    color: #666;
}
/* ==========================================================================
   Updated Hero Section Styles
   ========================================================================== */

.fullpage-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(67, 98, 33, 0.95) 0%, 
        rgba(42, 61, 21, 0.95) 100%),
        url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.service-highlight {
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.service-highlight:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.hero-stats-card {
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    margin: 0 auto;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

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

/* Text utilities */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.bg-opacity-10 {
    background-color: rgba(var(--bs-white-rgb), 0.1) !important;
}

.bg-opacity-25 {
    background-color: rgba(var(--bs-white-rgb), 0.25) !important;
}

.border-opacity-25 {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Remove old animation classes */
.typing-text, .floating-element {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fullpage-hero {
        padding-top: 100px;
        background-attachment: scroll;
    }
    
    .hero h1.display-3 {
        font-size: 2.5rem !important;
    }
    
    .service-highlight {
        margin-bottom: 1rem;
    }
    
    .hero-stats-card {
        margin-top: 2rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1.display-3 {
        font-size: 2rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}