/* Garden Tales - Soft Pastel Styles */

/* CSS Variables */
:root {
    --primary-color: #b4c5b4;
    --secondary-color: #b5d8eb;
    --accent-color: #f5d5e0;
    --accent2: #c9e4de;
    --dark-color: #4a4a4a;
    --light-bg: #fdf6f8;
    --card-bg: #ffffff;
}

/* Base */
body {
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: var(--primary-color);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('bg.png') center 10% / cover no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    padding-top: 60px;
}

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

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: #4a4a4a;
    text-shadow: none;
    animation: fadeInUp 1s ease;
}

.hero-section .lead {
    color: #666;
    font-size: 1.25rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

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

.btn-primary:hover {
    background-color: #9ab09a;
    border-color: #9ab09a;
}

.btn-outline-light {
    border-color: #333;
    color: #333;
    background-color: rgba(255,255,255,0.8);
}

.btn-outline-light:hover {
    background-color: #333;
    color: white;
    border-color: #333;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator a {
    color: #4a4a4a;
    font-size: 2rem;
    text-decoration: none;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

/* Theme Cards */
.theme-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.theme-image {
    height: 200px;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.theme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.theme-card:hover .theme-image img {
    transform: scale(1.1);
}

.theme-content {
    background: white;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.placeholder-img i {
    font-size: 3rem;
    color: white;
}

/* Flower Cards */
.flower-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flower-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.flower-image {
    height: 220px;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.flower-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flower-card:hover .flower-image img {
    transform: scale(1.1);
}

/* Section Headers */
section {
    padding: 80px 0;
}

section h2 {
    color: var(--primary-color);
}

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

footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--primary-color);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-image: url('bgmWeb.png') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        min-height: 40svh;
    }

    .hero-section h1 {
        font-size: 1.5rem !important;
    }

    .hero-section .lead {
        font-size: 0.8rem !important;
    }

    .hero-section .btn-lg {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .scroll-indicator {
        display: none;
    }

    section {
        padding: 20px 0;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 1.3rem;
    }

    .feature-card {
        padding: 1rem !important;
    }

    .feature-card h4 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.8rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Card Hover Effects */
.theme-card,
.flower-card,
.feature-card {
    cursor: pointer;
}
