/* ========================================
   EcoTunes - Main CSS
   Sustainable Merch for Indie Bands
   ======================================== */

/* Color Variables */
:root {
    --primary-green: #6fb77c;
    --primary-blue: #65c1e9;
    --primary-purple: #da5ede;
    --primary-orange: #ffbf63;
    --primary-pink: #f69eba;
    
    /* Light shades */
    --light-green: #c8f0c6;
    --light-blue: #a0c8f6;
    --light-purple: #ccadd7;
    --light-orange: #ffd5a9;
    --light-pink: #ffe0e6;
    
    /* Dark shades */
    --dark-green: #56b867;
    --dark-blue: #1369c7;
    --dark-purple: #7f21b3;
    --dark-orange: #fa8100;
    --dark-pink: #c4286a;
    
    /* Neutral colors */
    --gray-light: #F5F5F5;
    --gray-medium: #a19594;
    --gray-dark: #4b4746;
    --white: #FFFFFF;
    --black: #232222;
}

/* Body and Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    font-size: 16px;
}

/* Conservative font sizes - avoiding large sizes */
.navbar-brand {
    font-size: 1.34rem !important;
    color: var(--primary-green) !important;
    font-weight: 700;
}

h1, .h1 {
    font-size: 2.35rem;
    font-weight: 700;
    color: var(--gray-dark);
}

h2, .h2 {
    font-size: 1.97rem;
    font-weight: 600;
    color: var(--gray-dark);
}

h3, .h3 {
    font-size: 1.53rem;
    font-weight: 600;
}

h4, .h4 {
    font-size: 1.28rem;
    font-weight: 600;
}

h5, .h5 {
    font-size: 1.19rem;
    font-weight: 600;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.14rem;
    font-weight: 400;
}

/* Header Styling */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green) !important;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, var(--light-purple) 20%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(95, 190, 92, 0.30);
}

.btn-outline-primary {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-primary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Card Styling */
.card {
    border: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Section Backgrounds */
.bg-light {
    background-color: var(--gray-light) !important;
}

/* Services Section */
#services .card {
    height: 100%;
}

#services .card-body {
    padding: 1.5rem;
}

/* Team Section */
#team .card {
    border: none;
    background: transparent;
}

#team .card-img-top {
    border: 5px solid var(--light-green);
    transition: border-color 0.3s ease;
}

#team .card:hover .card-img-top {
    border-color: var(--primary-green);
}

/* Testimonials/Reviews */
#reviews .card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
}

/* Process Steps */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

/* Timeline */
#timeline .card {
    border-left: 4px solid;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Color Classes for Timeline */
.border-primary {
    border-color: var(--primary-blue) !important;
}

.border-success {
    border-color: var(--primary-green) !important;
}

.border-warning {
    border-color: var(--primary-orange) !important;
}

.border-info {
    border-color: var(--light-blue) !important;
}

.border-danger {
    border-color: var(--primary-pink) !important;
}

/* Contact Form */
#contact form {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--gray-light);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(152, 218, 157, 0.25);
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 0.5rem;
}

#gallery img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black) 100%);
}

/* Icon Colors */
.text-primary {
    color: var(--primary-blue) !important;
}

.text-success {
    color: var(--primary-green) !important;
}

.text-warning {
    color: var(--primary-orange) !important;
}

.text-info {
    color: var(--light-blue) !important;
}

.text-danger {
    color: var(--primary-pink) !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary-blue) !important;
}

.bg-success {
    background-color: var(--primary-green) !important;
}

.bg-warning {
    background-color: var(--primary-orange) !important;
}

.bg-info {
    background-color: var(--light-blue) !important;
}

.bg-danger {
    background-color: var(--primary-pink) !important;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Animations - respecting prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
    .card,
    .btn,
    .navbar-nav .nav-link,
    .form-control,
    #gallery img {
        transition: all 0.3s ease;
    }
    
    /* Subtle hover animations */
    .card:hover {
        transform: translateY(-3px);
    }
    
    .btn:hover {
        transform: translateY(-1px);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.rounded {
    border-radius: 0.5rem !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* Text Utilities */
.fw-bold {
    font-weight: 700 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.text-muted {
    color: var(--gray-medium) !important;
}

/* Spacing Adjustments */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.56rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

/* Custom Grid Classes for Process Section */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2-4 {
        width: 100%;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
} 


/* 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);
}

.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;
    }
}
