/* GrowGardenScript.org - Inspired by growgardencalculator.org */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #2c303a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: #2c303a;
    padding: 15px 0;
    border-bottom: 1px solid #3a3f4a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #8bc34a;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo::before {
    content: '🌱';
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #8bc34a;
    background: rgba(139, 195, 74, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #8bc34a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c303a 0%, #3a3f4a 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/grow-garden-bg.jpg') center/cover;
    opacity: 0.1;
    filter: blur(3px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 .highlight {
    color: #8bc34a;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #b0b0b0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #8bc34a;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.btn-primary:hover {
    background: #7cb342;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #8bc34a;
    border: 2px solid #8bc34a;
}

.btn-secondary:hover {
    background: #8bc34a;
    color: #ffffff;
}

.hero-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(139, 195, 74, 0.1);
    color: #8bc34a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(139, 195, 74, 0.3);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Section Styles */
.section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: #3a3f4a;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #4a4f5a;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #8bc34a;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #8bc34a;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8bc34a, #7cb342);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.card p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
}

.btn-outline {
    background: transparent;
    color: #8bc34a;
    border: 1px solid #8bc34a;
}

.btn-outline:hover {
    background: #8bc34a;
    color: #ffffff;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c303a 0%, #3a3f4a 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    background: #3a3f4a;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid #4a4f5a;
}

.content-section h2 {
    color: #8bc34a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #8bc34a;
    padding-bottom: 10px;
    display: inline-block;
}

.content-section h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.content-section p {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content-section ul {
    color: #b0b0b0;
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 8px;
}

/* FAQ Styles */
.faq-item {
    background: #3a3f4a;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #4a4f5a;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #8bc34a;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #3a3f4a;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #4a4f5a;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.faq-question i {
    color: #8bc34a;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content {
    padding: 20px;
    background: #2c303a;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #8bc34a;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #2c303a;
    border: 2px solid #4a4f5a;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8bc34a;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

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

/* Footer */
.footer {
    background: #1a1d23;
    color: #b0b0b0;
    padding: 60px 0 30px 0;
    border-top: 1px solid #3a3f4a;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #8bc34a;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8bc34a;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #3a3f4a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8bc34a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #8bc34a;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #3a3f4a;
    padding-top: 30px;
    text-align: center;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c303a;
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid #3a3f4a;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-green {
    color: #8bc34a;
}

.bg-dark {
    background: #2c303a;
}

.bg-darker {
    background: #1a1d23;
}

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

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Legal Pages Styles */
.legal-content {
    padding: 5rem 0;
    background: #2c303a;
    min-height: 100vh;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background: #3a3f4a;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.8;
    color: #e2e8f0;
}

.legal-document .last-updated {
    background: rgba(139, 195, 74, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #8bc34a;
    color: #8bc34a;
}

.legal-document h1 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-document h2 {
    color: #8bc34a;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a5568;
}

.legal-document h3 {
    color: #a0aec0;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.legal-document p {
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.legal-document ul {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #e2e8f0;
}

.legal-document li {
    margin-bottom: 0.5rem;
}

.legal-document strong {
    color: #8bc34a;
}

.legal-document .contact-info {
    background: rgba(139, 195, 74, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #8bc34a;
}

.legal-document .contact-info ul {
    list-style: none;
    padding-left: 0;
}

.legal-document .contact-info a {
    color: #8bc34a;
    text-decoration: none;
}

.legal-document .contact-info a:hover {
    text-decoration: underline;
    color: #9ccc65;
}

.legal-document .policy-footer {
    background: rgba(74, 85, 104, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid #4a5568;
}

/* Override any conflicting styles */
.legal-content * {
    color: inherit !important;
}

.legal-document a {
    color: #8bc34a !important;
}

.legal-document a:hover {
    color: #9ccc65 !important;
}


/* Discord Button Styling Fix */
.btn-discord {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: linear-gradient(135deg, #4752c4, #3c45a5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
    color: white !important;
}

.btn-discord:active {
    transform: translateY(0);
}

.btn-discord i {
    font-size: 1.1em;
}

/* Ensure consistent button styling */
.contact-method .btn {
    margin-top: 1rem;
    min-width: 140px;
    justify-content: center;
}

/* Fix any color inheritance issues */
.btn-discord * {
    color: white !important;
}

