/* ===== CSS VARIABLES - 5 PRIMARY COLORS + VARIATIONS ===== */
:root {
    /* Primary Color Palette */
    --primary-color: #744836;        /* Warm Brown */
    --secondary-color: #f7c88b;      /* Golden Spice */
    --tertiary-color: #8fb065;       /* Fresh Sage */
    --quaternary-color: #c07b71;     /* Paprika Red */
    --quinary-color: #f5e2c3;        /* Cream White */
    
    /* Light Variations */
    --primary-light: #cf9983;
    --secondary-light: #fde3ac;
    --tertiary-light: #bcc79f;
    --quaternary-light: #ec9189;
    --quinary-light: #fcfcfc;
    
    /* Dark Variations */
    --primary-dark: #593e25;
    --secondary-dark: #daad6d;
    --tertiary-dark: #afc87e;
    --quaternary-dark: #a85e57;
    --quinary-dark: #d7bea2;
    
    /* Functional Colors */
    --text-dark: #232222;
    --text-light: #FFFFFF;
    --text-muted: #728192;
    --success: var(--tertiary-color);
    --warning: var(--secondary-color);
    --danger: var(--quaternary-color);
    --info: #27bdc7;
    
    /* Conservative Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --container-padding: 1rem;
    
    /* Border Radius */
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FFFFFF;
}

/* Conservative Font Sizes Override */
.navbar-brand {
    font-size: var(--font-size-xl) !important;
    font-weight: 600;
}

h1 {
    font-size: var(--font-size-3xl) !important;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: var(--font-size-2xl) !important;
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    font-size: var(--font-size-xl) !important;
    font-weight: 500;
}

h4 {
    font-size: var(--font-size-lg) !important;
    font-weight: 500;
}

h5, h6 {
    font-size: var(--font-size-base) !important;
    font-weight: 500;
}

p {
    font-size: var(--font-size-base) !important;
    margin-bottom: 1rem;
}

.lead {
    font-size: var(--font-size-lg) !important;
    font-weight: 400;
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    color: var(--text-light) !important;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.40s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-light) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--quinary-color) 0%, var(--quinary-light) 50%, var(--secondary-light) 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../SAF_images/hero-bg.webp') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.40s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.40s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.40s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.74rem;
}

/* ===== SECTIONS ===== */
section {
    padding: var(--section-padding);
}

.bg-light {
    background: linear-gradient(135deg, var(--quinary-light) 0%, #FFFFFF 100%) !important;
}

/* ===== FORM STYLES ===== */
.form-control {
    border: 2px solid #fbfbfb;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: var(--font-size-base);
    transition: all 0.40s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(127, 73, 45, 0.25);
}

.form-select {
    border: 2px solid #e5f3ff;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: all 0.40s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(144, 80, 52, 0.25);
}

/* ===== ACCORDION (FAQ) ===== */
.accordion-item {
    border: 1px solid #e2edff;
    border-radius: var(--border-radius) !important;
    margin-bottom: 0.74rem;
}

.accordion-button {
    background: var(--quinary-light);
    color: var(--primary-color);
    font-weight: 500;
    border: none;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(153, 107, 73, 0.25);
}

.accordion-body {
    padding: 1.25rem;
    background: #FFFFFF;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #292525 100%) !important;
    color: var(--text-light);
}

footer h5, footer h6 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a {
    color: #c1c8d2;
    text-decoration: none;
    transition: color 0.40s ease;
}

footer a:hover {
    color: var(--secondary-light);
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
}

.breadcrumb-item img {
    border-radius: var(--border-radius);
    opacity: 0.8;
    transition: opacity 0.40s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* ===== GALLERY ===== */
#gallery img {
    border-radius: var(--border-radius);
    transition: all 0.40s ease;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===== BADGES ===== */
.badge {
    font-size: var(--font-size-xs);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
}

.bg-primary {
    background: var(--primary-color) !important;
}

.bg-success {
    background: var(--tertiary-color) !important;
}

.bg-warning {
    background: var(--secondary-color) !important;
}

.bg-danger {
    background: var(--quaternary-color) !important;
}

/* ===== TEXT COLORS ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--tertiary-color) !important;
}

.text-warning {
    color: var(--secondary-color) !important;
}

.text-danger {
    color: var(--quaternary-color) !important;
}

/* ===== UTILITY CLASSES ===== */
.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.border-success {
    border-color: var(--tertiary-color) !important;
}

.border-warning {
    border-color: var(--secondary-color) !important;
}

.border-danger {
    border-color: var(--quaternary-color) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1.07s ease forwards;
}

/* ===== RESPONSIVE DESIGN HELPERS ===== */
@media (max-width: 768px) {
    :root {
        --font-size-3xl: 1.75rem;
        --font-size-2xl: 1.375rem;
        --section-padding: 3rem 0;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    #gallery img {
        height: 150px;
    }
}

/* ===== ACCESSIBILITY ===== */
@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;
    }
}

/* ===== FOCUS STYLES ===== */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        color: #000000 !important;
        background: #FFFFFF !important;
    }
} 

.hero-section h1 {
    padding-top: 150px;
}


/* 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;
}

.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;
    }
}
