/* ============================================
   The Roaming Gnome - Shared Styles
   Colors: Green + Pink + Cream/Earthy
   ============================================ */

:root {
    --green-deep: #3d4a3d;
    --green-mid: #6a9b6a;
    --green-soft: #8ab88a;
    --green-light: #d4e8d4;
    --pink-logo: #f0b3b3;
    --pink-soft: #f5cece;
    --pink-blush: #faf0ef;
    --pink-accent: #e89b9b;
    --brown-warm: #d4a574;
    --brown-mid: #b88a5e;
    --cream: #fdfcfa;
    --cream-warm: #f5f0e8;
    --text-body: #3d4a3d;
    --text-muted: #6a7a6a;
    --border-dotted: #d4c9b8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Merriweather', serif;
    color: var(--text-body);
    overflow-x: hidden;
    background-color: var(--cream);
}

a { color: var(--green-mid); }
a:hover { color: var(--green-soft); }

img { max-width: 100%; height: auto; }

/* ---- Floating Background Leaves ---- */
.background-decoration {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1; overflow: hidden; pointer-events: none;
}
.floating-leaf {
    position: absolute; opacity: 0.10;
    animation: float 20s infinite ease-in-out;
}
.leaf-1 { top: 10%; left: 5%; animation-delay: 0s; font-size: 40px; }
.leaf-2 { top: 60%; right: 10%; animation-delay: 5s; font-size: 50px; }
.leaf-3 { bottom: 20%; left: 15%; animation-delay: 10s; font-size: 35px; }
.leaf-4 { top: 30%; right: 20%; animation-delay: 7s; font-size: 45px; }
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* ---- Announcement Banner ---- */
.announcement {
    background: linear-gradient(135deg, var(--green-soft) 0%, var(--green-mid) 100%);
    color: white; padding: 14px 20px;
    text-align: center; font-size: 15px;
    border-bottom: 3px solid rgba(255,255,255,0.2);
}

/* ---- Header & Nav ---- */
.main-header {
    background-color: var(--cream);
    padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 2px dotted var(--border-dotted);
    position: sticky; top: 0; z-index: 100;
}
.logo-section {
    display: flex; align-items: center; gap: 15px;
    cursor: pointer; transition: transform 0.3s; text-decoration: none;
}
.logo-section:hover { transform: translateY(-2px); }
.gnome-icon {
    width: 55px; height: 55px;
    background: var(--pink-logo); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(240, 179, 179, 0.4);
    position: relative; overflow: hidden;
}
/* If you want to use your logo image instead of the emoji, 
   replace the gnome-icon contents with an <img> tag */
.gnome-icon img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.gnome-icon::after {
    display: none;
}
.site-title {
    font-family: 'Comfortaa', cursive; font-size: 26px;
    font-weight: 700; color: var(--green-deep);
}
nav { display: flex; gap: 30px; align-items: center; }
nav > a, .nav-dropdown > .nav-link {
    color: var(--green-deep); text-decoration: none;
    font-family: 'Comfortaa', cursive; font-size: 15px; font-weight: 600;
    transition: all 0.3s; position: relative; padding: 5px 0;
    background: none; border: none; cursor: pointer;
}
nav > a::after, .nav-dropdown > .nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--green-soft), var(--pink-accent));
    transition: width 0.3s;
}
nav > a:hover::after, .nav-dropdown:hover > .nav-link::after { width: 100%; }
nav > a:hover, .nav-dropdown:hover > .nav-link { color: var(--green-mid); }
nav > a.active { color: var(--green-mid); }
nav > a.active::after { width: 100%; }

