/* --- CSS Variables and Global Reset --- */
:root {
    /* Primary Color Palette */
    --color-primary-green: #228B22; /* Forest Green for main text/accents */
    --color-light-green: #98FB98; /* PaleGreen for subtle accents and hover */
    --color-pale-bg: #E0FFE0; /* Pale background for sections */
    --color-neutral-white: #ffffff;
    --color-neutral-dark: #333333;
    --color-neutral-light-gray: #f5f5f5;
    /* Secondary Jewel Tones */
    --color-accent-ruby: #CC3333; 
    --color-accent-sapphire: #3366CC;
    
    --font-serif: 'Playfair Display', Georgia, serif; /* Elegant headings */
    --font-sans: 'Open Sans', Arial, sans-serif; /* Readability */
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-neutral-dark);
    line-height: 1.6;
    background-color: var(--color-neutral-white);
}

/* Headings */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--color-primary-green);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }

/* Links */
a {
    color: var(--color-accent-sapphire);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
    color: var(--color-accent-ruby);
    text-decoration: underline;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--color-neutral-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

nav h1 a {
    color: var(--color-primary-green);
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul a {
    color: var(--color-neutral-dark);
    font-weight: 1000;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
    font-size: 1rem;
    font-family: var(--font-serif);
}

nav ul a:hover {
    color: var(--color-primary-green);
    border-bottom-color: var(--color-light-green);
    text-decoration: none;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 10;
}
.nav-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background-color: var(--color-primary-green);
    transition: all 0.3s ease;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* --- Utility & Components --- */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-primary-green);
    color: var(--color-neutral-white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #3CB371; /* Medium Sea Green */
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* --- Hero Section --- */
.hero {
    background-color: var(--color-pale-bg);
    background-size: cover;
    background-position: center;
    color: var(--color-primary-green);
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero h2 {
    font-size: 3.5rem;
    color: var(--color-primary-green);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 1rem auto 2rem;
}

/* --- Featured Section (CSS Grid) --- */
.featured-section {
    text-align: center;
    background-color: var(--color-neutral-white);
}

.gem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gem-card {
    background-color: var(--color-neutral-light-gray);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gem-card:hover {
    transform: translateY(-5px); /* Subtle hover animation */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.gem-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.gem-card h4 {
    color: var(--color-accent-ruby);
    margin-bottom: 0.5rem;
}

/* --- Guides/Blog Section (Flexbox & Layout) --- */
.guides-section {
    background-color: var(--color-pale-bg);
}

.guides-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.guide-preview {
    background-color: var(--color-neutral-white);
    padding: 1.5rem;
    border-left: 5px solid var(--color-primary-green);
    margin-bottom: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tools-cta {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-light-green);
    border-radius: 10px;
    margin-top: 3rem;
}

.tools-cta h4 {
    color: var(--color-neutral-dark);
}

.read-more {
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

/* --- Contact Section (CSS Grid) --- */
.contact-section {
    background-color: var(--color-pale-bg);
    border-top: 2px solid var(--color-light-green);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    padding: 1rem;
    border-right: 1px solid var(--color-light-green);
    word-break: break-word; /* Prevents text overflow on small screens */
}

.map-placeholder {
    background-color: var(--color-neutral-light-gray);
    min-height: 200px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-neutral-dark);
}

/* Ensure map image scales correctly */
.map-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* --- Gallery Section --- */
.gallery-section {
    text-align: center;
}
.gallery-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

/* --- Forum CTA --- */
.forum-cta {
    text-align: center;
    background-color: var(--color-primary-green);
    color: var(--color-neutral-white);
    padding: 3rem 2rem;
}

.forum-cta h3 {
    color: var(--color-neutral-white);
    margin-bottom: 0.5rem;
}

.forum-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.forum-button {
    background-color: var(--color-accent-ruby);
}

.forum-button:hover {
    background-color: #d64d4d; /* Slightly darker ruby */
}

/* --- Footer --- */
footer {
    background-color: var(--color-neutral-dark);
    color: var(--color-neutral-light-gray);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

footer a {
    color: var(--color-light-green);
}


/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1000px) {
    nav {
        padding: 1rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--color-light-green);
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-toggle {
        display: block;
    }
    nav ul {
        display: none; /* Hide by default */
        flex-direction: column;
        position: absolute;
        top: 65px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--color-neutral-white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 1rem 2rem;
        gap: 0;
    }
    nav ul[data-visible="true"] {
        display: flex; /* Show when active */
    }
    nav ul li a {
        display: block;
        padding: 0.75rem 0;
    }

    h1 { font-size: 2rem; }
    .hero h2 { font-size: 2.5rem; }
    
    section {
        padding: 3rem 1rem;
    }
}

/* --- Updated Header Styling for Logo --- */

/* 1. Update the .logo-container to align image and text */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between the icon and the text */
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo-container:hover {
    opacity: 0.9;
    text-decoration: none; /* Prevent underline on hover */
}

/* 2. Style the Logo Image */
.site-logo {
    height: 150px; /* Adjust this to change logo size */
    width: auto;
    display: block;
}

/* 3. Style the Text */
.site-title {
    font-family: var(--font-serif);
    color: var(--color-primary-green);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.1;
}

/* 4. Mobile Responsiveness */
@media (max-width: 600px) {
    .site-title {
        font-size: 1.2rem; /* Make text smaller on mobile */
    }
    
    .site-logo {
        height: 80px; /* Make logo slightly smaller on mobile */
    }
    
    /* Optional: If the name is too long for mobile, hide the text and just show the logo */
    /* .site-title {
        display: none;
    } 
    */
}