/**
 * Theme Styles
 *
 * Additional custom styles for the Augro Fresh theme
 *
 * @package Augro_Fresh
 */

/* ==========================================================================
   404 Page
   ========================================================================== */

.augrofresh-error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--augrofresh-gray-50) 0%, var(--augrofresh-white) 100%);
}

.augrofresh-404-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.augrofresh-404-number {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--augrofresh-gold-primary) 0%, var(--augrofresh-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .augrofresh-404-number {
        font-size: 12rem;
    }
}

.augrofresh-404-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--augrofresh-black-primary);
}

.augrofresh-404-description {
    font-size: 1.125rem;
    color: var(--augrofresh-gray-600);
    margin-bottom: 2rem;
}

.augrofresh-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.augrofresh-404-links {
    text-align: left;
    background: var(--augrofresh-white);
    padding: 1.5rem;
    border-radius: var(--augrofresh-radius-xl);
    box-shadow: var(--augrofresh-shadow-md);
}

.augrofresh-404-links h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.augrofresh-404-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.augrofresh-404-links a {
    color: var(--augrofresh-gold-primary);
    text-decoration: none;
    font-weight: 500;
}

.augrofresh-404-links a:hover {
    color: var(--augrofresh-gold-dark);
    text-decoration: underline;
}

/* ==========================================================================
   Posts & Blog
   ========================================================================== */

.augrofresh-content-area {
    padding: 4rem 0;
}

.augrofresh-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.augrofresh-post-card {
    background: var(--augrofresh-white);
    border-radius: var(--augrofresh-radius-xl);
    overflow: hidden;
    box-shadow: var(--augrofresh-shadow-md);
    transition: all var(--augrofresh-transition-normal);
}

.augrofresh-post-card:hover {
    box-shadow: var(--augrofresh-shadow-xl);
    transform: translateY(-5px);
}

.augrofresh-post-thumbnail {
    overflow: hidden;
}

.augrofresh-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--augrofresh-transition-slow);
}

.augrofresh-post-card:hover .augrofresh-post-thumbnail img {
    transform: scale(1.1);
}

.augrofresh-post-content {
    padding: 1.5rem;
}

.augrofresh-post-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

.augrofresh-post-title a:hover {
    color: var(--augrofresh-gold-primary);
}

.augrofresh-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--augrofresh-gray-600);
    margin-bottom: 1rem;
}

.augrofresh-post-meta i,
.augrofresh-post-meta svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

.augrofresh-post-excerpt p {
    font-size: 0.9375rem;
    color: var(--augrofresh-gray-600);
    margin-bottom: 1rem;
}

.augrofresh-post-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--augrofresh-gray-200);
}

/* Pagination */
.navigation.pagination {
    margin-top: 3rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background: var(--augrofresh-white);
    border: 1px solid var(--augrofresh-gray-200);
    border-radius: var(--augrofresh-radius-md);
    color: var(--augrofresh-black-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--augrofresh-transition-fast);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--augrofresh-gold-primary);
    border-color: var(--augrofresh-gold-primary);
    color: var(--augrofresh-white);
}

/* ==========================================================================
   Page Styles
   ========================================================================== */

.augrofresh-page-content {
    min-height: 50vh;
}

.augrofresh-page {
    padding: 4rem 0;
}

.augrofresh-page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.augrofresh-page-title {
    font-size: 2.5rem;
    color: var(--augrofresh-black-primary);
}

.augrofresh-page-body {
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   Section Title Component
   ========================================================================== */

.augrofresh-section-title {
    margin-bottom: 3rem;
}

.augrofresh-section-title h2 {
    font-size: 2.25rem;
    color: var(--augrofresh-black-primary);
    margin-bottom: 1rem;
}

.augrofresh-title-line {
    width: 4rem;
    height: 3px;
    background: linear-gradient(90deg, var(--augrofresh-gold-primary), var(--augrofresh-gold-light));
    margin-bottom: 1rem;
}

.augrofresh-section-title.text-center .augrofresh-title-line {
    margin-left: auto;
    margin-right: auto;
}

.augrofresh-subtitle {
    font-size: 1.125rem;
    color: var(--augrofresh-gray-600);
    max-width: 600px;
}

.augrofresh-section-title.text-center .augrofresh-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Feature Card Component
   ========================================================================== */

.augrofresh-feature-card {
    background: var(--augrofresh-white);
    padding: 2rem;
    border-radius: var(--augrofresh-radius-xl);
    box-shadow: var(--augrofresh-shadow-md);
    text-align: center;
    transition: all var(--augrofresh-transition-normal);
    border: 1px solid var(--augrofresh-gray-200);
}

.augrofresh-feature-card:hover {
    box-shadow: var(--augrofresh-shadow-xl);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.augrofresh-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--augrofresh-gold-primary), var(--augrofresh-gold-light));
    border-radius: var(--augrofresh-radius-lg);
    margin-bottom: 1.5rem;
    transition: transform var(--augrofresh-transition-normal);
}

.augrofresh-feature-card:hover .augrofresh-feature-icon {
    transform: scale(1.1);
}

.augrofresh-feature-icon i,
.augrofresh-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--augrofresh-white);
}

.augrofresh-feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--augrofresh-black-primary);
}

.augrofresh-feature-description {
    font-size: 0.9375rem;
    color: var(--augrofresh-gray-600);
    margin: 0;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.augrofresh-breadcrumbs {
    padding: 1rem 0;
    background: var(--augrofresh-gray-50);
}

.augrofresh-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.augrofresh-breadcrumbs-list li {
    display: flex;
    align-items: center;
}

.augrofresh-breadcrumbs-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--augrofresh-gray-400);
}

.augrofresh-breadcrumbs-list a {
    color: var(--augrofresh-gold-primary);
    text-decoration: none;
}

.augrofresh-breadcrumbs-list a:hover {
    color: var(--augrofresh-gold-dark);
}

.augrofresh-breadcrumbs-list span {
    color: var(--augrofresh-gray-600);
}

/* ==========================================================================
   No Results
   ========================================================================== */

.augrofresh-no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.augrofresh-no-results h2 {
    margin-bottom: 1rem;
}

.augrofresh-no-results p {
    color: var(--augrofresh-gray-600);
}

/* ==========================================================================
   Elementor Compatibility
   ========================================================================== */

/* Full width sections */
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100%;
}

/* Boxed sections */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1280px;
}

/* Remove default Elementor spacing when inside our theme */
.augrofresh-front-page .elementor-section {
    /* Allow Elementor to control spacing */
}

/* Elementor page wrapper */
.elementor-page .augrofresh-page-content {
    /* No additional padding for Elementor pages */
    padding: 0;
}
