/* Evyap Kariyer Sitesi - Ana CSS Dosyası */

/* ================================================
   CSS VARIABLES & GLOBAL STYLES
   ================================================ */

:root {
    /* Color Palette */
    --primary-color: #102390;
    --secondary-color: #E37C83;
    --yellow-color: #F7CE00;
    --dark-color: #131211;
    --gray-light: #F6F3F2;
    --background-light: #F0F0F5;
    --background-white: #FFFFFF;
    --text-white: #FFFFFF;
    
    /* Font Families */
    --font-lexend: 'Lexend', sans-serif;
    --font-space-grotesk: 'Space Grotesk', sans-serif;
    
    /* Common Sizes */
    --border-radius: 16px;
    --border-radius-large: 32px;
    --border-radius-button: 100px;
    --section-padding: 80px;
    --container-max-width: 1512px;
    
    /* Animation */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Z-index layers */
    --z-background: 1;
    --z-content: 5;
    --z-overlay: 10;
    --z-modal: 100;
    --z-tooltip: 1000;
}

/* ================================================
   RESET & BASE STYLES
   ================================================ */

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

body {
    font-family: var(--font-lexend);
    font-weight: 300;
    color: var(--dark-color);
    background-color: var(--background-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container-fluid {
    max-width: var(--container-max-width);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ================================================
   TYPOGRAPHY
   ================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-lexend);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 0;
}

.section-title {
    font-size: 48px;
    line-height: 1.3;
    color: var(--primary-color);
    letter-spacing: -1.44px;
    margin-top: 20px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.section-tag {
    font-family: var(--font-lexend);
    font-weight: 300;
    font-size: 14px;
    color: var(--dark-color);
    text-align: center;
}

.section-description {
    font-family: var(--font-lexend);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-color);
}

.hero-title {
    font-family: var(--font-lexend);
    font-weight: 300;
    font-size: 48px;
    line-height: 1.3;
    color: var(--text-white);
    letter-spacing: -1.44px;
    margin-bottom: 20px;
}

.hero-description {
    font-family: var(--font-lexend);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-white);
    max-width: 775px;
    margin: 0 auto;
}

/* ================================================
   BUTTONS
   ================================================ */

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius-button);
    padding: 20px 50px;
    font-family: var(--font-lexend);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    border: none;
    transition: var(--transition-fast);
    color: var(--text-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: #0d1e7a;
    border-color: #0d1e7a;
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 35, 144, 0.3);
}

.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 0 0 0.2rem rgba(16, 35, 144, 0.25);
}

.carousel-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--text-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: scale(1.05);
}

.carousel-btn i {
    font-size: 24px;
    color: var(--primary-color);
}

.carousel-btn:hover i {
    color: var(--text-white);
}

.carousel-btn img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: filter 0.3s ease;
}

.carousel-btn:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

.carousel-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-overlay);
    padding: 32px 0;
    background: transparent;
    transition: all 0.3s ease;
    backdrop-filter: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 35, 144, 0.2);
    padding: 16px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar-brand img,
.navbar-brand svg {
    height: 46px;
    transition: var(--transition-fast);
}

.navbar.scrolled .navbar-brand img,
.navbar.scrolled .navbar-brand svg {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 1;
}

