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

body {
    font-family: 'Arial', sans-serif;
    background-color: transparent;
    color: #000000;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

html {
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.navbar.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

/* Navbar içindeki logo ve links - sadece navbar görünürken */
.navbar .logo,
.navbar .nav-links {
    display: block;
}

/* Floating Logo - navbar'dan bağımsız */
.floating-logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #000000;
    position: fixed;
    bottom: 30px;
    left: 30px;
    transform: translateY(100px) rotate(-90deg);
    transform-origin: left center;
    z-index: 1001;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, visibility 0.6s ease;
    white-space: nowrap;
}

.floating-logo.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) rotate(-90deg);
}

.floating-logo.at-footer {
    bottom: auto;
    left: 50%;
    top: auto;
    transform: translateX(-50%) translateY(-50px) rotate(0deg);
    opacity: 0;
    visibility: hidden;
}

.floating-logo.at-footer.visible {
    transform: translateX(-50%) translateY(0) rotate(0deg);
    opacity: 0;
    visibility: hidden;
}

.floating-logo.leaving {
    bottom: 30px;
    left: 30px;
    transform: translateY(100px) rotate(-90deg);
    transform-origin: left center;
    opacity: 0;
    visibility: hidden;
}

/* Floating Nav Links - navbar'dan bağımsız */
.floating-nav-links {
    display: flex;
    gap: 30px;
    position: fixed;
    top: 22%;
    right: 15px;
    flex-direction: row;
    transform: translateY(-50%) translateX(150px) rotate(90deg);
    transform-origin: center right;
    z-index: 1001;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, visibility 0.6s ease;
}

.floating-nav-links.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0) rotate(90deg);
}

.floating-nav-links.at-footer {
    position: fixed;
    bottom: auto;
    right: auto;
    left: 50%;
    top: auto;
    transform: translateX(-50%) translateY(-50px) rotate(0deg);
    flex-direction: row;
    gap: 50px;
    opacity: 0;
    visibility: hidden;
}

.floating-nav-links.at-footer.visible {
    transform: translateX(-50%) translateY(0) rotate(0deg);
    opacity: 0;
    visibility: hidden;
}

.floating-nav-links.leaving {
    top: 22%;
    right: 15px;
    transform: translateY(-50%) translateX(150px) rotate(90deg);
    transform-origin: center right;
    opacity: 0;
    visibility: hidden;
}

.floating-nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: opacity 0.3s;
}

.floating-nav-links a:hover {
    opacity: 0.7;
}

/* Navbar içindeki elementler */
.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 30px;
    flex-direction: row;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: opacity 0.3s;
    position: relative;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Header */
