/**
 * ALD GROUP - Landing Page Styles
 * Split-screen yaratıcı tasarım
 */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #FAFAFA;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Logo Overlay */
.logo-overlay {
    position: fixed;
    top: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: none;
}

.logo-image {
    max-width: 500px;
    width: 500px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
    display: block;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Split Container */
.split-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Split Section */
.split-section {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-section:hover {
    flex: 1.8;
}

.split-section:not(:hover) {
    flex: 0.7;
}

/* Section Background */
.section-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-section:hover .section-bg {
    transform: scale(1.05);
}

/* Beton Section Colors */
.beton-section {
    background: linear-gradient(135deg, #E8E4E0 0%, #D4CFC9 100%);
}

.beton-section .section-bg {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%),
        url('../../beton.jpg');
    background-size: cover;
    background-position: center;
}

.beton-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(139, 115, 85, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.beton-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, transparent 40%, rgba(196, 167, 125, 0.15) 100%);
    transform: rotate(45deg);
}

.beton-section .section-overlay {
    background: linear-gradient(to right, transparent, rgba(196, 167, 125, 0.15));
}

/* Ağır Vasıta Section Colors */
.agir-vasita-section {
    background: linear-gradient(135deg, #F0F0F0 0%, #E5E5E5 100%);
}

.agir-vasita-section .section-bg {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%),
        url('../../arac.png');
    background-size: cover;
    background-position: center;
}

.agir-vasita-section::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(226, 185, 59, 0.3);
    animation: float 5s ease-in-out infinite reverse;
}

.agir-vasita-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 15%;
    width: 80px;
    height: 80px;
    background: rgba(226, 185, 59, 0.1);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: spin 20s linear infinite;
}

.agir-vasita-section .section-overlay {
    background: linear-gradient(to left, transparent, rgba(226, 185, 59, 0.15));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Section Overlay */
.section-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.split-section:hover .section-overlay {
    opacity: 1;
}

/* Section Content */
.section-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0.8;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-section:hover .section-content {
    transform: translateY(0);
    opacity: 1;
}

/* Section Label */
.section-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.beton-section .section-label {
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.agir-vasita-section .section-label {
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Section Title */
.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 1rem;
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.beton-section .section-title {
    color: #FFFFFF;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.agir-vasita-section .section-title {
    color: #FFFFFF;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.split-section:hover .section-title {
    transform: translateY(0);
}

/* Section Tagline */
.section-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.beton-section .section-tagline {
    color: #FFFFFF;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.agir-vasita-section .section-tagline {
    color: #FFFFFF;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.split-section:hover .section-tagline {
    opacity: 1;
    transform: translateY(0);
}

/* Section CTA */
.section-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: 1px solid currentColor;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.beton-section .section-cta {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.2);
}

.beton-section .section-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
}

.agir-vasita-section .section-cta {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.2);
}

.agir-vasita-section .section-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
}

.split-section:hover .section-cta {
    opacity: 1;
    transform: translateY(0);
}

.cta-text {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.cta-arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.section-cta:hover .cta-arrow {
    transform: translateX(5px);
}

/* Split Divider */
.split-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    z-index: 50;
    transform: translateX(-50%);
    pointer-events: none;
}

.divider-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 20%,
        rgba(0, 0, 0, 0.1) 80%,
        transparent 100%
    );
}

/* Custom Cursor */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: 
        width 0.3s ease,
        height 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}


/* Responsive */
@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .split-section {
        flex: 1 !important;
    }

    .split-section:hover {
        flex: 1.5 !important;
    }

    .split-divider {
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        transform: translateY(-50%);
    }

    .divider-line {
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.1) 20%,
            rgba(0, 0, 0, 0.1) 80%,
            transparent 100%
        );
    }

    .logo-overlay {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        animation: none !important;
        opacity: 1 !important;
    }
    
    .logo-image {
        max-width: 280px;
        width: 280px;
    }

    .logo-text {
        font-size: 1.25rem;
        letter-spacing: 0.3em;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-tagline {
        font-size: 0.875rem;
    }

    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.split-section {
    animation: fadeInUp 0.8s ease forwards;
}

.beton-section {
    animation-delay: 0.2s;
}

.agir-vasita-section {
    animation-delay: 0.4s;
}

.logo-overlay {
    animation: logoFadeIn 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Floating Particles */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.particle-1 {
    width: 10px;
    height: 10px;
    background: #C4A77D;
    top: 20%;
    left: 15%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-2 {
    width: 6px;
    height: 6px;
    background: #E2B93B;
    top: 60%;
    right: 20%;
    animation: particleFloat 6s ease-in-out infinite reverse;
}

.particle-3 {
    width: 8px;
    height: 8px;
    background: #8B7355;
    bottom: 30%;
    left: 25%;
    animation: particleFloat 10s ease-in-out infinite;
}

.particle-4 {
    width: 4px;
    height: 4px;
    background: #B8941F;
    top: 40%;
    right: 30%;
    animation: particleFloat 7s ease-in-out infinite reverse;
}

.particle-5 {
    width: 12px;
    height: 12px;
    border: 1px solid #C4A77D;
    background: transparent;
    bottom: 20%;
    right: 15%;
    animation: particleFloat 9s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-10px, -50px) rotate(180deg);
    }
    75% {
        transform: translate(30px, -20px) rotate(270deg);
    }
}


/* Mini Footer */
.mini-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    z-index: 100;
}

.mini-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.mini-footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mini-footer-contact a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.mini-footer-contact a:hover {
    color: white;
}

.mini-footer .divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

.mini-footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mini-footer-copy a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.mini-footer-copy a:hover {
    color: white;
}

@media (max-width: 768px) {
    .mini-footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .mini-footer-contact {
        flex-wrap: wrap;
        justify-content: center;
    }
}
