/* Adensoy Ticaret Custom Styles */

/* Hero Section */
.hero-gradient {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('https://images.pexels.com/photos/29224552/pexels-photo-29224552.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Map Background */
.map-bg {
    background-image: radial-gradient(circle at center, #334155 1px, transparent 1px);
    background-size: 24px 24px;
    position: relative;
}

.map-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Animations */
@keyframes route-pulse {
    0%, 100% { stroke-opacity: 0.6; }
    50% { stroke-opacity: 1; }
}

@keyframes marker-glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.9));
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.marker-animate {
    animation: marker-glow 3s ease-in-out infinite;
}

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

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

.capability-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.capability-card:hover img {
    transform: scale(1.08);
}

.capability-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glass Effects */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.2);
}

/* Text Styles */
.gradient-text {
    background: linear-gradient(135deg, #F97316 0%, #FB923C 50%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Transition Effects */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Button Effects */
button {
    position: relative;
    overflow: hidden;
}

button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:active::after {
    width: 300px;
    height: 300px;
}

/* Navigation Links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F97316;
    transition: width 0.3s ease;
}

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

/* Stats Animation */
.stat-number {
    transition: all 0.5s ease;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #ea580c;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* PDF Card Styles */
.pdf-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pdf-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Mobile Card Fix */
@media (max-width: 768px) {
    .capability-card {
        height: auto !important;
        overflow: visible !important;
    }
    
    .capability-card .p-8 {
        padding: 1.5rem !important;
    }

    .reveal-scale {
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    #products {
        margin-top: 0 !important;
        padding-top: 4rem !important;
        position: relative;
        z-index: 10;
    }

    header {
        height: auto !important;
        padding-bottom: 5rem;
    }
}

/* ==========================================
   Hero Slider - Ken Burns & Progress Bars
   ========================================== */

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 0;
    will-change: transform, opacity;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    animation: kenBurns 4s ease-in-out forwards;
}

.hero-slider.paused .hero-slide.active {
    animation-play-state: paused !important;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* Progress Indicators */
.progress-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.progress-segment {
    width: 64px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease;
}

.progress-segment:hover {
    background: rgba(255, 255, 255, 0.4);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #F97316;
    border-radius: 2px;
}

.progress-fill.active {
    animation: progressFill 4s linear forwards;
}

.hero-slider.paused .progress-fill.active {
    animation-play-state: paused !important;
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Sector Cards */
.sector-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sector-card:hover {
    transform: translateY(-8px);
}

.sector-card:hover img {
    transform: scale(1.08);
}

.sector-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dropdown Menu */
#sectors-dropdown-menu {
    transform-origin: top center;
}

#sectors-dropdown-menu:not(.hidden) {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(8px) !important;
}

/* Agriculture Page Styles */
.agro-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.agro-card:hover {
    transform: translateY(-4px);
}

.agro-card .sub-items {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}

.agro-card:hover .sub-items {
    max-height: 200px;
    opacity: 1;
}

.agro-card .sub-items ul li {
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.agro-card:hover .sub-items ul li {
    transform: translateY(0);
    opacity: 1;
}

.agro-card:hover .sub-items ul li:nth-child(1) { transition-delay: 0.05s; }
.agro-card:hover .sub-items ul li:nth-child(2) { transition-delay: 0.1s; }
.agro-card:hover .sub-items ul li:nth-child(3) { transition-delay: 0.15s; }
.agro-card:hover .sub-items ul li:nth-child(4) { transition-delay: 0.2s; }
.agro-card:hover .sub-items ul li:nth-child(5) { transition-delay: 0.25s; }

/* Steel & Industrial Page Card Styles */
.steel-card {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.steel-card:hover {
    transform: translateY(-4px);
}

.steel-card .sub-items {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}

.steel-card:hover .sub-items,
.steel-card.touch-active .sub-items {
    max-height: 200px;
    opacity: 1;
}

.steel-card .sub-items ul li {
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.steel-card:hover .sub-items ul li,
.steel-card.touch-active .sub-items ul li {
    transform: translateY(0);
    opacity: 1;
}

.steel-card:hover .sub-items ul li:nth-child(1),
.steel-card.touch-active .sub-items ul li:nth-child(1) { transition-delay: 0.05s; }
.steel-card:hover .sub-items ul li:nth-child(2),
.steel-card.touch-active .sub-items ul li:nth-child(2) { transition-delay: 0.1s; }
.steel-card:hover .sub-items ul li:nth-child(3),
.steel-card.touch-active .sub-items ul li:nth-child(3) { transition-delay: 0.15s; }
.steel-card:hover .sub-items ul li:nth-child(4),
.steel-card.touch-active .sub-items ul li:nth-child(4) { transition-delay: 0.2s; }
.steel-card:hover .sub-items ul li:nth-child(5),
.steel-card.touch-active .sub-items ul li:nth-child(5) { transition-delay: 0.25s; }
.steel-card:hover .sub-items ul li:nth-child(6),
.steel-card.touch-active .sub-items ul li:nth-child(6) { transition-delay: 0.3s; }