/* css/styles.css */
:root {
    --primary-color: #ffffff;
    --bg-color: #050505;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', pacaembu, sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Hafif Siyah Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Şeffaf siyah overlay */
    z-index: 2;
}

/* Dots (Nokta) Deseni */
.hero-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-image: radial-gradient(rgba(0, 0, 0, 0.6) 1px, transparent 1px);
    background-size: 3px 3px;
}

/* Hakkımda sayfası özel overlay/dots modifikasyonları */
.hero-overlay.dark {
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-dots.large {
    background-image: radial-gradient(rgba(0, 0, 0, 0.8) 1.5px, transparent 1.5px);
    background-size: 4px 4px;
}

/* İçerik */
.hero-content {
    position: relative;
    z-index: 4;
    animation: fadeInUp 1.5s ease cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.brand-name {
    display: flex;
    align-items: center;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.brand-mahir {
    font-family: elizeth, serif;
    font-weight: 500;
    font-style: normal;
}

.brand-turan {
    font-family: elizeth, serif;
    font-weight: 300;
    font-style: normal;
}

.brand-copyright {
    font-family: 'Montserrat', pacaembu, sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    opacity: 0.9;
    line-height: 1;
    transform: translateY(-12px);
}

.brand-title {
    font-family: 'Montserrat', pacaembu, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.95;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-12px);
}

/* Hamburger Menu Button */
.hamburger-btn {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 35px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left 0.5s cubic-bezier(0.45, 0, 0.55, 1), transform 0.5s cubic-bezier(0.45, 0, 0.55, 1);
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Active State (Cross) */
.hamburger-btn.active {
    left: calc(100% - 40px);
    transform: translateX(-100%);
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(11.5px) rotate(45deg);
    background-color: #000;
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-11.5px) rotate(-45deg);
    background-color: #000;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 85px; /* hamburger top(40px) + height(25px) + gap(20px) */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font-family: 'Montserrat', pacaembu, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    gap: 8px;
    align-items: center;
    transition: left 0.5s cubic-bezier(0.45, 0, 0.55, 1), transform 0.5s cubic-bezier(0.45, 0, 0.55, 1), color 0.5s;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.lang-switcher a {
    color: inherit;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.lang-switcher a.active, .lang-switcher a:hover {
    opacity: 1;
}

.lang-switcher .separator {
    opacity: 0.4;
    font-weight: 300;
}

.hamburger-btn.active + .lang-switcher {
    left: calc(100% - 40px);
    transform: translateX(-100%);
    color: #000;
    text-shadow: none;
}

/* Fullscreen Navigation */
.fullscreen-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* Frosted glass white */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.45, 0, 0.55, 1);
}

.fullscreen-nav.active {
    opacity: 1;
    visibility: visible;
}

/* Hide arrows when hamburger menu is open */
body:has(.fullscreen-nav.active) .page-arrow,
body:has(.fullscreen-nav.active) .slider-arrow,
body:has(.fullscreen-nav.active) .slider-pagination {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.nav-list {
    list-style: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.4s ease;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.nav-item a {
    text-decoration: none;
    color: #000000;
    font-family: 'Montserrat', pacaembu, sans-serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.5vw, 1.3rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: letter-spacing 0.4s ease, opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

/* Animate items when active */
.fullscreen-nav.active .nav-item a {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effect */
.nav-item:hover a {
    letter-spacing: 6px;
    font-weight: 400;
}

/* Staggered delay for list items */
.fullscreen-nav.active .nav-item:nth-child(1) a { transition-delay: 0.1s; }
.fullscreen-nav.active .nav-item:nth-child(2) a { transition-delay: 0.15s; }
.fullscreen-nav.active .nav-item:nth-child(3) a { transition-delay: 0.2s; }
.fullscreen-nav.active .nav-item:nth-child(4) a { transition-delay: 0.25s; }
.fullscreen-nav.active .nav-item:nth-child(5) a { transition-delay: 0.3s; }
.fullscreen-nav.active .nav-item:nth-child(6) a { transition-delay: 0.35s; }
.fullscreen-nav.active .nav-item:nth-child(7) a { transition-delay: 0.4s; }

/* Animasyon */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hakkımda Sayfası Özel --- */
.flipped-video {
    transform: scaleX(-1);
}

.about-section {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 1200px;
    width: 90%;
    z-index: 4;
}

.about-section.align-right {
    left: auto;
    right: 10%;
    max-width: 800px;
}

.about-section.align-center {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    max-width: 1200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-section.align-center .about-separator {
    margin-left: auto;
    margin-right: auto;
}

.about-header {
    margin-bottom: 25px;
}

.about-title {
    font-family: 'Montserrat', pacaembu, sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.0s;
}

.about-separator {
    position: relative;
    width: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    opacity: 0;
    animation: drawLine 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.3s;
}

.about-separator::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.about-intro {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: none;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.6s;
}

.about-action {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.9s;
}

.download-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', pacaembu, sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.download-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-columns.single-column {
    grid-template-columns: 1fr;
}

.about-text:nth-child(1) {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 2.0s;
}

.about-text:nth-child(2) {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 2.3s;
}

@keyframes drawLine {
    0% { width: 0; opacity: 0; }
    100% { width: 140px; opacity: 1; }
}

.about-text p {
    font-family: pacaembu, sans-serif;
    font-size: clamp(0.75rem, 0.85vw, 0.95rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 12px;
    opacity: 0.9;
    text-align: left;
}

/* --- Slider Architecture --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Pagination Dots */
.slider-pagination {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 50;
}

.slider-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

.slider-arrow:hover {
    opacity: 1;
}

.slider-arrow.up:hover {
    transform: translateY(-4px);
}

.slider-arrow.down:hover {
    transform: translateY(4px);
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
}

.slide-dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.slide-dot.active {
    background-color: transparent;
    border-color: #ffffff;
    transform: scale(1.5);
}

/* Split Screen Layout */
.split-screen {
    display: flex;
    width: 100%;
    height: 100%;
}

.split-side {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #050505; /* Arka planı koyulaştırarak boşlukları gizler */
}

.split-side img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Kullanıcı görseli 1200x1200 kare yaptığı için cover kullanarak tüm alanı dolduruyoruz */
    transform: scale(1.1);
    transition: transform 2s ease-out;
}

.slide.active .split-side img {
    transform: scale(1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-video.flipped-video {
        object-position: 25% 50%; /* Videoyu mobilde kaydırmak için */
    }
    .hero-video.shift-right-mobile {
        object-position: 25% 50%; /* Profesyonel Yolculuk videosunu sağa kaydırmak için */
    }
    
    .about-section {
        width: 86%;
        left: 7%;
        max-width: none;
    }
    
    .brand-container {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .brand-name {
        order: 3;
        font-size: clamp(3.5rem, 12vw, 4.5rem) !important;
        text-align: center;
        justify-content: center;
    }
    
    .brand-copyright {
        display: none;
    }
    
    .brand-title {
        order: 1;
        font-weight: 700;
        text-align: center;
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
    
    .desktop-break {
        display: none;
    }
    
    .about-section.align-right,
    .about-section.align-center {
        width: 86%;
        left: 7%;
        right: auto;
        transform: translateY(-50%);
    }
    
    .about-columns {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .about-intro {
        margin-bottom: 25px;
    }
    
    .slider-pagination {
        right: 15px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 10px;
    }
    
    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .slide-dot {
        width: 10px;
        height: 10px;
    }
    
    .split-screen {
        flex-direction: column;
    }
    
    .hamburger-btn {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        top: 25px;
    }
    
    .hamburger-btn.active {
        left: auto;
        right: 25px;
        transform: none;
    }
    
    .lang-switcher {
        top: 75px;
    }
    
    .hamburger-btn.active + .lang-switcher {
        right: 25px;
        left: auto;
        transform: none;
    }
}

/* Page Navigation Arrows */
.page-arrow {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.page-arrow:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.page-arrow.up {
    bottom: 180px;
    top: auto;
}

.page-arrow.home {
    bottom: 110px;
}

.page-arrow.down {
    bottom: 40px;
}

.page-arrow.up svg {
    animation: bounceInnerUp 2.5s infinite ease-in-out;
}

.page-arrow.down svg {
    animation: bounceInnerDown 2.5s infinite ease-in-out;
}

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

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

/* --- İletişim Sayfası Özel --- */
.contact-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 4;
}

.contact-slogan {
    font-family: 'Newsreader', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

.contact-info-bar {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.8s;
}

@keyframes fadeInUpCenter {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Downloads Flow */
.downloads-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: flex-start;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.0s;
}

.download-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.download-link:hover {
    opacity: 0.8;
}

.custom-pdf-icon {
    width: 48px;
    height: 48px;
    display: block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.download-link:hover .custom-pdf-icon {
    transform: scale(1.1);
}

.download-title {
    font-family: 'Montserrat', pacaembu, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Montserrat', pacaembu, sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 500;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.contact-item:hover {
    opacity: 0.7;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
}

.mobile-video {
    display: none;
}

/* --- Laptop and Smaller Desktop Adjustments --- */
@media (max-width: 1440px) {
    .about-section {
        max-width: 800px;
    }
    .about-section.align-right, .about-section.align-center {
        max-width: 550px;
    }
    .about-title {
        margin-bottom: 15px;
    }
    .about-intro {
        font-size: clamp(1rem, 1.2vw, 1.2rem);
        margin-bottom: 25px;
    }
    .contact-slogan {
        font-size: clamp(2rem, 3.5vw, 3.2rem);
    }
}

/* --- Height adjustments for smaller laptops --- */
@media (max-height: 800px) and (min-width: 769px) {
    .about-title {
        margin-bottom: 10px;
    }
    .about-intro {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .about-separator {
        margin-bottom: 15px;
    }
    .contact-slogan {
        font-size: 2.2rem;
    }
    .downloads-container {
        margin-top: 40px;
    }
    .page-arrow {
        width: 45px;
        height: 45px;
    }
    .page-arrow.up {
        bottom: 130px;
    }
    .page-arrow.home {
        bottom: 75px;
    }
    .page-arrow.down {
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .desktop-video {
        display: none;
    }
    
    .mobile-video {
        display: block;
    }

    .about-title {
        font-size: 1.2rem;
    }
    
    .about-text p {
        font-size: 0.85rem;
        font-weight: 500;
        line-height: 1.5;
    }

    .about-text p:last-child {
        margin-bottom: 0;
    }
    
    .about-intro {
        font-size: 0.95rem;
        font-weight: 500;
    }

    .contact-info-bar {
        margin-top: 40px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .downloads-container {
        margin-top: 80px;
        gap: 30px;
    }

    .custom-pdf-icon {
        width: 40px;
        height: 40px;
    }

    .download-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .page-arrow {
        width: 45px;
        height: 45px;
    }
    .page-arrow.up {
        bottom: 140px;
    }
    .page-arrow.home {
        bottom: 85px;
    }
    .page-arrow.down {
        bottom: 30px;
    }
}
