/* =============================================
   EVERYTHING SOURSOP - MAIN STYLESHEET
   
   Brand Colors:
   - Primary (Soursop Green): #0A2F25
   - Secondary (Soft Leaf Green): #A7C6B1
   - Background: #FFFFFF
   - Text: #111111
   
   Fonts:
   - Headings: Georgia, "Times New Roman", serif
   - Body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
============================================= */

/* =============================================
   CSS RESET & BASE STYLES
============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111111;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    line-height: 1.3;
}

a {
    color: #0A2F25;
    text-decoration: none;
    transition: color 200ms ease;
}

a:hover {
    color: #A7C6B1;
}

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

ul {
    list-style: none;
}

/* =============================================
   UTILITY CLASSES
============================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 100px 0;
    }
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #0A2F25;
}

.section-title.centered {
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }
}

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 200ms ease;
    border: 2px solid #0A2F25;
    text-decoration: none;
}

.btn-primary {
    background-color: #0A2F25;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #143d30;
    color: #FFFFFF;
}

.btn-outline {
    background-color: transparent;
    color: #0A2F25;
}

.btn-outline:hover {
    background-color: #0A2F25;
    color: #FFFFFF;
}

.btn-outline.btn-light {
    border-color: #0A2F25;
    color: #0A2F25;
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-outline.btn-light:hover {
    background-color: #0A2F25;
    color: #FFFFFF;
}

/* =============================================
   HEADER / NAVIGATION
============================================= */
.header {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

@media (min-width: 768px) {
    .header-inner {
        height: 70px;
    }
}

@media (min-width: 1024px) {
    .header-inner {
        height: 80px;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo-img {
        height: 150px;
    }
}

@media (min-width: 1024px) {
    .logo-img {
        height: 180px;
    }
}

.nav {
    display: none;
}

@media (min-width: 768px) {
    .nav {
        display: block;
    }
}

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

.nav-link {
    font-size: 0.95rem;
    color: #111111;
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0A2F25;
    transition: width 200ms ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #0A2F25;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: #0A2F25;
    transition: all 200ms ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.nav.mobile-open {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px;
}

.nav.mobile-open .nav-list {
    flex-direction: column;
    gap: 15px;
}

/* =============================================
   HERO SECTION
============================================= */
.hero {
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 100px 0 140px;
        min-height: 600px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.65);
}

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

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-img {
    width: 280px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .hero-logo-img {
        width: 400px;
        height: auto;
    }
}

@media (min-width: 1024px) {
    .hero-logo-img {
        width: 500px;
        height: auto;
    }
}

.hero-title {
    font-size: 2.5rem;
    color: #0A2F25;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #444444;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.hero-trust {
    font-size: 0.9rem;
    color: #666666;
    letter-spacing: 0.5px;
}

/* =============================================
   FARM STORY SECTION
============================================= */
.farm-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .farm-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }
}

.farm-text p {
    margin-bottom: 1rem;
    color: #333333;
}

.farm-text p:last-child {
    margin-bottom: 0;
}

.farm-image-placeholder {
    background-color: #f5f5f5;
    border: 2px dashed #A7C6B1;
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
    color: #666666;
}

.farm-image-placeholder span {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.farm-image-placeholder small {
    font-size: 0.875rem;
    color: #999999;
}

/* =============================================
   BENEFITS SECTION
============================================= */
.benefits {
    background-color: #fafafa;
}

.benefits-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 600px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: #A7C6B1;
    color: #0A2F25;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: bold;
}

.benefit-title {
    font-size: 1.125rem;
    color: #0A2F25;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #555555;
}

/* =============================================
   PRODUCT SECTION
============================================= */
.product-card {
    display: grid;
    gap: 40px;
    margin-top: 40px;
    background-color: #fafafa;
    border-radius: 12px;
    padding: 30px;
}

@media (min-width: 768px) {
    .product-card {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
        padding: 50px;
    }
}

