/* Custom Tailwind Configuration for Green Up Labs Solarpunk Palette */
/* Fonts are loaded via <link> in HTML for better compatibility */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&family=Outfit:wght@300;400;500;600&display=swap'); */

/* Tailwind Custom Colors and Configuration */
:root {
    /* Solarpunk Palette */
    --primary-forest: #0F3D2E;
    /* Deeper, richer green */
    --secondary-sage: #8ABF9E;
    /* Softer sage */
    --accent-teal: #00F0FF;
    /* Cyberpunk teal for high-tech feel */
    --accent-gold: #F59E0B;
    /* Warm amber for Trip/Culture */
    --accent-coral: #FF6B6B;
    /* Vibrant coral for Youth/Passion */

    /* New Page Specific Accents */
    --accent-tech: #EF4444;
    /* Vibrant Red for Tech */
    --accent-consulting: #3B82F6;
    /* Professional Blue for Consulting */
    --accent-trip: #F97316;
    /* Energetic Orange for Trip */
    --accent-youth: #b8cdb2;
    /* Soft Sage for Youth (User Request) */

    --bg-cream: #F5F9F6;
    /* Very light minty cream */
    --bg-gradient-start: #F5F9F6;
    --bg-gradient-end: #E0F2E9;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --glass-blur: blur(12px);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    /* More modern, tech-friendly font */
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: #052016;
    /* Darker than primary-forest for better readability */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.font-heading {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
}

.font-body {
    font-family: 'Outfit', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-forest);
}

/* Universal Image Handling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Glassmorphism Effects - Refined */
.glass-card,
.glass-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.5rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-card:hover,
.glass-btn:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 45px rgba(15, 61, 46, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

/* CTA Gradient Button - Solarpunk Style */
.cta-gradient {
    background: linear-gradient(135deg, #00C9FF 0%, #92FE9D 100%);
    /* Teal to Green gradient */
    color: #004d40;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.3);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #92FE9D 0%, #00C9FF 100%);
    /* Reverse gradient */
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 201, 255, 0.5);
}

.cta-gradient:hover::before {
    opacity: 1;
}

/* Page-Specific CTA Gradients */

/* Consulting - Blue Theme */
.cta-gradient-consulting {
    background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
    color: #0c4a6e;
    text-shadow: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-gradient-consulting::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-gradient-consulting:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.cta-gradient-consulting:hover::before {
    opacity: 1;
}

/* Tech - Red Theme */
.cta-gradient-tech {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFC371 100%);
    color: #450a0a;
    text-shadow: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-gradient-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFC371 0%, #FF6B6B 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-gradient-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
}

.cta-gradient-tech:hover::before {
    opacity: 1;
}

/* Trip - Orange Theme */
.cta-gradient-trip {
    background: linear-gradient(135deg, #F2994A 0%, #F2C94C 100%);
    color: #431407;
    text-shadow: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-gradient-trip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F2C94C 0%, #F2994A 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-gradient-trip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.6);
}

.cta-gradient-trip:hover::before {
    opacity: 1;
}

/* Youth - Sage Theme */
.cta-gradient-youth {
    background: linear-gradient(135deg, #D4FC79 0%, #96E6A1 100%);
    color: #0F3D2E;
    /* Dark Green Text for contrast */
    text-shadow: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 205, 178, 0.4);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-gradient-youth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #96E6A1 0%, #D4FC79 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-gradient-youth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 205, 178, 0.6);
}

.cta-gradient-youth:hover::before {
    opacity: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0 0 3rem 3rem;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
    -o-object-position: center;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 61, 46, 0.85), rgba(15, 61, 46, 0.6));
    z-index: -1;
}

/* Masonry Grid for Images */
.masonry-grid {
    column-count: 1;
    column-gap: 2rem;
}

@media (min-width: 640px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        column-count: 2;
        /* Changed from 3 to 2 for larger images */
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    /* Increased from 1.5rem */
    border-radius: 1.25rem;
    /* Slightly larger border radius */
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    /* Enhanced shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-item:hover {
    transform: scale(1.03);
    /* Increased from 1.02 */
    z-index: 10;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    /* Enhanced shadow on hover */
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    -o-object-fit: cover;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.08);
    /* Increased from 1.05 */
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 7s ease-in-out infinite 1s;
}

/* Navigation */
.nav-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Feature Cards */
.feature-card-icon {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(138, 191, 158, 0.1));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.glass-card:hover .feature-card-icon {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(138, 191, 158, 0.2));
    transform: rotate(10deg);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: #C1D9CE;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-sage);
}

/* Mobile Menu */
.mobile-menu-enter {
    transform: translateY(-100%);
    opacity: 0;
}

.mobile-menu-enter-active {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease-out;
}

.mobile-menu-exit {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-exit-active {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease-in;
}

/* Infinite Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
    width: max-content;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Page-Specific Soft Shadows */
.shadow-soft-tech {
    box-shadow: 0 10px 40px -10px rgba(239, 68, 68, 0.3);
}

.shadow-soft-consulting {
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.3);
}

.shadow-soft-trip {
    box-shadow: 0 10px 40px -10px rgba(249, 115, 22, 0.3);
}

.shadow-soft-youth {
    box-shadow: 0 10px 40px -10px rgba(184, 205, 178, 0.3);
}