/* Dropdown for Plants */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-link { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown .nav-link .arrow {
    font-size: 10px; transition: transform 0.3s;
}
.nav-dropdown:hover .nav-link .arrow { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: white; border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 10px 0; min-width: 180px;
    opacity: 0; visibility: hidden;
    transition: all 0.3s; margin-top: 10px;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; margin-top: 5px;
}
.dropdown-menu a {
    display: block; padding: 10px 20px;
    color: var(--green-deep); text-decoration: none;
    font-family: 'Comfortaa', cursive; font-size: 14px; font-weight: 600;
    transition: background 0.2s;
}
.dropdown-menu a:hover {
    background: var(--cream-warm); color: var(--green-mid);
}

/* ---- Page Hero Banner ---- */
.page-hero {
    background: linear-gradient(165deg, var(--cream-warm) 0%, #ede4d8 40%, var(--pink-blush) 100%);
    padding: 80px 40px;
    text-align: center; position: relative; overflow: hidden;
}
/* For pages with a background image */
.page-hero.with-image {
    background-size: cover; background-position: center;
    position: relative;
}
.page-hero.with-image::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(61,74,61,0.3) 0%, rgba(61,74,61,0.5) 100%);
}
.page-hero .hero-inner {
    position: relative; z-index: 1; max-width: 800px; margin: 0 auto;
}
.page-hero h1 {
    font-family: 'Comfortaa', cursive; font-size: 48px;
    font-weight: 700; color: var(--green-deep); margin-bottom: 15px;
}
.page-hero.with-image h1 { color: white; text-shadow: 0 2px 15px rgba(0,0,0,0.3); }
.page-hero .subtitle {
    font-size: 20px; font-style: italic; color: var(--text-muted);
}
.page-hero.with-image .subtitle { color: rgba(255,255,255,0.9); }

/* ---- Home Hero (special) ---- */
.home-hero {
    padding: 80px 40px; position: relative; overflow: hidden;
    /* Set your garden photo as background-image here */
    background: linear-gradient(165deg, var(--cream-warm) 0%, #ede4d8 40%, var(--pink-blush) 100%);
}
.home-hero.with-image {
    background-size: cover; background-position: center;
}
.home-hero.with-image::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(253,252,250,0.92) 0%, rgba(245,240,232,0.85) 50%, rgba(250,240,239,0.8) 100%);
}
.home-hero .hero-content {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; position: relative; z-index: 1;
}
.home-hero .hero-text h1 {
    font-family: 'Comfortaa', cursive; font-size: 52px;
    font-weight: 700; color: var(--green-deep); line-height: 1.2;
    margin-bottom: 20px;
}
.home-hero .subtitle {
    font-size: 22px; font-style: italic;
    color: var(--green-mid); margin-bottom: 25px;
}
.tolkien-quote {
    background-color: rgba(255,255,255,0.6);
    padding: 25px; border-left: 4px solid var(--pink-accent);
    font-style: italic; font-size: 16px; line-height: 1.8;
    color: #5a6a5a; border-radius: 0 8px 8px 0;
}
.quote-author {
    text-align: right; margin-top: 12px;
    font-size: 14px; color: #7a8a7a;
}
/* Hero image side */
.hero-image-container {
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--green-light), var(--pink-soft));
    display: flex; align-items: center; justify-content: center;
}
.hero-image-container img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-image-placeholder {
    text-align: center; padding: 40px; color: var(--text-muted);
    font-family: 'Comfortaa', cursive; font-size: 14px;
}
.hero-image-placeholder span { font-size: 60px; display: block; margin-bottom: 15px; }

/* ---- Section Divider ---- */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--pink-soft), var(--green-light), var(--pink-soft), transparent);
}

