/* ==========================================================================
   NETİŞ YAPI & PLANLAMA - STANDALONE SITE CSS
   Pure Custom Stylesheet (100% WordPress & Elementor Free)
   ========================================================================== */

/* --- 1. RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Outfit', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* --- 2. HEADER & NAVIGATION --- */
.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Home Header (Transparent initially) */
.site-header.is-home {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Sticky Header on Home (After scroll) */
.site-header.is-home.is-sticky {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Inner Pages Header (Always solid white) */
.site-header.is-inner {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.3s ease;
}

.site-header.is-sticky .header-inner {
    height: 70px;
}

/* Brand Logo */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.site-logo img {
    height: 38px;
    width: auto;
    max-height: 42px;
    object-fit: contain;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-logo:hover img {
    transform: scale(1.02);
}

/* Logo toggling for Home header */
.site-header.is-home:not(.is-sticky) .logo-dark {
    display: none !important;
}
.site-header.is-home:not(.is-sticky) .logo-light {
    display: block !important;
}

.site-header.is-home.is-sticky .logo-light {
    display: none !important;
}
.site-header.is-home.is-sticky .logo-dark {
    display: block !important;
}

.site-header.is-inner .logo-light {
    display: none !important;
}
.site-header.is-inner .logo-dark {
    display: block !important;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu li a {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 10px;
    transition: color 0.25s ease;
}

/* Nav Link Colors */
.site-header.is-home:not(.is-sticky) .nav-menu li a {
    color: #ffffff;
}

.site-header.is-home:not(.is-sticky) .nav-menu li a:hover,
.site-header.is-home:not(.is-sticky) .nav-menu li a.active {
    color: #FAB702 !important;
}

.site-header.is-home.is-sticky .nav-menu li a,
.site-header.is-inner .nav-menu li a {
    color: #333333;
}

.site-header.is-home.is-sticky .nav-menu li a:hover,
.site-header.is-home.is-sticky .nav-menu li a.active,
.site-header.is-inner .nav-menu li a:hover,
.site-header.is-inner .nav-menu li a.active {
    color: #FAB702 !important;
}

/* Nav Separator (Dotted Separator) */
.nav-separator {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: #FAB702;
    border-radius: 50%;
    margin: 0 16px;
    opacity: 0.9;
}

/* Mobile Hamburger Button */
.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 22px;
    line-height: 1;
    color: #333333;
    transition: color 0.25s ease;
}

.site-header.is-home:not(.is-sticky) .mobile-toggle-btn {
    color: #ffffff;
}

.site-header.is-home.is-sticky .mobile-toggle-btn,
.site-header.is-inner .mobile-toggle-btn {
    color: #222222;
}

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    padding: 25px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.is-open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 20px;
}

.drawer-close-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333333;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.drawer-close-btn:hover {
    color: #FAB702;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.mobile-nav-menu li a {
    display: block;
    padding: 14px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333333;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-menu li a:hover,
.mobile-nav-menu li a.active {
    color: #FAB702;
    padding-left: 8px;
}

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }
    .mobile-toggle-btn {
        display: block;
    }
}

/* --- 3. PAGE HEADER BANNER (FOR INNER PAGES) --- */
.page-header {
    background: #181818;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/images/wp-content/uploads/2023/12/01_View020001-copy-scaled.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 0 60px 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #222222;
}

.page-header .page-title {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

/* --- 4. ELEMENTOR COMPATIBILITY LAYOUTS --- */
.elementor {
    box-sizing: border-box;
}

.elementor-element {
    box-sizing: border-box;
}

.e-con {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.e-con-boxed {
    width: 100%;
}

.e-con-boxed > .e-con-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.e-con-full {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.e-con-child {
    display: flex;
    flex-direction: column;
}

.e-flex {
    display: flex;
}

/* About Page styles are now modularly handled in app/Views/partials/about_css.php */

/* General Button (octf-btn) */
.octf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 45px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid #111111;
    color: #111111;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.octf-btn:hover {
    background-color: #111111;
    color: #ffffff;
}

.octf-btn svg, .octf-btn i {
    width: 9px;
    height: 9px;
    fill: currentColor;
    transition: transform 0.2s ease, fill 0.2s ease;
}

.octf-btn:hover svg, .octf-btn:hover i {
    fill: #FAB702;
    color: #FAB702;
    transform: translateX(4px);
}

/* Contact Page Layout */
.elementor-74 .elementor-element-95e03cd iframe {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
}

.elementor-74 .elementor-element-c25a128 {
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.elementor-74 .elementor-element-a945960 {
    flex: 1 1 60%;
}

.elementor-74 .elementor-element-9771d4d {
    flex: 1 1 30%;
}

.elementor-74 h3.elementor-heading-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 25px;
}

/* Contact Form Inputs */
#contact_form input[type="text"],
#contact_form input[type="email"],
#contact_form textarea {
    width: 100%;
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 14px 18px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    color: #333333;
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

#contact_form input:focus,
#contact_form textarea:focus {
    border-color: #FAB702;
    background-color: #ffffff;
}

#contact_form input[type="submit"],
#contact_form .octf-btn {
    background-color: #FAB702;
    border-color: #FAB702;
    color: #111111;
    font-weight: 600;
}

#contact_form input[type="submit"]:hover,
#contact_form .octf-btn:hover {
    background-color: #111111;
    border-color: #111111;
    color: #FAB702;
}

