﻿:root {
    /* Light theme colors */
    --primary-color: #2c5e44;
    --secondary-color: #4a8266;
    --accent-color: #7fb069;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    /* Dark theme colors */
    --primary-color: #7fb069;
    --secondary-color: #4a8266;
    --accent-color: #2c5e44;
    --bg-primary: #1a1d23;
    --bg-secondary: #242831;
    --text-primary: #e9ecef;
    --text-secondary: #adb5bd;
    --border-color: #343a40;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

* {
    transition: all 0.3s ease;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Header Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

.theme-toggle {
    background: none;
    border: 2px solid white;
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .theme-toggle:hover {
        background-color: white;
        color: var(--primary-color);
        transform: scale(1.05);
    }

/* Hero Section */
.hero-section {
    height: 110vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0.05);stop-opacity:1" /></linearGradient></defs><path d="M0,400 Q300,200 600,400 T1200,400 L1200,800 L0,800 Z" fill="url(%23grad1)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    animation: waveFrequency 4s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    position: relative;
}

.hero-house {
    position: absolute;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    animation: houseFloat 6s ease-in-out infinite;
}

.hero-house-left {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    animation: houseFloat 6s ease-in-out infinite;
    animation-delay: 3s; 
}

.house-icon {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .house-icon:hover {
        transform: scale(1.1);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

.house-roof {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    height: 30px;
    background: var(--primary-color);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: roofGlow 4s ease-in-out infinite alternate;
}

.house-body {
    position: absolute;
    top: 40px;
    left: 20px;
    right: 20px;
    bottom: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.house-door {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 6px 6px 0 0;
}

.house-window {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: windowBlink 3s ease-in-out infinite;
}

    .house-window:nth-child(1) {
        top: 8px;
        left: 8px;
        animation-delay: 0s;
    }

    .house-window:nth-child(2) {
        top: 8px;
        right: 8px;
        animation-delay: 1s;
    }

.house-chimney {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 6px;
    height: 15px;
    background: #6c757d;
    border-radius: 3px 3px 0 0;
}

.house-smoke {
    position: absolute;
    top: 10px;
    right: 22px;
    width: 12px;
    height: 12px;
}

.smoke-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: smokeRise 2s ease-in-out infinite;
}

    .smoke-particle:nth-child(1) {
        left: 2px;
        animation-delay: 0s;
    }

    .smoke-particle:nth-child(2) {
        left: 6px;
        animation-delay: 0.5s;
    }

    .smoke-particle:nth-child(3) {
        left: 4px;
        animation-delay: 1s;
    }

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    /*text-shadow: 3px 3px 6px rgba(0,0,0,0.3);*/
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-buttons {
    animation: fadeInUp 1s ease 0.9s both;
}

.btn-custom {
    padding: 1rem 2rem;
    margin: 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom {
    background: white;
    color: var(--primary-color);
    border: none;
}

    .btn-primary-custom:hover {
        background: var(--accent-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

.btn-outline-custom {
    background: transparent;
    color: white;
    border: 2px solid white;
}

    .btn-outline-custom:hover {
        background: white;
        color: var(--primary-color);
        transform: translateY(-3px);
    }

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px var(--shadow-color);
    }

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-section .text-muted {
    color: var(--text-secondary) !important;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: var(--primary-color);
    }

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

    .social-links a:hover {
        color: var(--primary-color);
    }

.title-p {
    margin-top: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes waveFrequency {
    0%, 100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-15px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(15px);
    }
}

@keyframes houseFloat {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(10px) rotateZ(2deg);
    }
}

@keyframes roofGlow {
    0% {
        filter: brightness(1);
    }

    100% {
        filter: brightness(1.2);
    }
}

@keyframes windowBlink {
    0%, 90% {
        opacity: 1;
    }

    95% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

@keyframes smokeRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translateY(-15px) scale(0.5);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    .hero-house,
    .hero-house-left {
        display: none;
    }

    .navbar-brand {
        font-size: 1.0rem;
        font-weight: 700;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .location-info {
        display: none !important;
    }

}

@media (max-width: 390px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    .hero-house,
    .hero-house-left {
        display: none;
    }

    .navbar-brand {
        font-size: 1.0rem;
        font-weight: 700;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .title-p {
        margin-top: 10px;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 3rem;
        opacity: 0.8;
        animation: fadeInUp 1s ease 0.6s both;
    }

    .location-info {
        display: none !important;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    .hero-house,
    .hero-house-left {
        display: none;
    }

    .navbar-brand {
        font-size: 1.0rem;
        font-weight: 700;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .title-p {
        margin-top: 50px;
    }

    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 3rem;
        opacity: 0.8;
        animation: fadeInUp 1s ease 0.6s both;
    }

    .location-info {
        display: none !important;
    }
}
