/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Notch:wght@200..700&display=swap');
* {
    font-family: "Stack Sans Notch", sans-serif;
}
/* ===========================
    NAVBAR CORE TRANSITION
=========================== */
#navbar {
    transition: all 0.4s ease-in-out;
}

/* ===========================
    TRANSPARENT NAV
=========================== */
.nav-transparent {
    background: transparent;
    box-shadow: none;
}

.nav-transparent .nav-logo-primary {
    color: white;
}

.nav-transparent .nav-logo-secondary {
    color: #fbbf24;
}

.nav-transparent .nav-link {
    color: white;
}

.nav-transparent .nav-mobile-btn {
    color: white;
}

.nav-transparent .nav-mobile-link {
    color: white;
}

/* ===========================
    GLASS SCROLLED NAV
=========================== */
.nav-scrolled {
    background: rgba(15, 23, 42, 0.85); /* Slate-900 glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
}

.nav-scrolled .nav-logo-primary {
    color: white;
}

.nav-scrolled .nav-logo-secondary {
    color: #fbbf24;
}

.nav-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.nav-scrolled .nav-mobile-btn,
.nav-scrolled .nav-mobile-link {
    color: white;
}

/* ===========================
    NAV LINK UNDERLINE EFFECT
=========================== */
.nav-link {
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===========================
    MOBILE MENU ANIMATION
=========================== */
.mobile-menu-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-content.active {
    max-height: 500px;
}

.nav-mobile-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
}

.hero-bg {
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(251,191,36,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: bgPulse 20s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Pipeline Animations */
.pipeline-container {
    overflow: hidden;
}

.pipeline {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.6), transparent);
    height: 3px;
    width: 100%;
}

.pipeline-1 {
    top: 20%;
    animation: pipelineMove 15s linear infinite;
    animation-delay: 0s;
}

.pipeline-2 {
    top: 40%;
    animation: pipelineMove 18s linear infinite reverse;
    animation-delay: 2s;
    height: 2px;
}

.pipeline-3 {
    top: 60%;
    animation: pipelineMove 20s linear infinite;
    animation-delay: 4s;
}

.pipeline-4 {
    top: 80%;
    animation: pipelineMove 16s linear infinite reverse;
    animation-delay: 1s;
    height: 2px;
}

@keyframes pipelineMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.pipeline-flow {
    position: absolute;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(251, 191, 36, 0.9), 
        rgba(251, 191, 36, 0.4), 
        transparent
    );
    animation: flowMove 8s ease-in-out infinite;
}

.flow-1 {
    top: 30%;
    animation-delay: 0s;
}

.flow-2 {
    top: 50%;
    animation-delay: 2s;
}

.flow-3 {
    top: 70%;
    animation-delay: 4s;
}

@keyframes flowMove {
    0% { 
        left: -200px; 
        opacity: 0;
    }
    10% { 
        opacity: 1;
    }
    90% { 
        opacity: 1;
    }
    100% { 
        left: calc(100% + 200px); 
        opacity: 0;
    }
}

/* Particles */
.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 20s infinite;
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 30%;
    left: 80%;
    animation-delay: 3s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    width: 10px;
    height: 10px;
    top: 60%;
    left: 20%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.particle:nth-child(4) {
    width: 7px;
    height: 7px;
    top: 80%;
    left: 70%;
    animation-delay: 2s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    width: 9px;
    height: 9px;
    top: 15%;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 19s;
}

.particle:nth-child(6) {
    width: 5px;
    height: 5px;
    top: 45%;
    left: 90%;
    animation-delay: 1s;
    animation-duration: 17s;
}

.particle:nth-child(7) {
    width: 8px;
    height: 8px;
    top: 70%;
    left: 40%;
    animation-delay: 5s;
    animation-duration: 21s;
}

.particle:nth-child(8) {
    width: 6px;
    height: 6px;
    top: 25%;
    left: 60%;
    animation-delay: 7s;
    animation-duration: 14s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-100px) translateX(50px) scale(1.2);
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-200px) translateX(-30px) scale(0.8);
        opacity: 0;
    }
}

/* Oil Rig Silhouettes */
.oil-rigs {
    opacity: 0.15;
}

.rig {
    position: absolute;
    width: 80px;
    height: 150px;
    background: linear-gradient(to bottom, 
        rgba(251, 191, 36, 0.3) 0%, 
        rgba(251, 191, 36, 0.1) 100%
    );
    clip-path: polygon(
        45% 0%, 55% 0%, 
        55% 40%, 60% 40%, 
        60% 45%, 55% 45%, 
        55% 100%, 45% 100%, 
        45% 45%, 40% 45%, 
        40% 40%, 45% 40%
    );
}

.rig-1 {
    bottom: 0;
    right: 15%;
    animation: rigPulse 4s ease-in-out infinite;
}

.rig-2 {
    bottom: 0;
    right: 35%;
    height: 180px;
    animation: rigPulse 5s ease-in-out infinite;
    animation-delay: 1s;
}

.rig-3 {
    bottom: 0;
    right: 55%;
    height: 120px;
    animation: rigPulse 4.5s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes rigPulse {
    0%, 100% {
        opacity: 0.15;
        filter: brightness(1);
    }
    50% {
        opacity: 0.25;
        filter: brightness(1.2);
    }
}

/* Hero Text Animations */
.hero-subtitle span {
    display: inline-block;
    animation: slideInLeft 1s ease-out forwards;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-title {
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.hero-title-line {
    display: inline-block;
    animation: slideInUp 1s ease-out forwards;
    opacity: 0;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.6s;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-description {
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-cta {
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(251, 191, 36, 0.8);
    border-radius: 15px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: rgba(251, 191, 36, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.5s infinite;
}

@keyframes wheelScroll {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Carousel Styles */
.carousel-container {
    animation: fadeInRight 1.5s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.carousel-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.carousel-slides {
    position: relative;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease-in-out;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.slide-content {
    position: relative;
    transition: transform 0.3s ease;
}

.carousel-slide.active .slide-content {
    animation: slideZoom 0.8s ease-out forwards;
}

@keyframes slideZoom {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.carousel-prev,
.carousel-next {
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel-wrapper:hover .carousel-prev,
.carousel-wrapper:hover .carousel-next {
    opacity: 1;
}

.carousel-prev:hover,
.carousel-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(251, 191, 36, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator:hover {
    background: rgba(251, 191, 36, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: rgba(251, 191, 36, 1);
    width: 32px;
    border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .carousel-container {
        margin-top: 3rem;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transition: 0.4s ease-out;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 20px;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
