/*
Theme Name: Hotspear Child Theme
Description: Custom child theme for Hotspear based on Astra theme with Lovable design
Author: Your Name
Template: astra
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../astra/style.css");

/* Custom Variables */
:root {
    --hotspear-primary: #FF6B47;
    --hotspear-text-dark: #1a1a1a;
    --hotspear-text-light: #6b7280;
    --hotspear-bg-light: #f8fafc;
    --hotspear-white: #ffffff;
    --hotspear-border: #e5e7eb;
}

/* Global Overrides */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--hotspear-text-dark);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from full-width sections */
}

/* Ensure Astra container doesn't interfere with full-width sections */
.ast-container {
    overflow: visible;
}

/* Header Customizations */
.site-header {
    background: var(--hotspear-white);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.site-title a {
    color: var(--hotspear-primary) !important;
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
}

/* Navigation Styles */
.main-header-menu .menu-item > a {
    color: var(--hotspear-text-dark) !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.main-header-menu .menu-item > a:hover {
    color: var(--hotspear-primary) !important;
}

/* Shop Now Button */
.shop-now-button,
.ast-button-wrap .ast-custom-button {
    background-color: var(--hotspear-primary) !important;
    color: var(--hotspear-white) !important;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(255, 107, 71, 0.2);
}

.shop-now-button:hover,
.ast-button-wrap .ast-custom-button:hover {
    background-color: #e55a3f !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 71, 0.3);
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://scontent.fqsa1-1.fna.fbcdn.net/v/t1.6435-9/120338936_2861030474115413_2527086493260815900_n.jpg?_nc_cat=105&ccb=1-7&_nc_sid=3a1ebe&_nc_ohc=HyU9zcjFm7oQ7kNvwGlf8Sp&_nc_oc=AdlLMSoJD960-aSbd7N9Fbo_IahKixYksAKdxED4_-vIQibI3FLxvP4zoWBPVNNXeQU&_nc_zt=23&_nc_ht=scontent.fqsa1-1.fna&_nc_gid=aTW91a0z6bNdyWH9q5-O7w&oh=00_AfUBUwGzPnGQUMHkYAUrNGWeRqnI1cJeQDL93UZ9TIlkDQ&oe=68C53097');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: var(--hotspear-white);
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 6rem 0;
}

.hero-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
    margin: 0;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-section h1 .highlight {
    color: var(--hotspear-primary);
    display: block;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--hotspear-primary);
    color: var(--hotspear-white);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(255, 107, 71, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--hotspear-white);
    padding: 0.875rem 2rem;
    border: 2px solid var(--hotspear-white);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #e55a3f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 107, 71, 0.4);
}

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

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-feature-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--hotspear-white);
}

.hero-feature-content p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
}

/* Simplified Hero Features */
.hero-features-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
}

.hero-feature-simple {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon-simple {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text-simple {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--hotspear-white);
}

.feature-text-simple strong {
    display: block;
    margin-bottom: 0.25rem;
}

/* Product Grid Customizations */
.woocommerce .products .product {
    background: var(--hotspear-white);
    border: 1px solid var(--hotspear-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.woocommerce .products .product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.woocommerce .products .product .woocommerce-loop-product__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hotspear-text-dark);
    margin-bottom: 0.5rem;
}

.woocommerce .products .product .price {
    color: var(--hotspear-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.woocommerce .products .product .button {
    background-color: var(--hotspear-primary);
    color: var(--hotspear-white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.woocommerce .products .product .button:hover {
    background-color: #e55a3f;
    transform: translateY(-1px);
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--hotspear-white);
    border-radius: 16px;
    border: 1px solid var(--hotspear-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--hotspear-primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hotspear-white);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hotspear-text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--hotspear-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    background: var(--hotspear-bg-light);
    padding: 4rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--hotspear-primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--hotspear-text-light);
    font-weight: 500;
}

/* Safety Standards Section */
.safety-standards {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 4rem 0;
}

.safety-content {
    flex: 1;
}

.safety-list {
    list-style: none;
    padding: 0;
}

.safety-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.safety-list li::before {
    content: "✓";
    background: var(--hotspear-primary);
    color: var(--hotspear-white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
    font-size: 0.875rem;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: var(--hotspear-white);
}

.products-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hotspear-text-dark);
    margin-bottom: 1rem;
}

.products-section .section-header .highlight {
    color: var(--hotspear-primary);
}

.products-section .section-header p {
    font-size: 1.125rem;
    color: var(--hotspear-text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.products-section .section-footer {
    text-align: center;
    margin-top: 3rem;
}

.no-products-message {
    text-align: center;
    padding: 3rem 0;
    background: var(--hotspear-bg-light);
    border-radius: 12px;
    margin: 2rem 0;
}

.no-products-message p {
    font-size: 1.125rem;
    color: var(--hotspear-text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .safety-standards {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}