/* 
   Agroogrodnik Landing Page Styles 
   Inspired by rolnicy-ogrodnicy.pl 
*/

:root {
    /* Color Palette extracted from reference */
    --primary-color: #4A773C;      /* Green - Main brand color */
    --primary-dark: #3a5e2f;       /* Darker green for hover */
    --secondary-color: #54595F;    /* Dark Grey - Secondary text */
    --text-color: #15161C;         /* Nearly Black - Main text */
    --accent-color: #F9A346;       /* Orange - Buttons/Highlights */
    --accent-hover: #e08e35;
    --bg-light-orange: #FFBC7D;    /* Light Orange - Background accents */
    --bg-light: #f9f9f9;           /* Light grey background */
    --white: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1140px;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.section {
    padding: var(--section-padding);
}

.bg-light { background-color: var(--bg-light); }

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.site-header {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.nav-cta {
    display: inline-block;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: #2c3e50; /* Fallback */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 160px 0 120px;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background-color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 16px;
    font-weight: 600;
}

.feature-item i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.row {
    display: flex;
    gap: 60px;
    align-items: center;
}

.col-text {
    flex: 1;
}

.col-image {
    flex: 1;
    text-align: center;
}

.section-title {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 10px;
}

.text-center .section-title::after {
    margin: 10px auto 0;
}

.section-lead {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
}

.image-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-floating {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(74, 119, 60, 0.4);
}

/* Benefits Section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-color);
}

.icon-wrapper {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--secondary-color);
    font-size: 15px;
}

/* Webinar Section */
.webinar-section {
    background-color: #2D3436;
    background-image: linear-gradient(rgba(45, 52, 54, 0.9), rgba(45, 52, 54, 0.9)), url('https://images.unsplash.com/photo-1589923188900-85dae523342b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-attachment: fixed;
}

.badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.badge-accent {
    background-color: var(--accent-color);
}

.webinar-content {
    background-color: var(--white);
    max-width: 800px;
    margin: 50px auto 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: flex;
}

.webinar-highlight {
    padding: 50px;
    text-align: center;
    width: 100%;
}

.webinar-icon {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.webinar-highlight ul {
    margin: 30px 0;
    text-align: left;
    display: inline-block;
}

.webinar-highlight li {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--secondary-color);
}

.webinar-highlight li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* CTA Section */
.cta-section {
    background-color: var(--white);
}

.cta-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(74, 119, 60, 0.2);
}

.cta-content {
    flex: 1;
    padding: 60px;
    color: var(--white);
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-benefits {
    margin-top: 25px;
}

.cta-benefits li {
    margin-bottom: 10px;
    font-size: 18px;
}

.cta-benefits i {
    margin-right: 10px;
    background-color: rgba(255,255,255,0.2);
    padding: 5px;
    border-radius: 50%;
    font-size: 12px;
}

.cta-form-box {
    width: 400px;
    background-color: var(--white);
    padding: 40px;
    margin: 20px;
    border-radius: 15px;
}

.cta-form-box h3 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.small-text-muted {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 15px;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #bbb;
    padding: 60px 0 20px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about h4 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 20px;
}

.highlight-footer {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: var(--white);
    background-color: #333;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 12px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom a {
    color: #bbb;
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 15px rgba(249, 163, 70, 0.5); }
    100% { transform: scale(1); }
}

.pulse-anim {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .row {
        flex-direction: column;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .cta-wrapper {
        flex-direction: column;
    }
    
    .cta-form-box {
        width: 100%;
        margin: 0;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .main-nav, .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .webinar-content {
        flex-direction: column;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 10px;
    }
}
