/* Custom Styles for SasquatchGTM Bootstrap Site */

/* Color Variables - Dark Green & Purple Theme */
:root {
    --primary-green: #1a5f3d;
    --secondary-green: #2d6a4f;
    --primary-purple: #7b2cbf;
    --secondary-purple: #9d4edd;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

/* Brand Styling */
.logo-container {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar-brand:hover .logo-container {
    transform: scale(1.05);
}

.brand-text {
    font-weight: 900;
}

.brand-sasquatch {
    color: #212529;
    font-size: 1.5rem;
}

.brand-gtm {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

/* Navbar Enhancements */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-purple) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-purple) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(123, 44, 191, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45, 106, 79, 0.3) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.hero-title {
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Custom Bootstrap Button Colors */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-purple) 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(123, 44, 191, 0.3);
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #ffb300;
    border-color: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
    color: #212529;
}

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

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

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

/* Card Enhancements */
.card {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Padding */
section {
    scroll-margin-top: 70px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Footer Links Hover */
footer a:hover {
    color: white !important;
    transition: color 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
}

/* Loading State */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Navbar Brand Hover */
.navbar-brand:hover .brand-gtm {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive logo sizing */
@media (max-width: 576px) {
    .logo-container {
        width: 50px;
        height: 50px;
    }

    .brand-sasquatch,
    .brand-gtm {
        font-size: 1.2rem;
    }
}

/* Custom Gradient Background Utility */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-purple) 100%);
}

/* Shadow Utilities Enhancement */
.shadow-sm {
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

/* Service Icons Color on Hover */
.service-card:hover .bi {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Animation Classes */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Link Underline Animation */
.text-decoration-none:hover {
    text-decoration: underline !important;
}

/* Navbar Toggle Icon Color */
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 95, 61, 0.25);
}

/* Spinning Globe */
.globe-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    opacity: 0.2;
    z-index: 1;
}

#globeCanvas {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

/* Sasquatch Graphic */
.sasquatch-graphic {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 200px;
    z-index: 999;
    opacity: 0.85;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sasquatch-graphic:hover {
    transform: scale(1.08);
    opacity: 1;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.sasquatch-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive adjustments for globe and sasquatch */
@media (max-width: 768px) {
    .globe-container {
        width: 300px;
        height: 300px;
    }

    .sasquatch-graphic {
        width: 140px;
        height: 140px;
        bottom: 10px;
        right: 10px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .globe-container {
        width: 200px;
        height: 200px;
    }

    .sasquatch-graphic {
        width: 100px;
        height: 100px;
        padding: 6px;
    }
}
