/* ==========================================================================
   Digital Marketing for Sustainable Brands - Main CSS
   ========================================================================== */

/* Color Palette - Pastel High-Contrast Colors */
:root {
    /* Primary Colors */
    --eco-green: #66b2b5;
    --sage-green: #a8c686;
    --earth-brown: #8b7355;
    --sky-blue: #87ceeb;
    --coral-pink: #f08080;
    
    /* Light Shades */
    --eco-green-light: #b3d9db;
    --sage-green-light: #d4e3c3;
    --earth-brown-light: #c5b99a;
    --sky-blue-light: #c3e7f5;
    --coral-pink-light: #f8c0c0;
    
    /* Dark Shades */
    --eco-green-dark: #4d8689;
    --sage-green-dark: #7e9464;
    --earth-brown-dark: #68553f;
    --sky-blue-dark: #69b7d1;
    --coral-pink-dark: #e66060;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
}

/* Base Typography - Conservative Sizes */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Conservative Heading Sizes */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--eco-green-dark);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--eco-green-dark);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--sage-green-dark);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--earth-brown-dark);
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

/* Conservative Paragraph Sizes */
p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* Header & Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--eco-green-dark);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--eco-green-light) 0%, var(--sage-green-light) 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--eco-green-dark);
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    color: var(--sage-green-dark);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 500px;
}

/* Button Styles */
.btn-primary {
    background-color: var(--eco-green);
    border-color: var(--eco-green);
    color: var(--white);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

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

.btn-secondary {
    background-color: var(--sage-green);
    border-color: var(--sage-green);
    color: var(--white);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

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

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-body {
    padding: 2rem;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--eco-green-dark);
    margin-top: 1rem;
}

.pricing-card.featured {
    border: 3px solid var(--eco-green);
    transform: scale(1.05);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--eco-green-dark);
    margin: 1.5rem 0;
}

/* Feature Boxes */
.feature-card, .feature-box {
    padding: 2rem;
    border-radius: 15px;
    background-color: var(--light-gray);
    transition: background-color 0.3s ease;
}

.feature-card:hover, .feature-box:hover {
    background-color: var(--eco-green-light);
}

.feature-card i, .feature-box i {
    color: var(--eco-green);
}

/* Team Section */
.team-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--eco-green-light);
    transition: border-color 0.3s ease;
}

.team-member:hover .team-photo {
    border-color: var(--eco-green);
}

/* Reviews */
.review-card {
    background-color: var(--light-gray);
    border-left: 4px solid var(--coral-pink);
}

.review-card .card-body {
    padding: 2rem;
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--eco-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Forms */
.contact-form .form-control {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--eco-green);
    box-shadow: 0 0 0 0.2rem rgba(102, 178, 181, 0.25);
}

.contact-info .contact-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--eco-green);
}

/* FAQ */
.faq-card {
    border-left: 4px solid var(--sky-blue);
    margin-bottom: 1rem;
}

.faq-card .card-body {
    padding: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--eco-green-light);
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 1rem 0;
    background-color: var(--light-gray);
    margin-top: 76px;
}

.breadcrumb-icon {
    max-width: 30px;
    height: auto;
}

/* Space Page */
.space-container {
    min-height: 60vh;
    padding: 4rem 0;
    background-color: var(--light-gray);
    margin-top: 76px;
}

/* Gallery */
#gallery img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Blog Cards */
.blog-card {
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
}

/* Icons */
.fas, .fab {
    transition: color 0.3s ease;
}

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

/* Conservative Mobile Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--eco-green);
    outline-offset: 2px;
}

/* Performance Optimizations */
.img-fluid {
    height: auto;
    max-width: 100%;
}

/* Additional Page Specific Styles */
.strategy-item,
.solution-card,
.content-method,
.metric-card,
.future-strategy,
.brand-element,
.conversion-step,
.social-strategy,
.email-feature,
.partnership-type {
    transition: all 0.3s ease;
}

.strategy-item:hover,
.content-method:hover,
.future-strategy:hover,
.brand-element:hover,
.social-strategy:hover,
.partnership-type:hover {
    transform: translateY(-3px);
}

/* Career Cards */
.career-card,
.case-study-card,
.info-card {
    transition: transform 0.3s ease;
}

.career-card:hover,
.case-study-card:hover {
    transform: translateY(-3px);
}

/* Timeline Items */
.timeline-item {
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.timeline-item h5 {
    color: var(--eco-green-dark);
    margin-bottom: 0.5rem;
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

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

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

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

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

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

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

.x-link i {
    display: none;
}

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