/* Custom Tailwind CSS Styles */
/* Tailwind CSS CDN'den yükleniyor, bu dosya özel stilleri ve eksik utility'leri içerir */

:root {
    --gradient: #E36B00;
    --background: 30 65% 3.6%;
    --foreground: 30 10% 97.25%;
    --muted: 30 50% 13.5%;
    --muted-foreground: 30 10% 54.5%;
    --popover: 30 45% 5.8500000000000005%;
    --popover-foreground: 30 10% 97.25%;
    --card: 30 45% 5.8500000000000005%;
    --card-foreground: 30 10% 97.25%;
    --border: 30 50% 13.5%;
    --input: 30 50% 13.5%;
    --primary: #E36B00;
    --primary-foreground: 30 10% 97.25%;
    --secondary: 30 50% 13.5%;
    --secondary-foreground: 30 10% 97.25%;
    --accent: 30 50% 13.5%;
    --accent-foreground: 30 10% 97.25%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 30 10% 97.25%;
    --ring: 30 100% 45%;
}

body {
    font-family: 'Poppins', sans-serif !important;
}

.font-poppins {
    font-family: 'Poppins', sans-serif !important;
}

/* Primary color utilities */
.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.hover\:bg-primary:hover {
    background-color: var(--primary) !important;
}

.hover\:text-primary:hover {
    color: var(--primary) !important;
}

.hover\:bg-primary\/90:hover {
    background-color: rgba(227, 107, 0, 0.9) !important;
}

.bg-primary\/10 {
    background-color: rgba(227, 107, 0, 0.1) !important;
}

.text-primary-700 {
    color: #B85500 !important;
}

.lg\:text-primary-700 {
    color: #B85500 !important;
}

/* Custom animations */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Carousel styles */
.carousel-section {
    position: relative;
    margin-top: 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    will-change: transform, opacity;
    pointer-events: none;
    background-color: #1f2937; /* Dark background while image loads */
    overflow: hidden;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.carousel-prev,
.carousel-next {
    pointer-events: auto;
}

.carousel-indicator {
    pointer-events: auto;
}

/* Header carousel entegrasyonu */
body.home header,
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: transparent !important;
}

body.home header nav,
header nav {
    background: transparent !important;
}

body.home .carousel-section {
    position: relative;
    z-index: 10;
}

/* Utility classes */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive utilities */
@media (min-width: 1024px) {
    .lg\:text-primary-700 {
        color: #B85500 !important;
    }
}

/* Buton border-radius kaldırma */
button,
a[class*="bg-primary"],
a[class*="bg-white"] {
    border-radius: 0 !important;
}

/* Video play button - yuvarlak olmalı */
.video-play-button,
button#video-play-btn,
a.video-play-button {
    border-radius: 50% !important;
    display: flex !important;
}

/* Reference card items - radius olmamalı */
.reference-card-item,
.reference-card-item > a,
.reference-card-item > a > div {
    border-radius: 0 !important;
}

/* Dropdown menu hover fix */
li.group:hover > div[class*="absolute"] {
    display: block !important;
}

/* Ensure dropdown stays visible when hovering over it */
li.group > div[class*="absolute"]:hover {
    display: block !important;
}
