/* Custom CSS for Feelinku Website */

:root {
    --primary-color: #2e508f;
    --secondary-color: #f8f9fa;
    --accent-color: #ffc107;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Banner Section */
.banner-section {
    position: relative;
    overflow: hidden;
}

.banner-slide {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-slide-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a6f 100%);
}

.banner-slide-2 {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a6f 100%);
}

/* Cards */
.product-card,
.promo-card,
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-card:hover,
.promo-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-card .card-img-top,
.promo-card .card-img-top,
.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.featured-news-card .card-img-top {
    height: 400px;
    object-fit: cover;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e3a6f;
    border-color: #1e3a6f;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a6f 100%);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Counter */
.counter {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-slide {
        height: 300px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .featured-news-card .card-img-top {
        height: 250px;
    }
    
    .product-card .card-img-top,
    .promo-card .card-img-top,
    .news-card .card-img-top {
        height: 150px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3a6f;
}

/* Newsletter Form */
.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Badge Styling */
.badge {
    font-weight: 500;
}

/* List Styling */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Text Utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

/* Card Footer */
.card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Section Spacing */
section {
    position: relative;
}

/* Hover Effects */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
}

/* Image Placeholder */
.img-placeholder {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}