/* Global Styles */
:root {
    --primary-color: #5a4f45;
    --secondary-color: #dde8c5;
    --accent-color: #8b7d6b;
    --light-color: #f5f3f0;
    --dark-color: #3a332c;
    --dark-green: #2c4a3e;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background-color: var(--light-color) !important;
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    color: var(--primary-color) !important;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.active {
    color: var(--accent-color) !important;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

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

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

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

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

/* Footer */
footer {
    background-color: var(--light-color);
    color: var(--primary-color);
}

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

footer a:hover {
    color: var(--accent-color) !important;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-img-top {
        height: 150px;
    }
    
    .hero-svg {
        object-position: center;
    }
}

/* Ensure hero content appears above SVG and overlay */
.hero-section .container {
    z-index: 3;
    position: relative;
    width: 100%;
}

/* SVG Animation Optimizations */
.hero-svg {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Ensure SVG animations are smooth */
.hero-svg object {
    pointer-events: none;
}

/* Add a subtle loading animation for the SVG */
@keyframes svgLoad {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-svg {
    animation: svgLoad 0.5s ease-out;
}

/* Utility Classes */

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Override Bootstrap's text-primary */
.text-primary {
    color: var(--primary-color) !important;
}

/* Card Icons */
.card-body .fas,
.card-body .far,
.card-body .fab {
    color: var(--primary-color);
} 