.navbar.scrolled .nav-link {
    color: var(--primary-color) !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar.scrolled .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar.scrolled .nav-link.active::after {
    background: var(--primary-color);
}

.navbar.scrolled .navbar-toggler {
    border-color: var(--primary-color);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23102390' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Search button and language selector in sticky header */
.navbar.scrolled .nav-text {
    color: var(--primary-color) !important;
}

.navbar.scrolled .d-flex img[src*="icon-search"] {
    filter: brightness(0) saturate(100%) invert(6%) sepia(100%) saturate(10000%) hue-rotate(220deg) brightness(0.4) contrast(100%);
}

.navbar.scrolled .d-flex img[src*="icon-global"] {
    filter: brightness(0) saturate(100%) invert(6%) sepia(100%) saturate(10000%) hue-rotate(220deg) brightness(0.4) contrast(100%);
}

.navbar-nav .nav-link {
    color: var(--text-white);
    font-family: var(--font-lexend);
    font-weight: 300;
    font-size: 14px;
    margin: 0 15px;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link.active {
    color: var(--text-white);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
}

.navbar-nav .nav-link:hover {
    color: var(--yellow-color);
}

.nav-text {
    color: var(--text-white);
    font-family: var(--font-lexend);
    font-weight: 300;
    font-size: 14px;
}

/* ================================================
   HERO SECTIONS
   ================================================ */

.hero-section,
.hero-section-yasam {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2fa0 100%);
    min-height: 760px;
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Fixed navbar için boşluk */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-background);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Overlay - Video ve görsel üzerine overlay */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #343434;
    opacity: 0.7;
    z-index: 2;
    pointer-events: none;
}

/* Alternatif overlay sınıfları */
.hero-slide.overlay-primary::after {
    background-color: var(--primary-color);
    opacity: 0.7;
}

.hero-slide.overlay-dark::after {
    background-color: #343434;
    opacity: 0.7;
}

.hero-slide.overlay-custom::after {
    background-color: #343434;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: var(--z-content);
    padding: 120px 0;
    text-align: center;
}

.hero-underline {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.scribble {
    width: 276px;
    height: 28px;
}

/* Hero Dots */
.hero-dots {
    display: none; /* Varsayılan olarak gizli */
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    position: relative;
    z-index: var(--z-content);
}

.hero-dots.show {
    display: flex; /* Birden fazla slider varsa göster */
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    width: 30px;
    border-radius: 150px;
    background-color: var(--text-white);
}

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

/* ================================================
   COMMON SECTIONS
   ================================================ */

.section-container {
    background-color: var(--background-light);
    border-radius: 40px 40px 0 0;
    margin-top: -40px;
    position: relative;
    z-index: var(--z-content);
    padding: var(--section-padding) 0;
}

/* ================================================
   PDF POLICY MODAL STYLES
   ================================================ */

.policy-text {
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.4;
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    font-family: var(--font-lexend);
    color: var(--dark-color);
    word-wrap: break-word;
    word-break: break-word;
}

.policy-text::-webkit-scrollbar {
    width: 6px;
}

.policy-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.policy-text::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.policy-text::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ================================================
   FORMS
   ================================================ */

.contact-section {
    background-color: var(--background-white);
    border-radius: 40px 40px 0 0;
    padding: var(--section-padding) 0;
    position: relative;
}

.form-title {
    font-family: var(--font-lexend);
    font-weight: 300;
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 15px 0;
    background: transparent;
    font-family: var(--font-lexend);
    font-weight: 300;
    font-size: 14px;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-bottom-color: var(--primary-color);
    box-shadow: none;
    background: transparent;
}

.form-control.error {
    border-bottom-color: var(--secondary-color);
    color: var(--primary-color);
}

.error-text {
    color: var(--secondary-color);
    font-size: 10px;
    margin-top: 5px;
    display: none;
}

.error-text.show {
    display: block;
}

/* Privacy Agreement */
.privacy-agreement {
    text-align: center;
    margin: 30px 0;
}

.privacy-link {
    color: var(--dark-color);
    text-decoration: underline;
    font-size: 14px;
    line-height: 1.7;
}

.privacy-link:hover {
    color: var(--primary-color);
}

/* ================================================
   FOOTER
   ================================================ */

.footer-section {
    background-color: var(--primary-color);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../img/footer-pattern.svg') no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: var(--z-background);
}

.footer-top {
    padding: 120px 0 80px;
    position: relative;
    z-index: var(--z-content);
}

.footer-title {
    font-family: var(--font-lexend);
    font-weight: 300;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1.44px;
    margin-bottom: 40px;
}

.footer-content h2 {
    font-family: var(--font-lexend);
    font-weight: 300;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.96px;
    margin-bottom: 24px;
}

.footer-email {
    margin-top: 24px;
}

.footer-email a {
    color: var(--text-white);
    font-family: var(--font-space-grotesk);
    font-size: 24px;
    text-decoration: none;
    border-bottom: 2px solid var(--text-white);
    padding-bottom: 5px;
    transition: var(--transition-fast);
}

.footer-email a:hover {
    color: var(--yellow-color);
    border-bottom-color: var(--yellow-color);
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 20px;
}

.footer-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    line-height: 2.5;
    transition: var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--yellow-color);
}

.footer-contact h4 {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-item i {
    margin-top: 4px;
    color: var(--text-white);
}

.contact-item h5 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.6px;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    width: 48px;
    height: 48px;
    border: 1px solid var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    z-index: var(--z-content);
}

.social-links a:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
}

/* Footer Middle */
.footer-middle {
    background-color: var(--primary-color);
    padding: 40px 0;
    position: relative;
    z-index: var(--z-content);
}