/* ---- Card Grid ---- */
.nav-cards {
    padding: 70px 40px; max-width: 1000px; margin: 0 auto;
}
.section-header {
    text-align: center; margin-bottom: 45px;
}
.section-header h2 {
    font-family: 'Comfortaa', cursive; font-size: 38px;
    color: var(--green-deep); margin-bottom: 12px;
}
.section-header p {
    font-size: 17px; color: var(--text-muted); font-style: italic;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.nav-card {
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-warm) 100%);
    border-radius: 20px; padding: 35px 25px;
    text-align: center; border: 3px solid transparent;
    transition: all 0.4s; cursor: pointer;
    position: relative; overflow: hidden; text-decoration: none;
    display: block; color: inherit;
}
.nav-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(138,184,138,0.08) 0%, rgba(240,179,179,0.08) 100%);
    opacity: 0; transition: opacity 0.4s;
}
.nav-card:hover::before { opacity: 1; }
.nav-card:hover {
    transform: translateY(-6px);
    border-color: var(--green-soft);
    box-shadow: 0 12px 35px rgba(138,184,138,0.25);
}
.nav-card:nth-child(even):hover {
    border-color: var(--pink-accent);
    box-shadow: 0 12px 35px rgba(240,179,179,0.25);
}
.card-icon {
    font-size: 50px; margin-bottom: 15px;
    display: inline-block; transition: transform 0.4s;
}
.nav-card:hover .card-icon { transform: scale(1.1) rotate(5deg); }
.card-title {
    font-family: 'Comfortaa', cursive; font-size: 22px;
    color: var(--green-deep); margin-bottom: 10px; font-weight: 600;
}
.card-description {
    font-size: 14px; color: var(--text-muted); line-height: 1.6;
}

/* ---- Mission ---- */
.mission {
    background: linear-gradient(135deg, var(--green-soft) 0%, var(--green-mid) 100%);
    padding: 65px 40px; text-align: center;
    position: relative; overflow: hidden;
}
.mission::before {
    content: '🌷'; position: absolute; font-size: 200px;
    opacity: 0.06; top: 50%; left: 10%;
    transform: translateY(-50%) rotate(-15deg);
}
.mission::after {
    content: '🌱'; position: absolute; font-size: 180px;
    opacity: 0.06; top: 50%; right: 10%;
    transform: translateY(-50%) rotate(15deg);
}
.mission-text {
    max-width: 800px; margin: 0 auto;
    position: relative; z-index: 1;
}
.mission-text p {
    font-size: 26px; color: white;
    line-height: 1.6; font-style: italic;
}

/* ---- Footer CTA ---- */
.footer-cta {
    background: linear-gradient(180deg, var(--cream-warm) 0%, var(--pink-blush) 100%);
    padding: 70px 40px; text-align: center;
}
.footer-cta h2 {
    font-family: 'Comfortaa', cursive; font-size: 34px;
    color: var(--green-deep); margin-bottom: 35px;
}
.cta-buttons {
    display: flex; gap: 20px;
    justify-content: center; flex-wrap: wrap;
}
.btn {
    padding: 14px 35px; border-radius: 50px;
    font-family: 'Comfortaa', cursive; font-size: 16px; font-weight: 600;
    text-decoration: none; transition: all 0.3s;
    display: inline-flex; align-items: center; gap: 10px;
    border: none; cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--green-soft) 0%, var(--green-mid) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(138,184,138,0.4);
}
.btn-primary:hover {
    transform: translateY(-3px); color: white;
    box-shadow: 0 6px 25px rgba(138,184,138,0.5);
}
.btn-secondary {
    background-color: white; color: var(--green-deep);
    border: 2px solid var(--pink-accent);
}
.btn-secondary:hover {
    background-color: var(--pink-logo); color: var(--green-deep);
}
.btn-outline {
    background: transparent; color: var(--green-deep);
    border: 2px solid var(--green-soft);
}
.btn-outline:hover {
    background: var(--green-soft); color: white;
}

