/*
Theme Name: Twoja Trawa
Theme URI: https://twojatrawa.pl
Author: Antigravity
Description: Custom theme for Twoja Trawa WooCommerce store.
Version: 1.0.0
Text Domain: twojatrawa
*/

:root {
    --brand-green: #05A327;
    --text-dark: #1a1a1a;
    --text-white: #ffffff;
    --bg-light: #f9f9f9;
    --font-primary: 'Inter', sans-serif;
    /* Placeholder, will refine */
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--text-white);
}

/* Helper Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: var(--brand-green);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: #048a21;
}

/* =========================================
   Header
   ========================================= */
.site-header {
    background: #fff;
    padding-top: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
}

.header-search {
    flex-grow: 1;
    margin: 0 40px;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.user-actions {
    display: flex;
    gap: 20px;
}

.user-action-item {
    text-align: center;
    font-size: 12px;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
    border-top: 1px solid #eee;
    padding: 15px 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    margin-top: 20px;
    margin-bottom: 50px;
}

.hero-banner {
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 50px;
    color: #fff;
}

/* Darker overlay for text readability */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}

.slider-indicators span {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    cursor: pointer;
}

.slider-indicators span.active {
    background: var(--brand-green);
    width: 40px;
}

/* =========================================
   New Arrivals
   ========================================= */
.new-arrivals-section {
    margin-bottom: 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
    margin: 0;
}

.see-more-link {
    color: var(--text-dark);
    text-decoration: underline;
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

/* =========================================
   About Section
   ========================================= */
.about-section {
    margin-bottom: 80px;
    background-image: url('assets/images/trawa background.png');
    /* Reuse texture styling if needed later for full page background */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.highlight-green {
    color: var(--brand-green);
    font-weight: 700;
}

.categories-icons {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.bg-green {
    background-color: var(--brand-green);
}

.bg-dark-green {
    background-color: #0b2e13;
}

.cat-item span {
    font-weight: 700;
    font-size: 18px;
}

.tagline {
    font-weight: 600;
    margin-top: 20px;
}

.about-img-placeholder {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Gallery Section
   ========================================= */
.gallery-section {
    margin-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* Custom grid based on design structure */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* =========================================
   Download Section
   ========================================= */
.download-section {
    margin-bottom: 80px;
    text-align: center;
}

.download-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.btn-download {
    display: inline-block;
    background: #e6f7e9;
    /* Light green bg */
    border: 2px solid #000;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

/* =========================================
   B2B Section
   ========================================= */
.b2b-section {
    padding: 60px 0;
    margin-bottom: 0;
    border-radius: 10px;
}

.b2b-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.b2b-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.b2b-intro {
    font-size: 18px;
    margin-bottom: 20px;
}

.b2b-contacts {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-details span {
    font-size: 14px;
    opacity: 0.8;
}

.contact-details strong {
    font-size: 18px;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* Adjust based on exact design columns */
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom {
    padding-top: 20px;
    text-align: right;
    font-size: 12px;
    color: #888;
}

.secure-payments {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.payment-icon {
    background: #fff;
    color: #000;
    padding: 2px 5px;
    border-radius: 2px;
    font-weight: bold;
    font-size: 10px;
}