/* Inter Tight şriftini əlavə edirik */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Inter Tight', sans-serif;
    font-optical-sizing: auto;
}

/* Müxtəlif çəkilər üçün utility class-lar */
.font-inter-light {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 300;
    font-style: normal;
}

.font-inter-regular {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    font-style: normal;
}

.font-inter-medium {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 500;
    font-style: normal;
}

.font-inter-semibold {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    font-style: normal;
}

.font-inter-bold {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* Mövcud Poppins import-unu silirik */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); */

/* Logo styling */
.logo {
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(217,164,68,0.2) 0%, rgba(217,164,68,0) 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.logo:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.logo img {
    height: 5rem;
    transition: all 0.3s ease;
    will-change: transform;
    filter: brightness(0) invert(1);
}

.logo:hover img {
    transform: scale(1.05);
    filter: none;
}

.scrolled .logo {
    transform: scale(0.9);
}

.scrolled .logo img {
    height: 4.5rem;
    filter: brightness(0) invert(1);
}

.scrolled .logo:hover img {
    filter: none;
}

/* Custom Gradient Overlay */
.gradient-overlay {
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: rgba(217, 164, 68, 0.1) !important;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    color: #d9a444 !important;
    z-index: 30 !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    color: #d9a444 !important;
}

/* Pagination styles */
.swiper-pagination {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    z-index: 30 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    pointer-events: all !important;
}

.swiper-pagination-bullet {
    position: relative !important;
    width: 30px !important;
    height: 4px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 2px !important;
    opacity: 1 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    pointer-events: all !important;
    touch-action: manipulation !important;
}

.swiper-pagination-bullet:hover {
    background: rgba(217, 164, 68, 0.7) !important;
    width: 40px !important;
}

.swiper-pagination-bullet-active {
    background: #d9a444 !important;
    width: 50px !important;
}

/* Swiper container */
.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Swiper wrapper */
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Pagination click animation */
.swiper-pagination-bullet-active-click {
    transform: scaleX(1.2);
}

/* Pagination container animation */
.swiper-pagination-bullets:hover .swiper-pagination-bullet:not(:hover):not(.swiper-pagination-bullet-active) {
    width: 20px !important;
}

/* Fade effect for slider */
.swiper-fade .swiper-slide {
    transition: opacity 0.8s ease;
}

/* Progress bar animation */
@keyframes progress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }

}

.progress-bar.reset {
    animation: none;
    width: 0;
}

/* Video container styles */
.video-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: #000;
}

#youtube-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none;
}

/* Video slide üçün xüsusi stil */
.swiper-slide.video-slide {
    background: #000;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

/* Video keyfiyyəti üçün əlavə parametrlər */
.video-slide iframe {
    filter: contrast(1.1) saturate(1.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw !important;
    height: 100vh !important;
    border: none;
}

/* Əlavə media query mobil cihazlar üçün */
@media (max-aspect-ratio: 16/9) {
    .video-slide iframe {
        width: 177.78vh !important;
        height: 100vh !important;
    }
}

@media (min-aspect-ratio: 16/9) {
    .video-slide iframe {
        width: 100vw !important;
        height: 56.25vw !important;
    }
}

/* Make sure slider has proper height */
.swiper,
.swiper-wrapper,
.swiper-slide {
    height: 100vh !important;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dropdown styles */
.group\/lang:hover .group-hover\/lang\:opacity-100 {
    opacity: 1;
}

.group\/lang:hover .group-hover\/lang\:visible {
    visibility: visible;
}

/* Dropdown hover fix */
.hover\:opacity-100:hover {
    opacity: 1;
}

.hover\:visible:hover {
    visibility: visible;
}

/* Dropdown animation */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Dropdown menu shadow */
.shadow-xl {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Menyu hover effektləri */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
    font-weight: 500; /* medium */
}

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

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

/* Active menyu stili */
.nav-link.active {
    color: #d9a444;
    font-weight: 600; /* semi-bold */
}

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

/* Submenu effektləri */
.submenu-item {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    font-weight: 500; /* medium */
}

.submenu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #d9a444;
    transition: all 0.3s ease;
    z-index: -1;
}

.submenu-item:hover {
    color: #000 !important;
    padding-left: 1.5rem;
}

.submenu-item:hover::before {
    left: 0;
}

/* Dropdown menyu effektləri */
.dropdown-menu {
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.group:hover .dropdown-menu {
    transform: translateY(0);
}

/* Mobil menyu effektləri */
.mobile-nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500; /* medium */
}

.mobile-nav-link:hover {
    padding-left: 0.5rem;
    color: #d9a444;
}

/* Mobil active menyu stili */
.mobile-nav-link.active {
    color: #d9a444;
    padding-left: 0.5rem;
    font-weight: 600; /* semi-bold */
}

.mobile-dropdown-item {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500; /* medium */
}

.mobile-dropdown-item:hover {
    padding-left: 1rem;
    color: #d9a444;
}

/* Mobil üçün padding tənzimləməsi */
@media (max-width: 768px) {
    .swiper-pagination {
        max-width: calc(1280px - 2rem) !important;
        margin-left: 0.5rem !important;
    }
}

/* Desktop üçün tənzimləmə */
@media (min-width: 769px) {
    .swiper-pagination {
        padding-left: 0 !important;
    }
}

/* Hero section height */
.h-screen {
    height: 100vh;
}

@media (max-width: 768px) {
    .relative.h-screen {
        height: 95vh;
    }

    /* Swiper və wrapper-in də hündürlüyünü uyğunlaşdıraq */
    .swiper.heroSwiper,
    .swiper-wrapper,
    .swiper-slide {
        height: 95vh !important;
    }
}
