/* BasketCraft - Main CSS */

/* Color Palette Variables */
:root {
    --primary-color: #8B4513;
    --primary-light: #A0522D;
    --primary-dark: #654321;
    
    --secondary-color: #DEB887;
    --secondary-light: #F5DEB3;
    --secondary-dark: #CD853F;
    
    --accent-color: #228B22;
    --accent-light: #32CD32;
    --accent-dark: #006400;
    
    --neutral-color: #F5F5DC;
    --neutral-light: #FFFAF0;
    --neutral-dark: #D2B48C;
    
    --earth-color: #D2691E;
    --earth-light: #FF7F50;
    --earth-dark: #A0522D;
    
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
}

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

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
}

.display-4 {
    font-size: 2.5rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

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

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

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

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

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
    transform: rotate(-15deg);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 5rem 0;
}

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

/* Services Section */
#services .card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

#services .card:hover {
    border-color: var(--primary-color);
}

/* Team Section */
#team img {
    transition: transform 0.3s ease;
}

#team img:hover {
    transform: scale(1.1);
}

/* Reviews Section */
#reviews .fas.fa-star {
    color: var(--earth-color);
}

/* Gallery Section */
#gallery img {
    transition: all 0.3s ease;
    border-radius: 8px;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Process Section */
#process .bg-primary {
    background-color: var(--primary-color);
}

/* Contact Form */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--neutral-dark);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

/* Footer */
#footer {
    background-color: #1a1a1a !important; /* Maximum contrast dark background */
    color: #f0f0f0 !important; /* Light text for better readability */
}

#footer h5, #footer h6 {
    color: #ffffff !important; /* White for headings - maximum contrast */
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
}

#footer p, #footer li {
    color: #f0f0f0 !important; /* Light gray for paragraph text */
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
}

#footer small, #footer .small {
    color: #e0e0e0 !important; /* Slightly darker but still highly visible */
}

#footer a {
    color: #93c5fd !important; /* Light blue for links - high contrast against dark */
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
    padding: 0.2rem 0 !important;
}

#footer a:hover, #footer a:focus {
    color: #dbeafe !important; /* Even lighter blue on hover/focus */
    text-decoration: underline !important;
}

#footer a:focus {
    outline: 2px solid #ffffff !important; /* White outline for keyboard navigation */
    outline-offset: 2px !important;
}

#footer ul li {
    margin-bottom: 0.75rem !important; /* Increased spacing between list items */
}

/* Ensure all elements in footer are visible */
#footer * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Additional Page Sections */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border: none;
    margin: 3rem 0;
}

/* Price Plan Highlights */
#priceplan .border-primary {
    position: relative;
}

#priceplan .border-primary::before {
    content: 'POPULAR';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Icon Styling */
.fa-2x {
    color: var(--primary-color);
}

.fa-3x {
    color: var(--primary-color);
}

/* Custom Shapes */
.shape-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.shape-blob-1 {
    width: 300px;
    height: 300px;
    background-color: var(--accent-color);
    top: 10%;
    left: -5%;
}

.shape-blob-2 {
    width: 200px;
    height: 200px;
    background-color: var(--earth-color);
    bottom: 20%;
    right: -3%;
} 


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

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
