/* 
    Made by Devilyxrd & Manly
    v1.0
    License: MIT Licence
*/

/* ========= FONT GOLDMAN & INTER ========= */
@import url('https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ===== Css Settings ===== */

* {
    font-family: "Goldman",
        /* Inter & Goldman */
        sans-serif;
    font-weight: 400;
    font-style: normal;
    user-select: none;
}

::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* ===== Color Settings ===== */

    --verinay-dark: #0D0D0D;
    --verinay-dark-2: #111111;
    --verinay-dark-3: #111111E6;
    /* %90 */
    --verinay-dark-4: #151515;
    --verinay-dark-5: #151515E6;
    /* %90 */
    --verinay-yellow-1: #FBBF24;
    --verinay-yellow-2: #FBBF24CC;
    /* %80 */
    --verinay-gray-1: #5A5959;
    --verinay-gray-2: #3D3D3D;
    --verinay-gray-3: #232323E6;
    /* %90 */
    --verinay-white: #FFFFFF;
}

/* ===== Text Colors ===== */

.verinay-dark {
    color: var(--verinay-dark);
}

.verinay-dark-2 {
    color: var(--verinay-dark-2);
}

.verinay-dark-3 {
    color: var(--verinay-dark-3);
}

.verinay-dark-4 {
    color: var(--verinay-dark-4);
}

.verinay-dark-5 {
    color: var(--verinay-dark-5);
}

.verinay-yellow-1 {
    color: var(--verinay-yellow-1);
}

.verinay-yellow-2 {
    color: var(--verinay-yellow-2);
}

.verinay-gray-1 {
    color: var(--verinay-gray-1);
}

.verinay-gray-2 {
    color: var(--verinay-gray-2);
}

.verinay-gray-3 {
    color: var(--verinay-gray-3);
}

.verinay-white {
    color: var(--verinay-white);
}

/* ==== Border Colors ==== */

.border-verinay-gray-2 {
    border-top: 1px solid var(--verinay-gray-2);
}

/* ===== Background Colors ===== */

.bg-verinay-dark {
    background-color: var(--verinay-dark);
}

.bg-verinay-dark-2 {
    background-color: var(--verinay-dark-2);
}

.bg-verinay-dark-3 {
    background-color: var(--verinay-dark-3);
}

.bg-verinay-dark-4 {
    background-color: var(--verinay-dark-4);
}

.bg-verinay-dark-5 {
    background-color: var(--verinay-dark-5);
}

.bg-verinay-yellow-1 {
    background-color: var(--verinay-yellow-1);
}

.bg-verinay-yellow-2 {
    background-color: var(--verinay-yellow-2);
}

.bg-verinay-gray-1 {
    background-color: var(--verinay-gray-1);
}

.bg-verinay-gray-2 {
    background-color: var(--verinay-gray-2);
}

.bg-verinay-gray-3 {
    background-color: var(--verinay-gray-3);
}

.bg-verinay-white {
    background-color: var(--verinay-white);
}

/* ===== Navbar Settings ===== */

/* Hamburger menu animasyonu */
.hamburger-line {
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Dropdown animasyonları */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega dropdown için özel animasyon */
.mega-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s ease;
}

.dropdown:hover .mega-dropdown,
.mega-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile dropdown slide animasyonu */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.active {
    max-height: 500px;
}

/* Modern minimal glass effect */
.glass-effect {
    background: rgba(26, 26, 26, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(55, 55, 55, 0.3);
}

/* Minimal dropdown item */
.minimal-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 0;
}

.minimal-dropdown-item:hover {
    background: rgba(55, 55, 55, 0.4);
    transform: translateX(3px);
}

/* Service icon minimal */
.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(55, 55, 55, 0.6);
}

/* Minimal badge */
.minimal-badge {
    background: rgba(251, 191, 36, 0.15);
    color: var(--verinay-yellow-1);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Price text */
.price-text {
    color: rgba(251, 191, 36, 0.8);
    font-weight: 600;
    font-size: 11px;
}

/* Section header */
.section-header {
    font-size: 13px;
    font-weight: 600;
    color: rgba(251, 191, 36, 0.9);
    margin-bottom: 8px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(55, 55, 55, 0.4);
    padding-bottom: 8px;
}

/* Mega dropdown genişlik sınırlamaları */
.mega-dropdown-large {
    width: 100vw;
    max-width: 1000px;
}

.mega-dropdown-medium {
    width: 100vw;
    max-width: 768px;
}

/* Responsive grid düzeltmeleri */
@media (max-width: 768px) {

    .mega-dropdown-large,
    .mega-dropdown-medium {
        width: 95vw;
        left: 2.5vw !important;
        transform: translateX(0) !important;
    }

    .mega-dropdown .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .mega-dropdown-large,
    .mega-dropdown-medium {
        width: 90vw;
        max-width: 700px;
    }
}

/* ===== SECTION LAYOUT SETTINGS ===== */

/* Hero slider section */
.hero-slider-section {
    position: relative;
    z-index: 10;
    isolation: isolate;
    /* Stacking context oluşturur */
}

/* Domain section */
.domain-section {
    position: relative;
    z-index: 20;
}

/* Domain search input styling */
.domain-section input[type="text"] {
    font-family: "Goldman", sans-serif;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.domain-section input[type="text"]:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.1);
}

