/* ==========================================
   SnackWorld - Main CSS
   International Snacks Subscription Template
   ========================================== */

/* CSS Variables - Color Palette */
:root {
    /* Primary Colors */
    --primary-color: #ff6b47;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --success-color: #95e1a3;
    --info-color: #7fb3d3;
    
    /* Light/Dark Shades */
    --light-bg: #fafafa;
    --dark-bg: #2c3e50;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    
    /* Bootstrap Override */
    --bs-primary: #ff6b47;
    --bs-secondary: #4ecdc4;
    --bs-success: #95e1a3;
    --bs-info: #7fb3d3;
    --bs-warning: #ffe66d;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.display-1 { font-size: 3rem; }
.display-4 { font-size: 2.5rem; }
.display-5 { font-size: 2rem; }

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-shapes .shape-1 {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shapes .shape-2 {
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Badge Styles */
.badge {
    border-radius: 6px;
    font-weight: 600;
}

/* Icon Styles */
.fas, .far {
    color: var(--primary-color);
}

/* Team Section */
.team img {
    border: 4px solid var(--light-bg);
    transition: transform 0.3s ease;
}

.team img:hover {
    transform: scale(1.05);
}

/* Reviews Section */
.reviews .card {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
}

/* Gallery Section */
.gallery img {
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* FAQ Section */
.faq .card {
    border-left: 4px solid var(--primary-color);
    background: #ffffff;
}

/* Contact Form */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 71, 0.25);
}

/* Footer */
footer {
    background: var(--dark-bg);
}

footer a {
    transition: color 0.3s ease;
}

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

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

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

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Animation Support */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: grayscale(0.5);
    transition: filter 0.3s ease;
}

.breadcrumb-item img:hover {
    filter: grayscale(0);
}

/* Service Items Grid */
.services-grid .card {
    height: 100%;
}

/* Price Plan Cards */
.priceplan .card {
    position: relative;
    overflow: hidden;
}

.priceplan .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.priceplan .card:hover::before {
    left: 100%;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    /* Disable animations on mobile for better performance */
    [data-sal] {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--text-dark);
    }
    
    .hero-shapes .shape-1,
    .hero-shapes .shape-2 {
        display: none;
    }
} 

.hero-section h1 {
    padding-top: 125px;
}


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.instagram-link:hover {
    background: #e4405f;
    border-color: #e4405f;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
