/* Reset ve temel stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Özel stiller - TailwindCSS ile birlikte kullanılır */
.pt-navbar {
    padding-top: 5rem; /* Navbar yüksekliği kadar padding */
}

/* Özel animasyonlar ve efektler */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-right {
    animation: fadeRight 0.3s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section 2 Background */
.section-2-bg {
    background-image: url('images/section-2-pattern.png');
    background-repeat: repeat;
    background-size: 100px 100px;
}

@media (max-width: 768px) {
    .section-2-bg {
        background-size: 50px 50px;
    }
}

/* Blur Circles */
.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
}

.circle-1 {
    background-color: #0c2900;
    width: 1000px;
    height: 1000px;
    top: 0;
    right: 0;
}

.circle-2 {
    background-color: #032146;
    width: 1000px;
    height: 1000px;
    bottom: 0%;
    left: 0%;
}

/* Fade In Divs */
.fade-in-div {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.fade-in-div:nth-child(5) {
    animation-delay: 0s;
}

.fade-in-div:nth-child(6) {
    animation-delay: 0.5s;
}

.fade-in-div:nth-child(7) {
    animation-delay: 1s;
}

.fade-in-div:nth-child(8) {
    animation-delay: 1.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Animation */
.icon-blur {
    transform: scale(0.5);
    filter: blur(4px);
    transition: all 0.3s ease;
}

.icon-normal {
    transform: scale(1.2);
    filter: blur(0px);
    transition: all 0.2s ease;
}

.icon-final {
    transform: scale(1);
    filter: blur(0px);
    transition: all 0.2s ease;
}

/* Mobile Styles for Fade In Divs */
@media (max-width: 768px) {
    .fade-in-div {
        position: static !important;
        margin: 10px auto;
        max-width: 90%;
        text-align: center;
    }
}

/* Glass Effect */
.glass {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobil Optimizations */
@media (max-width: 768px) {
    .glass {
        backdrop-filter: blur(5px);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .content-area img {
        height: 200px;
    }
}


/* Contact Hover Effects (desktop not mobile) */
 @media screen and (min-width: 769px) {
        .contact-info:hover span {
            opacity: 1;
        }
    }

.contact-tooltip {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: black;
}

/* Hover haritası (glass etkili) */
/* Sadece harita görünümü (adres hover) */
.address-map {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    opacity: 0;
    transform: translate3d(50vw,50vh,0) skewX(0deg);
    filter: blur(6px); /* girişte hafif blur, sonra kalkar */
    transition: opacity 150ms ease, filter 150ms ease, transform 180ms ease;
    pointer-events: none; /* kullanıcı etkileşimi olmasın */
    will-change: transform, opacity, filter;
}

.address-map.is-visible {
    opacity: 1;
    filter: blur(0);
}

/* Form Styles */
input, textarea {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem;
    border-radius: 0;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Header Text Fade In Animation */
@keyframes fadeInFromLow {
    from {
        opacity: 0.15;
    }
    to {
        opacity: 1;
    }
}

.fade-in-from-low {
    animation: fadeInFromLow 2s ease-in-out;
}

/* Word transition for header animation */
.word {
    transition: opacity 0.3s ease-in-out;
}

/* Mobile Menu Overlay (arka plan blur + karartma) */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 40; /* Menü (z-40) ile uyumlu, navbar (z-50) üstte kalır */
    opacity: 0;
    transition: opacity 250ms ease;
}
.menu-overlay.active {
    opacity: 1;
}

/* Bold veya Semibold yerine Medium görünüm talebi için override */
strong, b {
    font-weight: 500; /* Tailwind font-medium karşılığı */
}

/* Navbar link hover underline (sağdan sola uzayan çizgi) */
.nav-anim {
    position: relative;
}
.nav-anim::after {
    content: '';
    position: absolute;
    bottom: 0.15rem; /* çizgi konumu */
    right: 0.6rem; /* sağdan başlasın */
    height: 2px;
    width: calc(100% - 1.2rem); /* tam genişlik (padding hariç) */
    background: linear-gradient(to left, rgba(255,255,255,0.9), rgba(255,255,255,0.3));
    transform: scaleX(0);
    transform-origin: right center; /* sağdan sola büyüme */
    transition: transform 320ms cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.nav-anim:hover::after,
.nav-anim:focus-visible::after {
    transform: scaleX(1);
}

/* Mobil menüde çizgi biraz daha aşağıda olsun */
@media (max-width: 768px) {
    .nav-anim::after {
        bottom: 0.4rem;
    }
}

/* Section 2: ikinci cümle opacity animasyonu */
#second-sentence,
#second-sentence-mobile {
    opacity: 0.30;
    transition: opacity 600ms ease;
}
#second-sentence.ss-visible,
#second-sentence-mobile.ss-visible {
    opacity: 1;
}

/* Warning -> Tick dönüşümünde kullanılacak yumuşak ölçek animasyonu */
.icon-scale {
    transition: transform 200ms ease, color 200ms ease;
}

/* Ince, beyaz, köşesiz ve transparan track'li scrollbar */
.scroll-white-thin {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ffffff transparent; /* thumb, track */
}
.scroll-white-thin::-webkit-scrollbar {
    width: 6px; /* ince */
    height: 6px;
}
.scroll-white-thin::-webkit-scrollbar-track {
    background: transparent; /* track bg yok */
}
.scroll-white-thin::-webkit-scrollbar-thumb {
    background-color: #ffffff; /* beyaz */
    border-radius: 0; /* köşesiz */
    border: none;
}
.scroll-white-thin::-webkit-scrollbar-corner {
    background: transparent;
}

/* Dikey değişen metin alanı stilleri */
.vertical-scroll-text {
    position: fixed;
    top: 50%;
    left: 32px; /* soldan biraz uzak */
    transform: translateY(-50%);
    padding: 4px 8px;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-weight: 400; /* regular */
    background: rgba(255,255,255,0.08); /* glass benzeri hafif şeffaf arka plan */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    max-width: 160px; /* maksimum genişlik */
    white-space: normal; /* satır kaydırma için */
    display: block;
    z-index: 50;
    pointer-events: none; /* etkileşim almasın */
}
.vertical-scroll-text .vtext-inner {
    display: inline-block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
}
.vertical-scroll-text.fading .vtext-inner {
    opacity: 0;
    transform: translateY(6px);
}
