﻿/* Home page specific styles */

/* Enhanced Hero Section Styles */
.hero-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 171, 193, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(31, 79, 81, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-title {
    line-height: 1.2;
    color: #2c3e50;
}

.hero-subtitle {
    color: #5a6c7d;
    font-size: 1.2rem;
}

.trust-badge .badge {
    font-size: 0.9rem;
    border-radius: 25px;
}

.hero-benefits {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 171, 193, 0.1);
}

.hero-ctas .btn {
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-ctas .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-urgency {
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    border-left: 4px solid #ffc107;
}

/* Hero Image Enhancements */
.hero-image-container {
    position: relative;
}

.hero-main-image {
    transition: transform 0.3s ease;
    border-radius: 16px !important;
}

.hero-main-image:hover {
    transform: scale(1.02);
}

.floating-badge {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.floating-badge-1 {
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.floating-badge-2 {
    bottom: 20px;
    left: 20px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-badge .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.image-gallery-preview {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
}

.gallery-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    transition: transform 0.2s ease;
}

.gallery-thumb:hover {
    transform: scale(1.1);
    border-color: #00abc1;
}

/* Product Card Styles */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.product-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
}

.product-card .card-title {
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em; /* ~2 lines */
}

.product-card .card-text {
    font-size: 1rem;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.6em; /* ~3 lines */
}

.price-display {
    font-size: 0.95rem;
}

/* Social Proof Styles */
.trust-indicators {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 171, 193, 0.1);
}

.trust-item {
    min-width: 120px;
}

.trust-number {
    color: #00abc1;
    line-height: 1;
}

.trust-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #e9ecef, transparent);
}

.trust-stars {
    font-size: 1.2rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 171, 193, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00abc1, #1f4f51);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar img {
    object-fit: cover;
    border: 3px solid #e9ecef;
}

.testimonial-name {
    color: #2c3e50;
    font-size: 1.1rem;
}

.testimonial-role {
    font-size: 0.85rem;
}

.testimonial-rating {
    font-size: 0.9rem;
}

.testimonial-quote {
    font-style: italic;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: #00abc1;
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f8f9fa;
}

/* Social Proof Badges */
.social-proof-badges {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.badge-item {
    text-align: center;
    min-width: 120px;
}

.badge-item .badge {
    font-size: 0.85rem;
    border-radius: 25px;
    padding: 0.5rem 1rem;
}

/* Enhanced CTA Styles */
.cta {
    background: linear-gradient(135deg, #00abc1 0%, #1f4f51 100%);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-benefits {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-urgency .alert {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0;
}

.cta-actions .btn {
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-actions .btn-light {
    background: white;
    color: #00abc1;
    border: none;
}

.cta-actions .btn-light:hover {
    background: #f8f9fa;
    color: #1f4f51;
}

.cta-actions .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
}

.cta-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.cta-contact {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
}

.cta-trust-elements {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-element {
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.9rem;
}

.trust-element i {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Enhanced Product Showcase Styles */
.category-filters {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 171, 193, 0.1);
}

.filter-btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    color: #6c757d;
}

.filter-btn:hover {
    border-color: #00abc1;
    color: #00abc1;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #00abc1;
    border-color: #00abc1;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 171, 193, 0.3);
}

.product-image-container {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.product-image-container img {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-badges .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #000000 !important;
}

.product-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-hover-overlay {
    background: rgba(0, 171, 193, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.product-card:hover .product-hover-overlay {
    opacity: 1;
}

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-features .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.product-item {
    transition: all 0.3s ease;
}

.product-item.hidden {
    display: none;
}

.product-item.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .floating-badge {
        display: none;
    }
    
    .image-gallery-preview {
        position: static;
        margin-top: 1rem;
        align-self: center;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .trust-indicators {
        padding: 1.5rem;
    }
    
    .trust-item {
        min-width: 100px;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .social-proof-badges {
        padding: 1rem;
    }
    
    .badge-item {
        min-width: 100px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-benefits {
        padding: 0.75rem;
    }
    
    .hero-benefits .col-6 {
        margin-bottom: 0.5rem;
    }
    
    .trust-indicators {
        padding: 1rem;
        flex-direction: column;
        gap: 1.5rem !important;
    }
    
    .trust-divider {
        display: none !important;
    }
    
    .trust-item {
        min-width: auto;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
    }
    
    .social-proof-badges {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-benefits {
        padding: 0.75rem;
    }
    
    .cta-actions {
        text-align: center !important;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .cta-trust-elements {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .trust-element {
        justify-content: center;
    }
}

