/* ==========================================
   Adort Mimarlik Website Styles
   ========================================== */

/* Font Face */
@font-face {
    font-family: 'Montserrat';
    src: url('../../font/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #ff2c2e;
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-color: #333333;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 3rem;
    font-weight: 500;
}

h3 {
    font-size: 2rem;
    font-weight: 500;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    display: block;
    font-weight: 500;
}

.lead p {
    font-weight: 500;
}

mark {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-1 { width: 8.333%; }
.col-2 { width: 16.666%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333%; }
.col-5 { width: 41.666%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333%; }
.col-8 { width: 66.666%; }
.col-9 { width: 75%; }
.col-10 { width: 83.333%; }
.col-11 { width: 91.666%; }
.col-12 { width: 100%; }

[class*="col-"] {
    padding: 0 15px;
}

.ms-auto {
    margin-left: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* Spacing Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mt-8 { margin-top: 4rem; }
.mt-10 { margin-top: 5rem; }
.mt-13 { margin-top: 6.5rem; }
.mt-15 { margin-top: 7.5rem; }

.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 4rem; }
.mb-10 { margin-bottom: 5rem; }
.mb-12 { margin-bottom: 6rem; }
.mb-13 { margin-bottom: 6.5rem; }
.mb-15 { margin-bottom: 7.5rem; }

.my-10 { margin-top: 5rem; margin-bottom: 5rem; }
.my-12 { margin-top: 6rem; margin-bottom: 6rem; }

.py-10 { padding-top: 5rem; padding-bottom: 5rem; }
.py-12 { padding-top: 6rem; padding-bottom: 6rem; }
.py-13 { padding-top: 6.5rem; padding-bottom: 6.5rem; }
.py-15 { padding-top: 7.5rem; padding-bottom: 7.5rem; }
.py-16 { padding-top: 8rem; padding-bottom: 8rem; }

.pt-10 { padding-top: 5rem; }
.pb-13 { padding-bottom: 6.5rem; }

/* Content Wrapper */
.content-wrapper {
    min-height: 100vh;
}

/* Header & Logo */
.logo-dark,
.logo-light,
.logo-desktop,
.logo-mobile {
    max-width: 80px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Desktop'ta sadece desktop logo */
.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

/* Menu Button */
.menu-button {
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--black);
    position: relative;
    cursor: pointer;
    margin-top: 1rem;
}

.menu-button::before,
.menu-button::after {
    content: '';
    position: absolute;
    left: 10px;
    width: 20px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.menu-button::before {
    top: 15px;
}

.menu-button::after {
    top: 23px;
}

.menu-button:hover::before,
.menu-button:hover::after {
    background-color: var(--primary-color);
}

/* Video Background */
.videoDiv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -9999;
    overflow: hidden;
}

.videoDiv video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Mobile Video Optimization */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Video mobilde fit - taşmaması için */
    .videoDiv {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }
    
    .videoDiv video {
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        object-fit: cover !important;
        object-position: center center !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
    }
    
    /* Mobilde sadece mobile logo */
    .logo-desktop {
        display: none !important;
    }
    
    .logo-mobile {
        display: block !important;
        max-width: 100px !important;
        width: 100px !important;
        height: auto !important;
    }
    
    /* Col-1 mobilde daha geniş logo için */
    .col-1 {
        width: 25%;
    }
    
    /* Col-10 ve col-11 tam genişlik */
    .col-10, .col-11 {
        width: 100%;
        margin-left: 0;
    }
    
    /* Spacing mobilde azalt */
    .mt-10 { margin-top: 2rem; }
    .mb-8 { margin-bottom: 2rem; }
    
    /* Menu button mobilde */
    .menu-button {
        width: 35px;
        height: 35px;
    }
    
    .menu-button::before,
    .menu-button::after {
        left: 8px;
        width: 18px;
    }
    
    .menu-button::before {
        top: 13px;
    }
    
    .menu-button::after {
        top: 20px;
    }
    
    /* Sound button mobilde küçült */
    .soundMainDiv {
        top: 15px;
        right: 15px;
    }
    
    .sound {
        width: 40px;
        height: 40px;
    }
    
    .sound i {
        font-size: 16px;
    }
    
    /* Container padding mobilde azalt */
    .container {
        padding: 0 1rem;
    }
}

/* Sound Control */
.soundMainDiv {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.sound {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.sound:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.sound i {
    font-size: 20px;
}

/* Sections */
section {
    position: relative;
    z-index: 1;
}

.bg-primary {
    background-color: var(--primary-color) !important;
    color: var(--white);
}

.bg-black {
    background-color: var(--black) !important;
    color: var(--white);
}

.text-white {
    color: var(--white) !important;
}

/* Stats Section */
.d-flex {
    display: flex;
    align-items: center;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-end {
    align-items: flex-end;
}

/* Stats container - side by side layout */
.d-xl-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
}

.d-xl-flex > .d-flex {
    flex: 1 1 calc(25% - 2rem);
    min-width: 220px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.d-xl-flex h5 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1;
    white-space: nowrap;
}

.d-xl-flex p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.me-1 { margin-right: 0.5rem; }
.me-3 { margin-right: 1.5rem; }
.me-4 { margin-right: 2rem; }

.mb-5 { margin-bottom: 2rem; }

.me-xl-1 {
    margin-right: 0.5rem;
}

@media (min-width: 1200px) {
    .mb-xl-0 {
        margin-bottom: 0 !important;
    }
    
    .me-xl-1 {
        margin-right: 1.5rem;
    }
}

/* Custom Icons */
.icon-proje::before,
.icon-deneyim::before,
.icon-alan::before,
.icon-firma::before {
    font-size: 50px;
    font-weight: 300;
}

.fs-15 { font-size: 15px; }
.fs-30 { font-size: 30px; }
.fs-44 { font-size: 44px; }
.fs-50 { font-size: 50px; }
.fs-55 { font-size: 55px; }

sup {
    font-size: 0.75em;
    vertical-align: super;
}

/* Images */
figure {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.icon-img {
    max-width: 80px;
}

/* Brand/References Grid */
.brands {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.brand {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.brand figure {
    width: 100%;
}

.brand img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.brand:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-footer .nav-link {
    font-size: 2rem;
    padding: 1rem 2rem 1rem 0;
    font-weight: 700;
}

.justify-content-center {
    justify-content: center;
}

.nav-link .icon-instagram::before,
.nav-link .icon-linkedin::before,
.nav-link .icon-youtube::before {
    font-size: 24px;
}

/* Modal Menu */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.fade.show {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    width: 40%;
    max-width: 500px;
    height: 100%;
    margin: 0;
}

.modal-fullscreen .modal-content {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--white);
    backdrop-filter: blur(3px);
}

.modal .btn-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
}

.modal .container {
    background: transparent !important;
    padding: 3rem;
}

.modal .nav {
    flex-direction: column;
}

.modal .nav-link {
    font-size: 3rem;
    color: var(--white);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.modal .nav-link:hover {
    color: var(--primary-color);
    padding-left: 2rem;
}

.flex-column {
    flex-direction: column;
}

.h-100 {
    height: 100%;
}

.align-self-start {
    align-self: flex-start;
}

.mt-auto {
    margin-top: auto;
}

.translateSite {
    text-transform: lowercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--black);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Text Utilities */
.text-uppercase {
    text-transform: uppercase;
}

/* Position */
.position-relative {
    position: relative;
}

.position-fixed {
    position: fixed;
}

/* Display */
.d-block {
    display: block;
}

.d-inline-block {
    display: inline-block;
}

.d-none {
    display: none;
}

/* Responsive */
@media (min-width: 1200px) {
    .d-xl-flex {
        display: flex !important;
        flex-wrap: nowrap;
    }
    
    .mb-xl-0 {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 1200px) {
    .brands {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    .brands {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .col-lg-3 {
        width: 25%;
    }
    
    .col-lg-5 {
        width: 41.666%;
    }
    
    .col-lg-7 {
        width: 58.333%;
    }
    
    .col-lg-10 {
        width: 83.333%;
    }
    
    .d-lg-flex {
        display: flex;
    }
    
    .d-xl-flex {
        flex-wrap: wrap;
    }
    
    .d-xl-flex > .d-flex {
        flex: 1 1 calc(50% - 1rem);
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .brands {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .approach-values {
        flex-direction: column;
    }
    
    .approach-values .col-md-6 {
        width: 80%;
    }
    
    .team-members-row {
        flex-direction: column;
        align-items: center;
    }
    
    .team-members-row .col-md-4 {
        width: 80%;
        max-width: 400px;
    }
    
    .d-xl-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .d-xl-flex > .d-flex {
        width: 100%;
        flex: 1 1 100%;
        min-width: auto;
    }
    
    .col-md-4 {
        width: 33.333%;
    }
    
    .col-md-6 {
        width: 50%;
    }
    
    .col-md-11 {
        width: 91.666%;
    }
    
    .col-md-12 {
        width: 100%;
    }
    
    .d-md-block {
        display: block;
    }
    
    .nav-footer .nav-link {
        font-size: 1.5rem;
    }
    
    .modal .nav-link {
        font-size: 2rem;
    }
    
    .mt-md-10 {
        margin-top: 5rem;
    }
    
    .mt-md-13 {
        margin-top: 6.5rem;
    }
    
    .mt-md-15 {
        margin-top: 7.5rem;
    }
    
    .mt-md-20 {
        margin-top: 10rem;
    }
    
    .mb-md-10 {
        margin-bottom: 5rem;
    }
    
    .mb-md-12 {
        margin-bottom: 6rem;
    }
    
    .mb-md-13 {
        margin-bottom: 6.5rem;
    }
    
    .py-md-13 {
        padding-top: 6.5rem;
        padding-bottom: 6.5rem;
    }
    
    .py-md-16 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

@media (max-width: 576px) {
    .brands {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal .nav-link {
        font-size: 1.5rem;
    }
    
    .approach-values-full {
        flex-direction: column;
        gap: 3rem;
    }
    
    .approach-values-full > div {
        max-width: 200px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.gx-lg-0 {
    margin-left: 0;
    margin-right: 0;
}

.gx-xl-12 > * {
    padding-left: 6rem;
    padding-right: 6rem;
}

.gx-xl-15 > * {
    padding-left: 7.5rem;
    padding-right: 7.5rem;
}

.gy-10 > * {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.gy-15 > * {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
}

.g-3 {
    gap: 1.5rem;
}

/* Values Section - Icons bigger and side by side */
.approach-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.approach-values .col-md-6 {
    width: 22%;
    min-width: 200px;
}

.approach-values img {
    max-width: 120px !important;
    width: 100%;
    margin: 0 auto 2rem;
}

.approach-values h6 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Values Section - Full Width */
.values-full-section {
    padding: 5rem 0;
    background-color: #fff;
}

.values-full-section .container {
    max-width: 100%;
    padding: 0;
}

.approach-values-full {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 0 2rem;
}

.approach-values-full > div {
    flex: 1 1 200px;
    max-width: 250px;
}

.approach-values-full img {
    max-width: 150px !important;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

.approach-values-full h6 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

/* Team Section - Side by side layout */
.team-members-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.team-members-row .col-md-4 {
    width: 30%;
    min-width: 250px;
}

/* Custom Data Attributes for Admin Panel */
[data-editable] {
    position: relative;
}

[data-editable]:hover::after {
    content: '✎';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 3px;
    display: none; /* Will be shown when admin is logged in */
}