.header {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 400px; /* Mobile minimum height */
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Mobile header optimization */
@media (max-width: 768px) {
    .header {
        height: 60vh;
        min-height: 300px;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .header-video {
        object-position: center;
        display: block;
        visibility: visible;
        opacity: 1;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .header {
        height: 50vh;
        min-height: 250px;
    }
    
    .header-video {
        display: block;
        visibility: visible;
    }
}


/* Main Content */
.main-content {
    position: relative;
    z-index: 100;
    padding: 100px 10px 32px 10px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background-color: transparent;
    display: flex;
    flex-direction: column;
}

.content-section {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 101;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-bottom: 20px;
}

.content-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #000000;
}

.content-section p {
    font-size: 24px;
    color: #333333;
}

/* Sections Container - Section 2 ve 3 için wrapper */
.sections-container {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 20px 0;
    position: relative;
    align-items: start;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Section 1 - Center */
.content-section:first-of-type {
    margin: 20px auto;
    max-width: 1200px;
    width: 100%;
}

/* Placeholder Section Base */
.placeholder-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: none;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 100%;
    background-color: transparent;
    width: 100%;
}

/* Section 2 - Sola yaklaş */
.section-2 {
    transform: translateX(5%);
    justify-self: start;
    min-height: 50vh;
    width: 95%;
    max-width: 1000px;
    box-sizing: border-box;
}

/* Section 3 - Sola %50 yaklaş */
.section-3 {
    transform: translateX(5%);
    justify-self: start;
    min-height: 50vh;
    width: 95%;
    max-width: 1000px;
    box-sizing: border-box;
}


.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.section-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-placeholder {
    width: 100%;
    max-width: 500px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
}

.media-placeholder svg {
    width: 100%;
    height: 100%;
}

.section-video {
    width: 100%;
    max-width: 100%;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: block;
    visibility: visible;
    opacity: 1;
}

.section-image {
    width: 100%;
    max-width: 100%;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    /* Mobile performance optimization */
    will-change: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.section-2 .section-media,
.section-3 .section-media {
    width: 100%;
    max-width: 100%;
    min-width: 400px;
}

.section-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 280px;
    max-width: 500px;
}

.section-text h2 {
    font-size: 42px;
    margin-bottom: 0;
    color: #000000;
    font-weight: 700;
    line-height: 1.2;
}

.section-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Section Content Layout */
.section-2 .section-content {
    grid-template-columns: 1.2fr 1fr;
}

.section-2 .section-media {
    order: 1;
}

.section-2 .section-text {
    order: 2;
    min-width: 300px;
}

.section-3 .section-content {
    grid-template-columns: 1fr 1.2fr;
}

.section-3 .section-media {
    order: 2;
}

.section-3 .section-text {
    order: 1;
    min-width: 300px;
}


/* Triangles Container */
.triangles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0; /* Video (z-index: 1) ve metinlerin (z-index: 100-101) arkasında */
    overflow: visible;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    box-sizing: border-box;
    transform-origin: center center;
}

/* Footer */
.footer {
    position: relative;
    width: 100%;
    padding: 60px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 32px;
    margin-bottom: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-content.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #000000;
    margin-bottom: 5px;
}

.footer-nav-links {
    display: flex;
    gap: 30px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: 14px;
    padding: 5px 0;
}

.footer-nav-links a:hover {
    opacity: 0.7;
}

.footer-tagline {
    font-size: 16px;
    color: #666666;
    font-weight: 300;
    text-align: center;
    margin: 0;
    max-width: 600px;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.2);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.social-link.email:hover {
    background-color: #EA4335;
    color: white;
    border-color: transparent;
}

.footer-copyright {
    font-size: 12px;
    color: #999999;
    text-align: center;
    margin: 5px 0 0 0;
    font-weight: 300;
    line-height: 1.4;
}


/* Loader Screen */
.loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Loader Styles */
.loader {
    --path: #2f3545;
    --dot: rgb(191, 64, 191);
    --duration: 3s;
    width: 44px;
    height: 44px;
    position: relative;
    display: inline-block;
    margin: 0 16px;
}

.loader:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    display: block;
    background: var(--dot);
    top: 37px;
    left: 19px;
    transform: translate(-18px, -18px);
    animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg {
    display: block;
    width: 100%;
    height: 100%;
}

.loader svg rect,
.loader svg polygon,
.loader svg circle {
    fill: none;
    stroke: var(--path);
    stroke-width: 10px;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.loader svg polygon {
    stroke-dasharray: 145 76 145 76;
    stroke-dashoffset: 0;
    animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg rect {
    stroke-dasharray: 192 64 192 64;
    stroke-dashoffset: 0;
    animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg circle {
    stroke-dasharray: 150 50 150 50;
    stroke-dashoffset: 75;
    animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader.triangle {
    width: 48px;
}

.loader.triangle:before {
    left: 21px;
    transform: translate(-10px, -18px);
    animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

@keyframes pathTriangle {
    33% {
        stroke-dashoffset: 74;
    }

    66% {
        stroke-dashoffset: 147;
    }

    100% {
        stroke-dashoffset: 221;
    }
}

@keyframes dotTriangle {
    33% {
        transform: translate(0, 0);
    }

    66% {
        transform: translate(10px, -18px);
    }

    100% {
        transform: translate(-10px, -18px);
    }
}

@keyframes pathRect {
    25% {
        stroke-dashoffset: 64;
    }

    50% {
        stroke-dashoffset: 128;
    }

    75% {
        stroke-dashoffset: 192;
    }

    100% {
        stroke-dashoffset: 256;
    }
}

@keyframes dotRect {
    25% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(18px, -18px);
    }

    75% {
        transform: translate(0, -36px);
    }

    100% {
        transform: translate(-18px, -18px);
    }
}

@keyframes pathCircle {
    25% {
        stroke-dashoffset: 125;
    }

    50% {
        stroke-dashoffset: 175;
    }

    75% {
        stroke-dashoffset: 225;
    }

    100% {
        stroke-dashoffset: 275;
    }
}

/* Responsive - Mobile First Approach */

/* Touch-friendly minimum sizes (44x44px) */
a, button, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
}

/* Tablet and below */
@media (max-width: 1024px) {
    .section-content {
        gap: 40px;
    }
    
    .section-text h2 {
        font-size: 36px;
    }
}

/* Mobile - Standard */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 10px 15px; /* Touch-friendly padding */
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .logo {
        font-size: 20px;
    }

    .sections-container {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 15px;
    }

    .section-2,
    .section-3 {
        transform: none !important;
        justify-self: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .section-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 0 10px;
    }

    .section-2 .section-media,
    .section-3 .section-media {
        order: 1 !important;
        min-width: 100% !important;
    }

    .section-2 .section-text,
    .section-3 .section-text {
        order: 2 !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    .media-placeholder,
    .section-video,
    .section-image {
        max-width: 100%;
        height: 250px;
        border-radius: 8px;
    }
    
    .section-video {
        display: block;
        visibility: visible;
        opacity: 1;
        width: 100%;
        object-fit: cover;
        /* iOS Safari için */
        -webkit-playsinline: true;
    }

    .section-text h2 {
        font-size: clamp(24px, 6vw, 32px);
        line-height: 1.3;
    }

    .section-text p {
        font-size: clamp(16px, 4vw, 18px);
        line-height: 1.6;
    }

    .placeholder-section {
        max-width: 100%;
        padding: 20px 15px;
        min-height: auto;
    }
    
    /* Floating elements mobile optimization */
    .floating-logo {
        font-size: 20px;
        bottom: 20px;
        left: 20px;
        padding: 8px 12px;
        min-height: 44px;
    }
    
    .floating-nav-links {
        top: 15%;
        right: 10px;
        gap: 15px;
    }
    
    .floating-nav-links a {
        font-size: 12px;
        padding: 8px 12px;
        min-height: 44px;
    }
    
    /* Footer mobile */
    .footer {
        padding: 40px 15px 30px;
        gap: 15px;
    }
    
    .footer-content {
        gap: 12px;
    }
    
    .footer-logo {
        font-size: 20px;
        letter-spacing: 1.5px;
        margin-bottom: 0;
    }
    
    .footer-nav-links {
        flex-direction: row;
        gap: 20px;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-nav-links a {
        min-height: auto;
        padding: 5px 0;
        font-size: 13px;
    }
    
    .footer-copyright {
        font-size: 11px;
        margin-top: 5px;
        line-height: 1.3;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .section-text h2 {
        font-size: clamp(20px, 7vw, 28px);
    }

    .section-text p {
        font-size: clamp(14px, 4.5vw, 16px);
    }
    
    .media-placeholder,
    .section-video,
    .section-image {
        height: 200px;
    }
    
    .placeholder-section {
        padding: 15px 10px;
    }
    
    .floating-logo {
        font-size: 16px;
        bottom: 15px;
        left: 15px;
    }
    
    .floating-nav-links {
        top: 12%;
        right: 8px;
        gap: 10px;
    }
    
    .floating-nav-links a {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .footer {
        padding: 40px 15px 30px;
    }
    
    .footer {
        padding: 30px 12px 25px;
        gap: 12px;
    }
    
    .footer-content {
        gap: 10px;
    }
    
    .footer-logo {
        font-size: 18px;
        letter-spacing: 1px;
        margin-bottom: 0;
    }
    
    .footer-nav-links {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .footer-nav-links a {
        font-size: 12px;
        padding: 3px 0;
    }
    
    .footer-copyright {
        font-size: 10px;
        margin-top: 3px;
        line-height: 1.2;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .section-text h2 {
        font-size: 20px;
    }
    
    .section-text p {
        font-size: 14px;
    }
    
    .floating-logo {
        font-size: 14px;
    }
}

