/* ============================================
   Nature Heals - Main Stylesheet
   Earth Tone Nature Theme
   ============================================ */

/* ========== CSS Variables ========== */
:root {
    --forest-green: #2b5a3a;
    --leaf-green: #7bbf85;
    --sand-beige: #e8dcc2;
    --soft-white: #f7f7f2;
    --wood-brown: #8b6b4a;
}

/* ========== Google Fonts ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Nunito:wght@400;600&display=swap');

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--soft-white);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ========== Navigation Bar ========== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background-color: var(--forest-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

nav ul li a {
    color: var(--soft-white);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav ul li a:hover {
    color: var(--leaf-green);
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========== Hero Section ========== */
.hero {
    height: 100vh;
    background-color: var(--forest-green);
    background-image: linear-gradient(rgba(43, 90, 58, 0.5), rgba(43, 90, 58, 0.5)),
                      url('../images/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--soft-white);
    position: relative;
}

.hero h1 {
    color: var(--soft-white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.hero .quote {
    font-size: 1.3rem;
    font-style: italic;
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: rgba(43, 90, 58, 0.7);
    border-radius: 10px;
    animation: fadeInUp 1.4s ease;
}

/* ========== Slideshow ========== */
.slideshow-container {
    max-width: 800px;
    width: 90%;
    position: relative;
    margin: 3rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.slide {
    display: none;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.slide.active {
    display: block;
    animation: fadeIn 1s ease;
}

.slideshow-controls {
    text-align: center;
    margin-top: 1rem;
}

.slideshow-controls button {
    background-color: var(--forest-green);
    color: var(--soft-white);
    border: none;
    padding: 0.8rem 2rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.slideshow-controls button:hover {
    background-color: var(--leaf-green);
    transform: translateY(-2px);
}

/* ========== Main Content ========== */
main {
    margin-top: 80px;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ========== Section Styles ========== */
section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--soft-white);
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease;
}

/* ========== Card Layout ========== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background-color: var(--soft-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1.5rem;
    color: #555;
}

.card .btn {
    display: inline-block;
    background-color: var(--forest-green);
    color: var(--soft-white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card .btn:hover {
    background-color: var(--leaf-green);
    transform: scale(1.05);
}

/* ========== Search Bar ========== */
.search-container {
    margin: 2rem 0;
    text-align: center;
}

.search-container input {
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    border: 2px solid var(--forest-green);
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-container input:focus {
    border-color: var(--leaf-green);
}

/* ========== Lists ========== */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
    color: #555;
}

.benefits-list {
    list-style: none;
    margin-left: 0;
}

.benefits-list li {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    background-color: var(--sand-beige);
    border-radius: 8px;
    border-left: 4px solid var(--leaf-green);
}

/* ========== Image & Video Placeholders ========== */
.media-container {
    margin: 2rem 0;
    text-align: center;
}

.media-container img {
    width: 100%;
    max-width: 800px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.media-container video {
    width: 100%;
    max-width: 800px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* ========== Contact Form ========== */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--soft-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--forest-green);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--sand-beige);
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--forest-green);
    color: var(--soft-white);
    border: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--leaf-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ========== Map Container ========== */
.map-container {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ========== Footer ========== */
footer {
    background-color: var(--forest-green);
    color: var(--soft-white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.fade-in {
    animation: fadeIn 0.8s ease;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* ========== Scroll to Top Button ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--forest-green);
    color: var(--soft-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--leaf-green);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========== Active Nav Link ========== */
nav ul li a.active {
    color: var(--leaf-green);
    background-color: rgba(123, 191, 133, 0.2);
    border-bottom: 2px solid var(--leaf-green);
}

/* ========== Video Hover Effects ========== */
.media-container video {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.media-container video:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ========== Ripple Effect ========== */
nav a {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========== Enhanced Card Transitions ========== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.card:hover {
    background-color: rgba(123, 191, 133, 0.05);
}

/* ========== Image Load Animation ========== */
img {
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* ========== Smooth Page Transitions ========== */
body {
    transition: opacity 0.5s ease;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .hero .quote {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .media-container img,
    .media-container video {
        height: 300px;
        max-width: 100%;
    }
    
    .slideshow-container {
        max-width: 95%;
        margin: 2rem auto;
    }
    
    .slide img {
        max-height: 300px;
    }
    
    .slideshow-controls {
        margin-top: 0.5rem;
    }
    
    .slideshow-controls button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .slideshow-container {
        max-width: 100%;
        margin: 1.5rem auto;
    }
    
    .slide img {
        max-height: 250px;
    }
    
    .slideshow-controls button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin: 0 0.3rem;
    }
}