.footer-middle .language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    font-size: 14px;
    justify-content: flex-start;
}

.footer-middle .social-links {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
}

.footer-middle .social-links a {
    width: 48px;
    height: 48px;
    border: 1px solid var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    z-index: var(--z-content);
}

.footer-middle .social-links a:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    background-color: var(--background-light);
    padding: 30px 0;
    position: relative;
    border-radius: 32px 32px 0 0;
    z-index: var(--z-content);
}

.footer-logo img,
.footer-logo svg {
    height: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--dark-color);
    font-size: 12px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    color: var(--dark-color);
    font-size: 12px;
    margin: 0;
}

.language-selector {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
    color: var(--dark-color);
    font-size: 14px;
}

/* ================================================
   FLOATING EFFECTS
   ================================================ */

.balloon-effect {
    position: fixed;
    width: 200px;
    height: 350px;
    background: url('../img/balloon.png') no-repeat center center;
    background-size: contain;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translateY(50px) scale(0.8);
    transition: all 1s ease-out;
}

.balloon-effect.visible {
    opacity: 0.3;
    transform: translateY(0) scale(1);
    animation: float 6s ease-in-out infinite;
}

.left-balloon {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.right-balloon {
    right: 20px;
    top: 40%;
    transform: translateY(-50%);
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) rotate(-2deg);
    }
    50% {
        transform: translateY(-60%) rotate(2deg);
    }
}

/* ================================================
   RESPONSIVE NAVBAR
   ================================================ */

@media (max-width: 768px) {
    .navbar {
        padding: 16px 0;
    }
    
    .navbar.scrolled {
        padding: 12px 0;
    }
    
    .balloon-effect {
        width: 120px;
        height: 200px;
    }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

.placeholder-image {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    font-family: var(--font-lexend);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.brand-placeholder {
    font-family: var(--font-lexend);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-color);
    text-align: center;
}

/* Loading States */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-normal);
}

.loaded .loading {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1200px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-title,
    .section-title,
    .footer-title {
        font-size: 40px;
    }
    
    .carousel-btn {
        width: 60px;
        height: 60px;
    }
    
    .carousel-btn i {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
    }
    
    .hero-title,
    .section-title,
    .footer-title {
        font-size: 32px;
    }
    
    .hero-description,
    .section-description {
        font-size: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-copyright {
        text-align: center;
        margin-top: 20px;
    }
    
    .language-selector {
        justify-content: center;
    }
    
    .balloon-effect {
        display: none;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .carousel-btn i {
        font-size: 16px;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 0 0 16px 16px;
        padding: 20px;
        margin-top: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse.show .nav-link,
    .navbar-collapse.collapsing .nav-link {
        color: var(--primary-color) !important;
        padding: 10px 0;
        border-bottom: 1px solid rgba(16, 35, 144, 0.1);
    }

    .navbar-collapse.show .nav-link:hover,
    .navbar-collapse.collapsing .nav-link:hover {
        color: var(--secondary-color) !important;
    }

    .navbar-collapse.show .nav-link.active::after,
    .navbar-collapse.collapsing .nav-link.active::after {
        background: var(--primary-color);
    }

    .navbar-collapse.show .nav-text,
    .navbar-collapse.collapsing .nav-text {
        color: var(--primary-color) !important;
    }

    .navbar-collapse.show .d-flex img[src*="icon-global"],
    .navbar-collapse.collapsing .d-flex img[src*="icon-global"] {
        filter: brightness(0) saturate(100%) invert(6%) sepia(100%) saturate(10000%) hue-rotate(220deg) brightness(0.4) contrast(100%);
    }

    .footer-email a {
        word-break: break-all;
        overflow-wrap: break-word;
        font-size: 20px;
    }

    .footer-middle .social-links {
        text-align: center !important;
        margin-top: 20px;
    }

    .footer-middle .language-selector {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title,
    .section-title,
    .footer-title {
        font-size: 24px;
    }
    
    .hero-content {
        padding: 40px 0 60px;
    }
    
    .footer-top {
        padding: 60px 0 40px;
    }
    
    .btn-primary {
        padding: 16px 32px;
        font-size: 12px;
    }

    .footer-email a {
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .balloon-effect,
    .carousel-btn,
    .hero-dots {
        display: none;
    }
    
    .hero-section,
    .hero-section-yasam {
        background: var(--primary-color);
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
}
