/* =============================================
   SHASASCARVES - PUBLIC PAGES STYLES
   ============================================= */

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */
.section-padding {
    padding: 3rem 0;
}

.section-label {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    background: var(--accent-light);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-xl);
    margin-bottom: 0.75rem;
}

.section-title {
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--font-size-base);
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
    position: relative;
    min-height: 120vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 0.35rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 480px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    padding: 0.3rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   POPULAR CATEGORIES
   ============================================ */
.popular-categories {
    background: var(--white);
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */
.featured-products {
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--white) 100%);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--white);
}

/* ============================================
   CTA / NEWSLETTER
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-wrapper {
    position: relative;
    z-index: 1;
}

.cta-heading {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-text {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input-group .form-control {
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-primary);
    padding: 0.75rem 1.25rem;
}

.newsletter-input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input-group .form-control:focus {
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(228, 175, 90, 0.2);
}

.newsletter-input-group .btn-accent {
    white-space: nowrap;
}

.newsletter-message {
    margin-top: 0.5rem;
    font-size: var(--font-size-sm);
}

/* ============================================
   CATEGORY CARD
   ============================================ */
.category-card {
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-4px);
}

.category-card .card-title {
    font-size: var(--font-size-base);
    font-weight: 600;
}

/* ============================================
   TESTIMONIAL CARD
   ============================================ */
.testimonial-card {
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg) !important;
}

.stars i {
    font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    margin-top: auto;
}

.footer h5 {
    color: var(--white);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--white);
}

.footer .list-unstyled li {
    color: var(--gray-400);
}

.footer .footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    text-align: center;
    font-size: var(--font-size-sm);
}

.footer .footer-bottom a {
    color: var(--gray-500);
}

.footer .footer-bottom a:hover {
    color: var(--white);
}

/* ============================================
   TESTIMONIAL BUBBLE CHAT
   ============================================ */
.testimonial-bubble {
    background: var(--white);
    border-radius: 20px 20px 20px 6px;
    padding: 1.25rem;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 18px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--white);
}

.testimonial-bubble:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Header: Avatar + Name (left) | Stars (right) */
.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-stars {
    display: flex;
    gap: 0.15rem;
    flex-shrink: 0;
}

.testimonial-stars i {
    color: #FFB800;
    font-size: 0.75rem;
}

/* Product */
.testimonial-product {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    padding: 0.6rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    transition: background var(--transition-fast);
}

.testimonial-product:hover {
    background: var(--accent-light);
}

.testimonial-product-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--gray-200);
    flex-shrink: 0;
    background: var(--white);
}

.testimonial-product-info {
    flex: 1;
    min-width: 0;
}

.testimonial-product-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
}

.testimonial-product-variant {
    font-size: 0.7rem;
    color: var(--gray-500);
    margin-top: 0.1rem;
}

/* Note */
.testimonial-note {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-light);
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .hero-banner {
        min-height: 60vh;
    }
    .hero-title {
        font-size: var(--font-size-4xl);
    }
}

@media (max-width: 767.98px) {
    .hero-banner {
        min-height: 70vh;
    }
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    .hero-actions {
        flex-direction: column;
    }
    .section-padding {
        padding: 2rem 0;
    }
    .section-title {
        font-size: var(--font-size-2xl);
    }
    .cta-heading {
        font-size: var(--font-size-2xl);
        margin-bottom: 1rem;
    }
    .newsletter-input-group {
        flex-direction: column;
    }
}