.product-image-placeholder {
    background-color: #FFFFFF;
    border: 2px dashed #A7C6B1;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    color: #666666;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-title {
    font-size: 1.5rem;
    color: #0A2F25;
    margin-bottom: 1rem;
}

.product-description {
    color: #333333;
    margin-bottom: 1.5rem;
}

.product-features {
    margin-bottom: 1.5rem;
}

.product-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5rem;
    color: #444444;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0A2F25;
}

.product-price {
    font-size: 1.5rem;
    font-family: Georgia, "Times New Roman", serif;
    color: #0A2F25;
    margin-bottom: 1.5rem;
}

.product-note {
    font-size: 0.875rem;
    color: #666666;
    margin-top: 1rem;
    font-style: italic;
}

/* =============================================
   JOURNAL / BLOG SECTION
============================================= */
.journal {
    background-color: #fafafa;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.journal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.65);
}

.journal .container {
    position: relative;
    z-index: 1;
}

.journal-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .journal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .journal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.journal-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.journal-date {
    font-size: 0.8rem;
    color: #888888;
    margin-bottom: 0.5rem;
}

.journal-title {
    font-size: 1.25rem;
    color: #0A2F25;
    margin-bottom: 0.75rem;
}

.journal-excerpt {
    font-size: 0.95rem;
    color: #555555;
    margin-bottom: 1rem;
}

.journal-link {
    font-size: 0.9rem;
    color: #0A2F25;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.journal-link:hover {
    color: #A7C6B1;
}

.journal-link::after {
    content: '→';
}

/* =============================================
   BREW SECTION
============================================= */
.brew-steps {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .brew-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.brew-step {
    text-align: center;
    padding: 30px;
}

.brew-step-number {
    width: 50px;
    height: 50px;
    background-color: #0A2F25;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
}

.brew-step-title {
    font-size: 1.125rem;
    color: #0A2F25;
    margin-bottom: 0.5rem;
}

.brew-step p {
    font-size: 0.95rem;
    color: #555555;
}

/* =============================================
   CONNECT SECTION
============================================= */
.connect {
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.connect-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.65);
}

.connect .container {
    position: relative;
    z-index: 1;
}

.connect-text {
    color: #555555;
    margin-bottom: 2rem;
}

.connect-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

@media (min-width: 600px) {
    .connect-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* =============================================
   EMAIL SIGNUP SECTION
============================================= */
.email-signup {
    background-color: #A7C6B1;
    padding: 50px 0;
    text-align: center;
}

.signup-title {
    font-size: 1.25rem;
    color: #0A2F25;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .signup-title {
        font-size: 1.5rem;
    }
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .signup-form {
        flex-direction: row;
    }
}

.signup-input {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #0A2F25;
    border-radius: 4px;
    outline: none;
    transition: border-color 200ms ease;
}

.signup-input:focus {
    border-color: #143d30;
}

.signup-input::placeholder {
    color: #888888;
}

/* =============================================
   FOOTER
============================================= */
.footer {
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.9rem;
    color: #666666;
}

.footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-link {
    font-size: 0.9rem;
    color: #666666;
}

.footer-link:hover {
    color: #0A2F25;
}

.footer-divider {
    color: #cccccc;
}

/* =============================================
   MODAL
============================================= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .modal-content {
        padding: 50px;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666666;
    transition: color 200ms ease;
    line-height: 1;
}

.modal-close:hover {
    color: #0A2F25;
}

.modal-title {
    font-size: 1.5rem;
    color: #0A2F25;
    margin-bottom: 0.5rem;
    padding-right: 40px;
}

@media (min-width: 768px) {
    .modal-title {
        font-size: 2rem;
    }
}

.modal-date {
    font-size: 0.9rem;
    color: #888888;
    margin-bottom: 1.5rem;
}

.modal-body {
    color: #333333;
    line-height: 1.8;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body p:last-child {
    margin-bottom: 0;
}
