/* gggllass.com - Modern Architectural Glass Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #38bdf8;
    --accent: #f59e0b;
    --dark: #0f172a;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: clip;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle architectural grid pattern */
.bg-grid-pattern {
    background-image: radial-gradient(rgba(2, 132, 199, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
}

.bg-dot-pattern {
    background-image: radial-gradient(rgba(148, 163, 184, 0.25) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Glassmorphism 2.0 */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(2, 132, 199, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Glass reflection shine effect */
.glass-shine {
    position: relative;
    overflow: hidden;
}

.glass-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 70%
    );
    transform: rotate(25deg) translateY(-100%);
    transition: transform 0.75s ease-in-out;
}

.glass-shine:hover::after {
    transform: rotate(25deg) translateY(100%);
}

/* Scroll Animation System (Left, Right, Up, Scale, Fade) */
.reveal-left {
    opacity: 0;
    transform: translateX(-70px);
    filter: blur(4px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-right {
    opacity: 0;
    transform: translateX(70px);
    filter: blur(4px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(4px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(4px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-fade {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

/* Active revealed state */
.is-revealed {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
    filter: blur(0) !important;
}

/* Animation Delays */
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* Pulse animation for 24/7 status */
@keyframes softPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

.soft-pulse {
    animation: softPulse 2s infinite ease-in-out;
}

/* Floating animation for architectural badges */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: floatY 4s ease-in-out 2s infinite;
}

/* Sleek custom scrollbar */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Brand logo (PNG with transparent background) */
.site-logo {
    display: block;
    height: 2.5rem;
    width: auto;
    max-width: min(200px, 52vw);
    object-fit: contain;
}

@media (min-width: 640px) {
    .site-logo {
        height: 3rem;
        max-width: 240px;
    }
}

/* Projects page — card hero photos */
.project-card-media__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s ease;
}

.project-card.group:hover .project-card-media__img {
    transform: scale(1.06);
}

.project-card-media__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.75) 0%,
        rgba(15, 23, 42, 0.35) 45%,
        rgba(15, 23, 42, 0.15) 100%
    );
    pointer-events: none;
}

.project-card-media__overlay--emergency {
    background: linear-gradient(
        to top,
        rgba(76, 5, 25, 0.7) 0%,
        rgba(15, 23, 42, 0.4) 50%,
        rgba(15, 23, 42, 0.2) 100%
    );
}

/* ============================================================
   Desktop Hero Background Shapes (Architectural Glass Floating Elements)
   ============================================================ */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-16px) rotate(3deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(14px) rotate(-4deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.45;
        transform: scale(1);
    }
    50% {
        opacity: 0.75;
        transform: scale(1.08);
    }
}

.hero-shape-float-1 {
    animation: floatSlow 7s ease-in-out infinite;
}

.hero-shape-float-2 {
    animation: floatReverse 8s ease-in-out infinite;
}

.hero-shape-float-3 {
    animation: floatSlow 6s ease-in-out 1.5s infinite;
}

.hero-glow-pulse {
    animation: pulseGlow 5s ease-in-out infinite;
}

/* Glass geometric shapes */
.hero-glass-plane {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(224, 242, 254, 0.45) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.hero-glass-prism {
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.18) 0%, rgba(37, 99, 235, 0.08) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(186, 230, 253, 0.6);
    box-shadow: 0 25px 45px -10px rgba(2, 132, 199, 0.2);
}

/* ============================================================
   Mobile Drawer Styling (Smooth App-Style Slide-In)
   ============================================================ */
#mobile-drawer-backdrop {
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-drawer-panel {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   Split Footer & Two-Tone Signature Section Styling
   ============================================================ */
.footer-bullet {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #ffffff;
    opacity: 0.9;
    margin-right: 10px;
    margin-bottom: 2px;
    vertical-align: middle;
    border-radius: 1px;
}

.scroll-to-top-btn {
    transition: all 0.25s ease;
}

.scroll-to-top-btn:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.25);
}