/* ---- Footer ---- */
footer {
    background-color: var(--green-deep);
    color: var(--border-dotted);
    padding: 45px 40px 30px; text-align: center;
}
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-tagline {
    font-family: 'Comfortaa', cursive; font-size: 22px;
    margin-bottom: 20px; color: var(--pink-soft);
}
.social-links {
    display: flex; gap: 20px;
    justify-content: center; margin-bottom: 20px;
}
.social-links a {
    width: 46px; height: 46px; border-radius: 50%;
    background-color: rgba(240,179,179,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; transition: all 0.3s; text-decoration: none;
}
.social-links a:hover {
    background-color: var(--pink-logo); transform: scale(1.1);
}
.footer-email {
    font-size: 15px; margin-top: 18px; padding-top: 18px;
    border-top: 1px solid rgba(212,201,184,0.3);
}
.footer-email a { color: var(--green-soft); text-decoration: none; }
.footer-email a:hover { text-decoration: underline; }

/* ---- Content Sections ---- */
.content-section {
    max-width: 900px; margin: 0 auto;
    padding: 60px 40px;
}
.content-section h2 {
    font-family: 'Comfortaa', cursive; font-size: 32px;
    color: var(--green-deep); margin-bottom: 20px;
}
.content-section h3 {
    font-family: 'Comfortaa', cursive; font-size: 22px;
    color: var(--green-deep); margin-bottom: 12px;
}
.content-section p {
    font-size: 16px; line-height: 1.8;
    color: var(--text-body); margin-bottom: 18px;
}
.content-section ul {
    margin: 15px 0 25px 25px;
}
.content-section li {
    font-size: 15px; line-height: 1.7; margin-bottom: 8px;
}

/* Highlight banner */
.highlight-banner {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--pink-blush) 100%);
    padding: 25px 40px; text-align: center;
    font-family: 'Comfortaa', cursive; font-weight: 600;
    font-size: 18px; color: var(--green-deep);
}
.highlight-banner.sold-out {
    background: linear-gradient(135deg, var(--pink-blush) 0%, var(--pink-soft) 100%);
    color: var(--pink-accent);
}

/* ---- Info Cards (for events, inventory, etc.) ---- */
.info-card {
    background: white; border-radius: 16px;
    padding: 35px; margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(212,201,184,0.3);
}
.info-card h3 {
    font-family: 'Comfortaa', cursive; font-size: 24px;
    color: var(--green-deep); margin-bottom: 15px;
}

/* ---- Event Details ---- */
.event-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 30px; align-items: start;
}
.event-details li {
    font-size: 15px; line-height: 1.7; margin-bottom: 6px;
}
.payment-methods {
    display: flex; gap: 15px; flex-wrap: wrap; margin-top: 15px;
}
.payment-tag {
    background: var(--cream-warm); padding: 8px 18px;
    border-radius: 20px; font-family: 'Comfortaa', cursive;
    font-size: 13px; font-weight: 600; color: var(--green-deep);
}

/* ---- Embed Container ---- */
.embed-container {
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 25px 0; border: 1px solid rgba(212,201,184,0.3);
}
.embed-container iframe {
    width: 100%; border: none; display: block;
}

/* ---- About Page ---- */
.about-photo {
    max-width: 350px; margin: 0 auto 30px;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.about-photo img {
    width: 100%; display: block;
}
.about-name {
    font-family: 'Comfortaa', cursive; font-size: 36px;
    text-align: center; color: var(--green-deep); margin-bottom: 5px;
}
.about-title {
    text-align: center; font-style: italic;
    color: var(--green-mid); font-size: 18px; margin-bottom: 35px;
}
.photo-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px; margin-top: 40px;
}
.photo-grid img {
    border-radius: 12px; width: 100%;
    height: 250px; object-fit: cover;
}

/* ---- Plant Care Accordion ---- */
.accordion-section { margin-bottom: 15px; }
.accordion-section details {
    border: 1px solid rgba(212,201,184,0.4);
    border-radius: 12px; overflow: hidden;
    background: white;
}
.accordion-section summary {
    font-family: 'Comfortaa', cursive; font-size: 22px;
    font-weight: 600; color: var(--green-deep);
    padding: 20px 25px; cursor: pointer;
    list-style: none; display: flex;
    justify-content: space-between; align-items: center;
    transition: background 0.2s;
}
.accordion-section summary:hover { background: var(--cream-warm); }
.accordion-section summary::-webkit-details-marker { display: none; }
.accordion-section summary::after {
    content: '▼'; font-size: 12px; color: var(--text-muted);
    transition: transform 0.3s;
}
.accordion-section details[open] summary::after {
    transform: rotate(180deg);
}
.accordion-content {
    padding: 10px 25px 25px;
}
.plant-link {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; margin: 4px 0;
    color: var(--green-deep); text-decoration: none;
    border-radius: 10px; transition: all 0.25s;
    font-size: 15px; border: 1px solid transparent;
}
.plant-link:hover {
    background: linear-gradient(135deg, var(--cream-warm) 0%, var(--pink-blush) 100%);
    border-color: rgba(212,201,184,0.4);
    color: var(--green-mid);
    transform: translateX(4px);
}
.plant-link::before {
    content: '🌱'; font-size: 14px; flex-shrink: 0;
}
.plant-link:nth-child(even)::before { content: '🌿'; }
/* Specific category icons */
.accordion-content.veggies .plant-link::before { content: '🥬'; }
.accordion-content.veggies .plant-link:nth-child(even)::before { content: '🌱'; }
.accordion-content.herbs .plant-link::before { content: '🌿'; }
.accordion-content.herbs .plant-link:nth-child(even)::before { content: '🍃'; }
.accordion-content.flowers .plant-link::before { content: '🌸'; }
.accordion-content.flowers .plant-link:nth-child(even)::before { content: '💐'; }
.plant-link::after {
    content: '→'; margin-left: auto; font-size: 14px;
    color: var(--border-dotted); transition: all 0.25s;
}
.plant-link:hover::after {
    color: var(--green-mid); transform: translateX(3px);
}

