:root {
    --primary: #698c46;
    --primary-rgb: 105, 140, 70;
    --secondary: #d49aad;
    --secondary-rgb: 212, 154, 173;
    --accent: #ecd2b9;
    --accent-rgb: 236, 210, 185;
    --light-bg: #f0f2ec;
    --dark-bg: #262626;
    --light-text: #404040;
    --dark-text: #e1e1e1;
    
    --particle-color: rgba(105, 140, 70, 0.65);
    --particle-line: rgba(105, 140, 70, 0.50);
}

[data-bs-theme="dark"] {
    --primary: #5a7832;
    --primary-rgb: 90, 120, 50;
    --secondary: #b37d8e;
    --secondary-rgb: 179, 125, 142;
    --accent: #c7ac92;
    --accent-rgb: 199, 172, 146;
    
    --particle-color: rgba(90, 120, 50, 0.65);
    --particle-line: rgba(90, 120, 50, 0.50);
}

body {
    font-family: 'Open Sans', sans-serif;
    min-height: 100vh;
    background-color: var(--light-bg);
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

[data-bs-theme="dark"] body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navbar & Brand */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
}

.brand-logo {
    background-color: var(--primary);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Theme Toggle */
.theme-toggle-wrapper {
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 1rem;
    padding: 0.25rem;
    display: flex;
    align-items: center;
}

.theme-toggle-switch {
    width: 3rem;
    height: 1.5rem;
    background-color: var(--secondary);
    border-radius: 1rem;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.theme-toggle-switch::after {
    content: '';
    position: absolute;
    top: 0.125rem;
    left: 0.125rem;
    width: 1.25rem;
    height: 1.25rem;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.theme-toggle-switch.active {
    background-color: var(--primary);
}

.theme-toggle-switch.active::after {
    transform: translateX(1.5rem);
}

.theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary);
}

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

.btn-primary:hover {
    background-color: rgba(var(--primary-rgb), 0.9);
    border-color: rgba(var(--primary-rgb), 0.9);
}

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

.btn-secondary:hover {
    background-color: rgba(var(--secondary-rgb), 0.9);
    border-color: rgba(var(--secondary-rgb), 0.9);
}

/* Sections */
.hero-section {
    padding: 5rem 0 3rem;
    position: relative;
}

.features-section {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
}

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

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

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

/* Gallery */
.gallery-placeholder {
    height: 200px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.gallery-item {
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

/* Color circles */
.color-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
}

/* Footer */
.footer {
    margin-top: auto;
    background-color: rgba(var(--primary-rgb), 0.05);
    padding: 2rem 0;
}

.footer a {
    color: var(--primary);
}

/* Floral accents */
.floral-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.1;
    z-index: -1;
}

.top-left {
    top: 0;
    left: 0;
}

.top-right {
    top: 0;
    right: 0;
    transform: rotate(90deg);
}

.bottom-left {
    bottom: 0;
    left: 0;
    transform: rotate(270deg);
}

.bottom-right {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2rem;
    }
    
    .brand-logo {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }
    
    .floral-accent {
        width: 100px;
        height: 100px;
    }
}