/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://hanact.com/
Description: Twenty Twenty-Five Child Theme for customization.
Author: Antigravity Assistant
Author URI: https://hanact.com/
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive-child
*/

/* Custom styles can be added below this line */

/* Core variables */
:root {
    --ne-primary: #10B981; /* Emerald Green */
    --ne-primary-hover: #059669;
    --ne-dark: #0F172A; /* Dark Blue Slate */
    --ne-dark-bg: #0B0F19;
    --ne-light-gray: #F8FAFC;
    --ne-border-color: #E2E8F0;
    --ne-text-dark: #1E293B;
    --ne-text-muted: #64748B;
    --ne-glow-color: rgba(16, 185, 129, 0.4);
    --ne-glass-bg: rgba(15, 23, 42, 0.7);
}

/* Page Reset / Wrapper */
.custom-homepage {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ne-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?w=1600&auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--ne-primary);
    color: var(--ne-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
    background: linear-gradient(to right, #ffffff, #B9F6CA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--ne-primary);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 14px var(--ne-glow-color);
}

.btn-primary:hover {
    background-color: var(--ne-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 16px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background-color: var(--ne-light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid var(--ne-border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--ne-primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--ne-dark);
}

.feature-card p {
    color: var(--ne-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Products Section */
.products-section {
    padding: 100px 20px;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--ne-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--ne-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--ne-border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(16, 185, 129, 0.2);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #f1f5f9;
}

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

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

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
}

.tag-new {
    background-color: var(--ne-primary);
}

.tag-hot {
    background-color: #EF4444; /* Coral Red */
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ne-primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ne-dark);
    margin: 0 0 12px 0;
    line-height: 1.4;
    height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    color: var(--ne-text-muted);
    font-size: 0.9rem;
    margin: 0 0 24px 0;
    height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-symbol {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ne-text-dark);
}

.price-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ne-text-dark);
}

.price-regular {
    font-size: 0.85rem;
    color: var(--ne-text-muted);
    text-decoration: line-through;
    margin-left: 2px;
}

.btn-buy {
    background-color: var(--ne-dark);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-buy:hover {
    background-color: var(--ne-primary);
    transform: translateX(3px);
    box-shadow: 0 4px 10px var(--ne-glow-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .btn-secondary {
        margin-left: 0;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
}
