/* Main Stylesheet - BaseLand Theme */

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-bg-darker);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-top {
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold);
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--color-brand-red);
}

.phone-link svg {
    flex-shrink: 0;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
}

.header-actions a {
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.header-actions a:hover {
    color: var(--color-cyan);
}

.header-main {
    padding: 1rem 0;
}

.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-name {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-brand-red), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.main-navigation {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.nav-menu li a {
    color: var(--color-text-light);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-brand-red);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--color-brand-red);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: transparent;
    padding: 0.5rem;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--color-text-light);
    transition: all 0.3s ease;
}

.header-cart {
    position: relative;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    background: var(--color-brand-red);
    border-color: var(--color-brand-red);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -6px;
    left: -6px;
    background: var(--color-gold);
    color: var(--color-bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(220, 20, 60, 0.08), transparent 70%);
    pointer-events: none;
}

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

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.title-highlight {
    font-size: 1.25rem;
    color: var(--color-gold);
    font-weight: 600;
}

.title-main {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--color-text-light), var(--color-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--color-brand-red);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background: var(--color-brand-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-light);
}

.btn-outline:hover {
    border-color: var(--color-gold);
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.btn-gold:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--color-text-light);
    color: var(--color-text-light);
}

.btn-outline-light:hover {
    background: var(--color-text-light);
    color: var(--color-bg-dark);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-brand-red);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.hero-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-bg-card);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.badge-icon {
    width: 32px;
    height: 32px;
    background: var(--color-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.badge-text {
    font-weight: 600;
    color: var(--color-text-light);
}

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

.categories-section {
    padding: 5rem 0;
    background: var(--color-bg-darker);
}

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

.category-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-brand-red);
    box-shadow: 0 12px 40px rgba(220, 20, 60, 0.2);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-icon svg {
    color: var(--color-gold);
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-light);
}

.category-desc {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.category-link {
    color: var(--color-brand-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.category-card:hover .category-link {
    color: var(--color-gold);
}

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

.featured-products {
    padding: 5rem 0;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    list-style: none;
}

.woocommerce ul.products li.product {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    border-color: var(--color-brand-red);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.125rem;
    padding: 1rem 1rem 0.5rem;
    color: var(--color-text-light);
}

.woocommerce ul.products li.product .price {
    padding: 0 1rem 1rem;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.25rem;
}

.woocommerce ul.products li.product .button {
    width: 100%;
    background: var(--color-brand-red);
    color: var(--color-text-light);
    border: none;
    padding: 0.875rem;
    font-weight: 600;
    border-radius: 0;
    transition: background 0.3s ease;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--color-brand-red-dark);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-section {
    padding: 5rem 0;
    background: var(--color-bg-darker);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 1.125rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    padding: 5rem 0;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-brand-red);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--color-brand-red);
    border-color: var(--color-brand-red);
    color: var(--color-text-light);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-light);
}

.feature-desc {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: 5rem 0;
    background: var(--color-bg-darker);
}

.cta-card {
    background: linear-gradient(135deg, var(--color-brand-red), var(--color-brand-red-dark));
    border-radius: 20px;
    padding: 4rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.3);
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-light);
}

.cta-desc {
    color: rgba(248, 250, 252, 0.9);
    font-size: 1.125rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

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

.site-footer {
    background: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-title {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-brand-red);
    border-color: var(--color-brand-red);
    color: var(--color-text-light);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-brand-red);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--color-gold);
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

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

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-top-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

/* Footer trust seal slot and full address. */
.contact-info { flex-wrap: wrap; }
.location { min-width: 0; }
.location svg { flex-shrink: 0; }
.enamad-slot { width: 150px; min-height: 150px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; padding: 10px; box-sizing: border-box; }
.enamad-placeholder { color: #64748b; font-size: 13px; }
.enamad-widget { width: 100%; text-align: center; }
.enamad-slot a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 130px; color: #245580; text-align: center; }
.enamad-slot img { display: block; max-width: 125px; height: auto; color: #245580; font-size: 12px; }
.enamad-link-label { display: block; font-size: 12px; line-height: 1.8; text-decoration: underline; text-underline-offset: 3px; }
.enamad-slot a:focus-visible { outline: 2px solid #245580; outline-offset: 4px; border-radius: 4px; }
.enamad-widget-title { display: block; color: #334155; }

/* Keep all product categories usable in the sticky header. */
.nav-menu { flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; padding: 0; }
.nav-menu li a { display: inline-block; white-space: nowrap; }
@media (max-width: 768px) {
    .main-navigation { position: relative; }
    .nav-menu.active { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; right: 0; width: min(280px, 80vw); max-height: 65vh; overflow-y: auto; background: var(--color-bg-darker); padding: 1rem; border: 1px solid var(--color-border); border-radius: 12px; z-index: 1001; }
}
.woocommerce ul.products li.product .price{display:block;line-height:1.8;text-align:center;overflow-wrap:anywhere}.woocommerce ul.products li.product .button{display:block;box-sizing:border-box;text-align:center;line-height:1.6;margin:0;white-space:normal}
