/* =====================================
   SAHI Solution Fanpage Styles
   ===================================== */

/* Fanpage Hero Section */
.fanpage-hero {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.fanpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../photo/logo/logo.png') no-repeat center right;
    background-size: 400px;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.fanpage-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.fanpage-hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.fanpage-hero .hero-cta {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Social Proof Section */
.social-proof {
    background: var(--surface-soft);
    padding: 80px 0;
}

.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.social-proof-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-proof-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-orange);
}

.social-proof-icon {
    font-size: 4rem;
    color: var(--brand-orange);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.social-proof-card:hover .social-proof-icon {
    transform: scale(1.1);
    color: var(--brand-orange-strong);
}

.social-proof-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.social-proof-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-strong) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

/* Button Styles */
.btn-facebook {
    background: #1877f2;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.btn-zalo {
    background: #0068ff;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.3);
}

.btn-zalo:hover {
    background: #0056d6;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 104, 255, 0.4);
}

.btn-phone {
    background: var(--brand-blue);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(17, 57, 108, 0.3);
}

.btn-phone:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(17, 57, 108, 0.4);
}

/* Enhanced Product Cards */
.products .product-card {
    transition: var(--transition);
    border: 2px solid transparent;
}

.products .product-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-orange);
    box-shadow: var(--shadow-lg);
}

.products .product-card .product-image {
    overflow: hidden;
}

.products .product-card:hover .product-image img {
    transform: scale(1.05);
}

.products .product-card .product-image img {
    transition: transform 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fanpage-hero {
        padding: 60px 0;
    }
    
    .fanpage-hero h1 {
        font-size: 2.5rem;
    }
    
    .fanpage-hero p {
        font-size: 1.1rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-facebook,
    .btn-zalo,
    .btn-phone {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .social-proof-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .social-proof-card {
        padding: 30px 20px;
    }
    
    .social-proof-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .fanpage-hero h1 {
        font-size: 2rem;
    }
    
    .fanpage-hero p {
        font-size: 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .social-proof {
        padding: 60px 0;
    }
    
    .social-proof-grid {
        gap: 20px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Enhanced Hover Effects */
.social-proof-card,
.products .product-card {
    cursor: pointer;
}

.social-proof-card:active,
.products .product-card:active {
    transform: scale(0.98);
}

/* Loading States */
.btn-facebook:disabled,
.btn-zalo:disabled,
.btn-phone:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Focus States for Accessibility */
.btn-facebook:focus,
.btn-zalo:focus,
.btn-phone:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .fanpage-hero,
    .cta-section {
        background: white !important;
        color: black !important;
    }
    
    .btn-facebook,
    .btn-zalo,
    .btn-phone {
        border: 1px solid black;
        color: black;
        background: white;
    }
}







