/*
Theme Name: RawTalent Farms
Author: RawTalent Network
Version: 1.0.0
*/

/* === CSS Variables === */
:root {
    --primary-color: #2C5F2D;
    --secondary-color: #8B6914;
    --accent-color: #D4AF37;
    --text-color: #333333;
    --light-bg: #F9F7F4;
    --cream-bg: #FDFBF7;
    --border-color: #E8E4DC;
}

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

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* === Header === */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
}

.site-title span {
    font-weight: 400;
}

/* === Navigation === */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--cream-bg) 0%, var(--light-bg) 100%);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-status {
    background: rgba(44, 95, 45, 0.1);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    display: inline-block;
    border-radius: 5px;
    margin-top: 2rem;
}

.hero-status p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 400;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    font-size: 0.9rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #1e401f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-waitlist {
    background: var(--secondary-color);
    color: #fff;
}

.btn-waitlist:hover {
    background: #6b5310;
}

/* === Products Section === */
.products-section {
    padding: 6rem 2rem;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

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

/* === Product Grid === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--cream-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #e8e4dc 0%, #d4d0c8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.sold-out-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-tagline {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* === Ingredients Section === */
.ingredients-section {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.ingredient-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ingredient-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.ingredient-card ul {
    list-style: none;
}

.ingredient-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.ingredient-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* === Waitlist Section === */
.waitlist-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--primary-color);
    color: #fff;
}

.waitlist-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.waitlist-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* === Footer === */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .main-navigation ul {
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === WooCommerce Styles === */
.woocommerce .products ul,
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.woocommerce ul.products li.product {
    background: var(--cream-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.woocommerce ul.products li.product .button {
    background: var(--primary-color);
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce ul.products li.product .button:hover {
    background: #1e401f;
}

/* === Waitlist Plugin Styles === */
.product-waitlist {
    background: rgba(139, 105, 20, 0.1);
    border: 1px solid var(--secondary-color);
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.product-waitlist h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* === Forms === */
input[type="email"],
input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* === Utilities === */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}