/* Contact Info Item Rows */
.elementor-74 .elementor-element-7294fe2,
.elementor-74 .elementor-element-393d7e5,
.elementor-74 .elementor-element-e88224b {
    display: flex;
    align-items: baseline;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eeeeee;
}

.elementor-74 .elementor-element-9d53f83 .elementor-heading-title,
.elementor-74 .elementor-element-d3556ac .elementor-heading-title,
.elementor-74 .elementor-element-99dfec2 .elementor-heading-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FAB702;
    min-width: 75px;
}

.elementor-74 p {
    font-size: 14px;
    color: #555555;
    margin: 0;
}

/* Project Detail Layout */
.elementor-4851 {
    padding: 60px 0;
}

.elementor-4851 .elementor-element-305685c .e-con-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.elementor-4851 .elementor-element-5d48b0f {
    flex: 1 1 55%;
}

.elementor-4851 .elementor-element-12c580b {
    flex: 1 1 35%;
}

.elementor-4851 h2.elementor-heading-title {
    font-family: 'Dosis', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 15px;
}

.ot-gallery.gallery-column-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.ot-gallery__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 3px;
}

.ot-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.ot-gallery__item:hover img {
    transform: scale(1.06);
}

/* Single Project Navigation */
.project-bottom {
    padding: 40px 0 60px 0;
    border-top: 1px solid #eeeeee;
    margin-top: 40px;
}

.single-project-navigation {
    margin-bottom: 50px;
}

.post-prev a, .post-next a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-prev img, .post-next img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 3px;
}

.info-post-prev h6, .info-post-next h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-post-prev span, .info-post-next span {
    font-size: 11px;
    color: #FAB702;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- 5. CLEAN STANDALONE FOOTER --- */
.site-footer {
    background-color: #111111;
    color: #cccccc;
    padding-top: 70px;
    font-family: 'Outfit', 'Poppins', sans-serif;
}

.footer-main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.footer-col-logo {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-col-logo img {
    max-height: 42px;
    width: auto;
    margin-bottom: 20px;
}

.footer-col-logo p {
    font-size: 13px;
    color: #888888;
    line-height: 1.8;
    max-width: 400px;
}

.footer-col-contact h3 {
    font-family: 'Dosis', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-contact-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #222222;
    font-size: 13px;
}

.footer-contact-item .label {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #FAB702;
    font-size: 12px;
    text-transform: uppercase;
    min-width: 70px;
}

.footer-contact-item a,
.footer-contact-item span.val {
    color: #cccccc;
}

.footer-contact-item a:hover {
    color: #FAB702;
}

.footer-bottom {
    background-color: #0b0b0b;
    border-top: 1px solid #1a1a1a;
    padding: 24px 0;
}

.footer-bottom-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: #888888;
}

.footer-copyright a {
    color: #FAB702;
    font-weight: 500;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1a1a1a;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.25s ease;
}

.footer-social-links a:hover {
    background: #FAB702;
    color: #111111;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .ot-gallery.gallery-column-3 {
        grid-template-columns: 1fr;
    }
}