/* ---- YouTube Section ---- */
.yt-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 25px; margin-top: 20px;
}
.yt-card {
    text-align: center; text-decoration: none; color: inherit;
    transition: transform 0.3s;
}
.yt-card:hover { transform: translateY(-4px); }
.yt-card .yt-thumb {
    width: 100%; aspect-ratio: 1; border-radius: 50%;
    object-fit: cover; margin-bottom: 10px;
    border: 3px solid var(--green-light);
}
.yt-card .yt-name {
    font-family: 'Comfortaa', cursive; font-size: 13px;
    font-weight: 600; color: var(--green-deep);
}

/* ---- Plant Care Detail Page ---- */
.care-tips { margin: 25px 0; }
.care-tips li {
    margin-bottom: 12px; line-height: 1.7;
}
.care-tips strong {
    color: var(--green-mid);
}

/* ---- Contact Page ---- */
.contact-methods {
    display: flex; gap: 30px; justify-content: center;
    flex-wrap: wrap; margin: 30px 0;
}
.contact-card {
    background: white; border-radius: 16px; padding: 30px 40px;
    text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(212,201,184,0.3);
    text-decoration: none; color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 200px;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.contact-card .contact-icon { font-size: 36px; margin-bottom: 10px; }
.contact-card .contact-label {
    font-family: 'Comfortaa', cursive; font-size: 15px;
    font-weight: 600; color: var(--green-deep);
}

/* ---- Pre-order / Venmo Card ---- */
.preorder-card {
    display: grid; grid-template-columns: auto 1fr;
    gap: 30px; align-items: center;
}
.venmo-qr {
    width: 180px; border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* ---- Inventory Specific ---- */
.special-announcement {
    background: linear-gradient(135deg, var(--pink-blush) 0%, var(--cream-warm) 100%);
    border: 2px solid var(--pink-soft); border-radius: 16px;
    padding: 25px 35px; text-align: center; margin: 30px 0;
}
.special-announcement h3 {
    font-family: 'Comfortaa', cursive; color: var(--green-deep);
    font-size: 20px; margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .home-hero .hero-content {
        grid-template-columns: 1fr; gap: 30px;
    }
    .home-hero .hero-text h1 { font-size: 38px; }
    .hero-image-container { max-width: 400px; margin: 0 auto; }
    .main-header { flex-direction: column; gap: 20px; padding: 15px 20px; }
    nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .card-grid { grid-template-columns: 1fr; }
    .event-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: 1fr; }
    .yt-grid { grid-template-columns: 1fr 1fr; }
    .preorder-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .content-section { padding: 40px 20px; }
    .page-hero { padding: 50px 20px; }
    .page-hero h1 { font-size: 36px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; justify-content: center; }
}
/* Quick-reference grid */
@media (max-width: 600px) {
    .quick-ref-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 500px) {
    .yt-grid { grid-template-columns: 1fr; max-width: 250px; margin: 20px auto 0; }
    .contact-methods { flex-direction: column; align-items: center; }
}