/* Domain price cards hover effect */
.domain-section .hover-scale:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Genel section styling */
section {
    position: relative;
    z-index: 20;
}

/* Slider ana wrapper */
.slider {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

/* ===== SLIDER SETTINGS ===== */

/* Slide temel yapısı */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    z-index: 1;
}

/* Aktif slide */
.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

/* Slide geçiş durumları */
.slide.slide-in-left {
    transform: translateX(-100%);
}

.slide.slide-in-right {
    transform: translateX(100%);
}

.slide.slide-out-left {
    transform: translateX(-100%);
}

.slide.slide-out-right {
    transform: translateX(100%);
}

/* Gradient overlay */
.gradient-overlay {
    background: linear-gradient(135deg,
            rgba(13, 13, 13, 0.95) 0%,
            rgba(17, 17, 17, 0.85) 50%,
            rgba(13, 13, 13, 0.95) 100%);
    z-index: 1;
}

/* ===== İÇERİK ANİMASYONLARI ===== */

/* Slide content container */
.slide-content {
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* Hero content wrapper */
.hero-content {
    position: relative;
    z-index: 1;
}

/* Hero title animasyonu */
.hero-title {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Hero subtitle animasyonu */
.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Buton animasyonları */
.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* Özellikler animasyonu */
.hero-features {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active .hero-features {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

/* ===== SLIDER NAVIGATION ===== */

/* Navigation container */
.slider-nav {
    position: absolute;
    z-index: 30;
    pointer-events: auto;
}

/* ===== DOT NAVIGATION ===== */

/* Dot temel stilleri */
.dot {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.dot:hover {
    background-color: rgba(251, 191, 36, 0.5);
    transform: scale(1.1);
}

.dot.active {
    background-color: var(--verinay-yellow-1);
    transform: scale(1.2);
    border-color: rgba(251, 191, 36, 0.5);
}

/* ===== PROGRESS BAR ===== */

.progress-bar {
    width: 0%;
    background-color: var(--verinay-yellow-1);
    transition: width 0.1s linear;
}

.progress-bar.active {
    animation: progressAnimation 5s linear forwards;
}

@keyframes progressAnimation {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ===== HOVER EFFECTS ===== */

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* ===== Z-INDEX KATMAN YÖNETİMİ ===== */

/* Navbar z-index (en üstte olmalı) */
nav {
    position: relative;
    z-index: 50;
}

/* Slider container z-index */
.slider-container {
    position: relative;
    z-index: 10;
}

/* Slider altındaki section'lar için z-index */
.features-section,
section:not(.hero-slider-section) {
    position: relative;
    z-index: 20;
}

/* Footer z-index */
footer {
    position: relative;
    z-index: 20;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .slide-content {
        padding: 0 1rem;
    }

    .slider-nav {
        bottom: 4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .slider-nav {
        bottom: 3rem;
    }
}

/* ===== PERFORMANS İYİLEŞTİRMELERİ ===== */

/* GPU hızlandırması */
.slide,
.slide-content,
.hero-title,
.hero-subtitle,
.hero-buttons,
.hero-features,
.hero-content {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Animasyon bittiğinde will-change'i temizle */
.slide:not(.active) {
    will-change: auto;
}

.slide:not(.active) .slide-content,
.slide:not(.active) .hero-title,
.slide:not(.active) .hero-subtitle,
.slide:not(.active) .hero-buttons,
.slide:not(.active) .hero-features {
    will-change: auto;
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {

    .slide,
    .slide-content,
    .hero-title,
    .hero-subtitle,
    .hero-buttons,
    .hero-features,
    .dot,
    .progress-bar {
        transition-duration: 0.1s;
        animation-duration: 0.1s;
    }
}

/* Focus states */
.dot:focus {
    outline: 2px solid var(--verinay-yellow-1);
    outline-offset: 2px;
}

/* Buton focus states */
button:focus {
    outline: 2px solid var(--verinay-yellow-1);
    outline-offset: 2px;
}

/* ===== LAYOUT STABİLİTESİ ===== */

/* Hero slider section stacking context */
.hero-slider-section {
    contain: layout style paint;
}

/* Slide isolation */
.slide {
    contain: layout style paint;
    isolation: isolate;
}

/* ===== BRAND SLIDER */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-scroll {
    animation: scroll 40s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}