/**
 * Custom Theme Styles
 * 
 * @package Slimster
 */

/* Utility Classes */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.pt-6 {
    padding-top: 4rem;
}

.pb-6 {
    padding-bottom: 4rem;
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Hero Section */
.hero-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-section > .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.hero-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* USP Cards */
.slimster-usps .card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slimster-usps .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color, #007bff);
}

.card-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-color, #007bff);
}

/* Product Cards */
.card--nav-block {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.card--nav-block:hover {
    transform: scale(1.05);
}

.card--nav-block .card-img-top {
    overflow: hidden;
    height: 200px;
}

.card--nav-block .card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card--nav-block:hover .card-img-top img {
    transform: scale(1.1);
}

.card--nav-block .card-footer {
    background: var(--primary-color, #007bff);
    color: white;
    text-decoration: none;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.card--nav-block .card-footer:hover {
    background: var(--primary-dark, #0056b3);
}

/* CTA Section */
.cta-section {
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-section.bg-primary {
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Features Grid */
.feature-card {
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color, #007bff);
}

.feature-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-color, #007bff);
}

/* Testimonials */
.testimonial-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
    color: #ffc107;
}

.testimonial-text {
    font-style: italic;
    border-left: 4px solid var(--primary-color, #007bff);
    padding-left: 1rem;
    margin: 0;
}

/* Footer */
.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: white;
}

.social-links a {
    font-size: 1.5rem;
    color: white;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .hero-form-wrapper {
        margin-top: 2rem;
    }
}

/* Background Colors */
.bg-light {
    background-color: #f8f9fa;
}

.bg-dark {
    background-color: #212529;
    color: white;
}

.bg-primary {
    background-color: var(--primary-color, #007bff);
    color: white;
}

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

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