/**
 * Custom CSS
 * Soria Natural - Botanical Modernism Design
 * 
 * This file contains custom styles specific to Soria Natural
 * It imports all component styles and adds additional customizations
 */

/* ============================================
   Global Styles
   ============================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-background);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
}

/* ============================================
   Navigation / Header
   

.navbar, nav, .site-header, .site-navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar a, nav a, .site-navigation a {
    color: var(--color-text-primary);
    font-weight: var(--fw-medium);
    transition: color 0.3s ease;
    text-decoration: none;
}

.navbar a:hover, nav a:hover, .site-navigation a:hover {
    color: var(--color-primary);
}

.navbar a.active, nav a.active, .site-navigation a.active {
    color: var(--color-primary);
    font-weight: var(--fw-bold);
}

.logo {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-forest);
}

.logo:hover {
    color: var(--color-primary);
}
============================================ */

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 58, 42, 0.5) 0%, rgba(11, 132, 87, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: var(--fs-7xl);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: var(--fs-lg);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: var(--fs-5xl);
    font-weight: 800;
    color: #4ade80;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: var(--fs-sm);
    opacity: 0.9;
}

/* ============================================
   Categories Section
   ============================================ */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.category-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px dashed var(--color-emerald-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--color-primary);
    background-color: var(--color-sage-light);
    transform: translateY(-5px);
}

.category-icon {
    font-size: var(--fs-5xl);
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.category-name {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--color-forest);
}

/* ============================================
   Science Section
   ============================================ */

.science-section {
    background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-emerald-light) 100%);
    padding: 4rem 0;
}

.science-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.science-image {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(11, 132, 87, 0.15);
}

.science-image img {
    width: 100%;
    height: auto;
    display: block;
}

.science-content h2 {
    margin-bottom: 2rem;
}

.methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.method-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.method-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.method-icon {
    font-size: var(--fs-4xl);
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.method-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-forest);
}

.method-description {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    line-height: var(--lh-relaxed);
}

@media (max-width: 768px) {
    .science-grid {
        grid-template-columns: 1fr;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Products Section
   ============================================ */

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

.product-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(11, 132, 87, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--color-sage-light);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.product-body {
    padding: 1.5rem;
}

.product-category {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.product-title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-forest);
}

.product-description {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    line-height: var(--lh-relaxed);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-rating-stars {
    color: #fbbf24;
}

.product-rating-count {
    font-size: var(--fs-xs);
    color: var(--color-text-secondary);
}

.product-price {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.product-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-button:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   Blog Section
   ============================================ */

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

.blog-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px dashed var(--color-emerald-light);
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(11, 132, 87, 0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-body {
    padding: 1.5rem;
}

.blog-category {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.blog-title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-forest);
}

.blog-excerpt {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    line-height: var(--lh-relaxed);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    color: var(--color-text-secondary);
}

.blog-read-more {
    display: inline-block;
    color: var(--color-primary);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--color-primary-dark);
    transform: translateX(5px);
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-star {
    color: #fbbf24;
    font-size: var(--fs-base);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: var(--lh-relaxed);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-weight: 700;
    color: var(--color-forest);
    margin-bottom: 0.25rem;
}

.testimonial-author-title {
    font-size: var(--fs-xs);
    color: var(--color-text-secondary);
}

/* ============================================
   Video Testimonials Section
   ============================================ */

.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.video-card:hover {
    box-shadow: 0 15px 30px rgba(11, 132, 87, 0.1);
    border-color: var(--color-primary);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--color-sage-light);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--fs-2xl);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(11, 132, 87, 0.3);
}

.video-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    display: flex;
    gap: 0.25rem;
}

.video-rating-star {
    color: #fbbf24;
    font-size: var(--fs-sm);
}

.video-body {
    padding: 1.5rem;
}

.video-quote {
    font-size: var(--fs-sm);
    font-style: italic;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    line-height: var(--lh-relaxed);
}

.video-customer-name {
    font-weight: 700;
    color: var(--color-forest);
    margin-bottom: 0.25rem;
}

.video-customer-role {
    font-size: var(--fs-xs);
    color: var(--color-primary);
    font-weight: var(--fw-semibold);
    margin-bottom: 0.5rem;
}

.video-customer-title {
    font-size: var(--fs-xs);
    color: var(--color-text-secondary);
}

.video-watch-button {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: rgba(11, 132, 87, 0.1);
    color: var(--color-primary);
    border: none;
    border-radius: 0.5rem;
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-watch-button:hover {
    background-color: var(--color-primary);
    color: white;
}

/* ============================================
   Footer
   ============================================ */

footer, .site-footer {
    background-color: var(--color-forest);
    color: white;
    padding: 3rem 0 1rem;
}

footer a, .site-footer a {
    color: var(--color-emerald-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover, .site-footer a:hover {
    color: white;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: var(--fs-sm);
    opacity: 0.8;
}

/* ============================================
   WooCommerce Customizations
   ============================================ */

.woocommerce .product {
    border: none;
}

.woocommerce .product-title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
}

.woocommerce .price {
    color: var(--color-primary);
    font-weight: var(--fw-bold);
}

.woocommerce .star-rating {
    color: #fbbf24;
}

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

.woocommerce .button:hover {
    background-color: var(--color-primary-dark);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--fs-5xl);
    }
    
    .hero-subtitle {
        font-size: var(--fs-base);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .science-grid {
        grid-template-columns: 1fr;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .video-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--fs-3xl);
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .navbar, nav, footer, .site-footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
    }
}
