/* styles.css - Green Palette with CSS Variables */

/* CSS Custom Properties (Variables) */
:root {
    /* Primary Colors */
    --color-primary: #6a9c89;           /* Main sage green */
    --color-secondary: #235d47;         /* Forest green */
    --color-accent: #a3d5c1;            /* Light mint */
    --color-light: #e8f4f8;             /* Soft blue-green */
    
    /* Background Colors */
    --bg-primary: #fefefe;              /* Main background */
    --bg-header: linear-gradient(135deg, #e8f4f8 0%, #f0f8e8 100%);
    --bg-footer: linear-gradient(135deg, #6a9c89 0%, #235d3c 100%);
    --bg-nav-mobile: #f0f8e8;
    
    /* Text Colors */
    --text-primary: #4a5d23;            /* Main text */
    --text-light: #ffffff;              /* Light text */
    --text-accent: #8bb4a1;             /* Tagline text */
    --text-footer: #a3d5c1;             /* Footer text */
    --text-footer-heading: #e8f4f8;     /* Footer headings */
    
    /* Shadow and Effects */
    --shadow-header: 0 2px 10px rgba(106, 156, 137, 0.1);
    --shadow-nav: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-footer: 1px solid rgba(255, 255, 255, 0.2);
    
    /* Social Media Hover */
    --social-bg: rgba(255, 255, 255, 0.1);
    --social-hover-bg: #a3d5c1;
    --social-hover-color: #4a5d23;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--bg-header);
    box-shadow: var(--shadow-header);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
}

.logo .tagline {
    color: var(--text-accent);
    font-size: 0.9rem;
    font-style: italic;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--color-primary);
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-menu li a:hover:after {
    width: 100%;
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: 0.3s;
}

/* Main Content Placeholder */
.main-content {
    min-height: 60vh;
    padding: 4rem 0;
    background-color: var(--bg-primary);
}

.main-content h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.main-content p {
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Footer Styles */
.footer {
    background: var(--bg-footer);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-footer-heading);
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-footer);
}

.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-footer-heading);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--social-bg);
    color: var(--text-footer-heading);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--social-hover-bg);
    color: var(--social-hover-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: var(--border-footer);
}

.footer-bottom p {
    color: var(--text-footer);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: var(--bg-nav-mobile);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: var(--shadow-nav);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Dropdown Styles - Add this to your existing CSS */

/* Dropdown container */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    margin-top: 8px;
    top: 100%;
    left: 0;
    background-color: var(--bg-nav-mobile);
    min-width: 200px;
    box-shadow: var(--shadow-nav);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: var(--color-accent);
    color: var(--color-secondary);
}

.dropdown-menu a:after {
    display: none;
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        padding-left: 1rem;
        margin-top: 0.5rem;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
        border-left: 2px solid var(--color-accent);
        padding-left: 1rem;
    }
    
    .dropdown-toggle i {
        margin-left: auto;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-accent) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}


