/* Custom Styles & Technical Animations - Goes PG */

body {
    background-color: #FFFFFF;
    color: #1B365F;
}

/* Blueprint grid effect for specific sections */
.bg-blueprint {
    background-image: linear-gradient(to right, rgba(27, 54, 95, 0.05) 1px, transparent 1px), 
                      linear-gradient(to bottom, rgba(27, 54, 95, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Sharp, engineering-style borders */
.border-structural {
    border: 1px solid #1B365F;
}

/* Hover fill effect for buttons */
.btn-technical {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 1;
}
.btn-technical::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background-color: #F18700;
    transition: left 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}
.btn-technical:hover::before {
    left: 0;
}
.btn-technical:hover {
    color: #FFFFFF;
    border-color: #F18700;
}

/* Goes PG Specific Styles */
.hero-full {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    color: #FFFFFF;
}

.btn-Goes PG {
    background-color: #F18700;
    color: #FFFFFF;
    padding: 16px 40px;
    border-radius: 9999px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(241, 135, 0, 0.3);
}

.btn-Goes PG:hover {
    background-color: #d97a00;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(241, 135, 0, 0.4);
}

/* Intersection Observer Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F5F7FA; }
::-webkit-scrollbar-thumb { background: #1B365F; }
::-webkit-scrollbar-thumb:hover { background: #F18700; }

/* Navbar Active State */
nav a.active {
    color: #F18700 !important;
}
nav a.active::after {
    width: 100% !important;
}

/* WhatsApp Floating Button */
.whatsapp-fixed {
    background-color: #25D366;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}
.whatsapp-fixed:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128C7E;
}

/* Liquid/Blob Animation for Hero Image */
@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}
.blob-frame {
    animation: morph 8s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(27, 54, 95, 0.1);
}

/* Logo Carousel - Trust Bar */
.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    position: relative;
    background: transparent;
}

.logo-carousel-container::before,
.logo-carousel-container::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel-container::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-carousel-container::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-carousel-track {
    display: flex;
    width: calc(200px * 18); /* 9 logos * 2 for seamless loop */
    animation: logo-scroll 40s linear infinite;
}

.logo-carousel-track:hover {
    animation-play-state: paused;
}

.logo-item {
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    flex-shrink: 0;
}

.logo-item img {
    max-width: 120px;
    max-height: 45px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 9)); }
}

@media (max-width: 768px) {
    .logo-item {
        width: 150px;
        padding: 0 20px;
    }
    .logo-item img {
        max-width: 100px;
    }
    @keyframes logo-scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-150px * 9)); }
    }
}

/* Gallery Styles */
.gallery-item {
    cursor: crosshair;
}

.gallery-item img {
    filter: brightness(0.9) contrast(1.1);
}

.gallery-item:hover img {
    filter: brightness(1.1) contrast(1);
}

