/*
Theme Name: FBO Template HR
Theme URI: https://foreverliving.com
Description: Profesionalni WordPress template za Forever Living FBO distributere u Hrvatskoj i regiji
Version: 1.0
Author: FBO Template Team
Author URI: https://foreverliving.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fbo-template-hr
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

:root {
    --primary-color: #1B4D2F;
    --accent-color: #00A651;
    --light-bg: #f8f9fa;
    --text-color: #333333;
    --border-color: #e5e5e5;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html, body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HEADER */
.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.site-branding h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.site-branding a {
    color: white;
    text-decoration: none;
}

.site-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* NAVIGATION */
.main-navigation {
    margin-top: 1rem;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* SECTIONS */
.fbo-section {
    padding: 4rem 2rem;
}

.fbo-section:nth-child(even) {
    background-color: var(--light-bg);
}

.fbo-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.fbo-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* HERO */
.fbo-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 8rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

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

/* CTA BUTTONS */
.fbo-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* GRID */
.grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.grid-item:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

/* FOOTER */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section a,
.footer-section p {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.country-flags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.country-flag {
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.country-flag:hover {
    transform: scale(1.2);
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

.site-info span {
    display: block;
    margin-bottom: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .fbo-hero {
        padding: 4rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .fbo-cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .main-navigation ul {
        gap: 1rem;
    }

    .fbo-section h2 {
        font-size: 1.8rem;
    }

    .site-header {
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
        padding: 0.5rem 1rem;
        background-color: rgba(255,255,255,0.2);
        color: white;
        border: 1px solid white;
        border-radius: 4px;
        cursor: pointer;
    }
}

/* ARTICLES */
.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.entry-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1rem;
}

.entry-meta span {
    margin-right: 1.5rem;
}

.entry-content {
    line-height: 1.8;
    margin: 2rem 0;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.entry-content ul,
.entry-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

/* POST ITEMS */
.post-item {
    padding: 2rem;
    background-color: white;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.post-item h3 {
    margin-bottom: 0.5rem;
}

.post-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.post-item a:hover {
    color: var(--accent-color);
}

.post-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

/* PAGINATION */
.pagination {
    text-align: center;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: white;
}

.pagination .current {
    background-color: var(--primary-color);
    color: white;
}

/* FORMS */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    margin-bottom: 1rem;
}

textarea {
    resize: vertical;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* COMMENTS */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: var(--light-bg);
    border-radius: 4px;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-text {
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.85rem;
    color: #999;
}

/* UTILITIES */
.text-center {
    text-align: center;
}

.text-muted {
    color: #999;
}

.mb-0 {
    margin-bottom: 0;
}

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

.pt-3 {
    padding-top: 2rem;
}
