/* Ethical Travel Curator - Main CSS */

:root {
    /* Primary Color Palette - Pastel High-Contrast Colors */
    --primary-green: #4a9b8e;
    --primary-green-light: #6db5a7;
    --primary-green-dark: #3a7c71;
    
    --secondary-blue: #5a87c4;
    --secondary-blue-light: #7ba3d4;
    --secondary-blue-dark: #456a9a;
    
    --accent-coral: #e07a5f;
    --accent-coral-light: #e89982;
    --accent-coral-dark: #c85d3f;
    
    --neutral-sage: #a8b5a0;
    --neutral-sage-light: #bcc7b5;
    --neutral-sage-dark: #8a9682;
    
    --warm-cream: #f4f3ee;
    --warm-cream-light: #f8f7f4;
    --warm-cream-dark: #e8e6e0;
    
    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #5d6d7e;
    --text-muted: #7f8c8d;
}

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

/* Conservative Typography */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green);
}

h1, .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

h2, .h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

h5, .h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

p, .lead {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.small {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Header Styles */
.navbar {
    background-color: var(--warm-cream) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

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

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: var(--primary-green);
    opacity: 0.1;
    border-radius: 50%;
    transform: rotate(-15deg);
    z-index: 1;
}

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

/* Section Backgrounds */
.bg-light {
    background-color: var(--warm-cream-light) !important;
}

section {
    position: relative;
}

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

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

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

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

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

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Icons */
.fa-3x {
    font-size: 2.5rem;
}

.text-success {
    color: var(--primary-green) !important;
}

.text-primary {
    color: var(--secondary-blue) !important;
}

.text-warning {
    color: var(--accent-coral) !important;
}

.text-info {
    color: var(--secondary-blue-light) !important;
}

.text-danger {
    color: var(--accent-coral-dark) !important;
}

/* Team Images */
.rounded-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--primary-green);
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    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(74, 155, 142, 0.25);
}

/* Contact Info */
.contact-info {
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-info i {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--text-primary) !important;
    color: var(--warm-cream);
}

footer h5, footer h6 {
    color: var(--warm-cream);
    margin-bottom: 1rem;
}

footer a {
    color: var(--warm-cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Gallery */
#gallery img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

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

/* Process Steps */
.bg-primary {
    background-color: var(--primary-green) !important;
}

/* Breadcrumb */
.breadcrumb-icon {
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section::before {
        display: none;
    }
    
    h1, .display-4 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    .rounded-circle {
        width: 100px;
        height: 100px;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

/* Accessibility - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .card:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* Sal.js Animation Overrides */
[data-sal] {
    transition-duration: 0.5s;
}

@media (max-width: 768px) {
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--text-primary);
    }
    
    .btn-primary {
        border: 2px solid var(--text-primary);
    }
} 

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


/* 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;
    }
}
