/*
Theme Name: Ego Hotel v1
Theme URI: https://egoyazilim.com/
Author: Ego Yazılım
Author URI: https://egoyazilim.com/
Description: Ego Hotel v1 özel WordPress teması
Version: 1.0.0
Text Domain: egohotelv1
*/

html,
body {
    margin: 0;
    padding: 0;
}

/* =========================================================
   WORDPRESS MENU ADAPTATION
========================================================= */

.main-menu .navigation {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu .navigation > li {
    position: relative;
}

.main-menu .navigation > li > a {
    display: block;
}

.main-menu .navigation li {
    list-style: none;
}

.main-menu .navigation li.menu-item-has-children {
    position: relative;
}

.main-menu .navigation li.menu-item-has-children > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: var(--theme-color-dark, #111111);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
}

.main-menu .navigation li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .navigation li.menu-item-has-children > .sub-menu li {
    margin: 0;
    padding: 0;
}

.main-menu .navigation li.menu-item-has-children > .sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: #fff;
    text-decoration: none;
    line-height: 1.4;
}

.main-menu .navigation li.menu-item-has-children > .sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.main-menu .navigation > li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", sans-serif;
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
}

/* =========================================================
   PAGE TITLE / GENERIC PAGE CONTENT
========================================================= */

.page-title .text,
.archive-meta-top,
.single-meta-top {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.7;
}

.page-content-section img,
.blog-entry-content img {
    max-width: 100%;
    height: auto;
}

.page-content-section iframe,
.blog-entry-content iframe,
.blog-entry-content video {
    max-width: 100%;
}

.page-content-section {
    position: relative;
}

.page-content-section .page-content-inner {
    word-break: break-word;
}

.blog-entry-content p,
.blog-entry-content ul,
.blog-entry-content ol,
.blog-entry-content blockquote {
    margin-bottom: 20px;
}

.blog-entry-content h1,
.blog-entry-content h2,
.blog-entry-content h3,
.blog-entry-content h4,
.blog-entry-content h5,
.blog-entry-content h6 {
    margin-top: 30px;
    margin-bottom: 16px;
}

.blog-entry-content ul,
.blog-entry-content ol {
    padding-left: 22px;
}

.blog-entry-content a {
    word-break: break-word;
}

/* =========================================================
   SINGLE POST NAVIGATION
========================================================= */

.nav-links .prev,
.nav-links .next {
    width: 48%;
}

@media (max-width: 767.98px) {
    .nav-links {
        display: block;
    }

    .nav-links .prev,
    .nav-links .next {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* =========================================================
   ARCHIVE / HOME / SEARCH PAGINATION
========================================================= */

.news-block .post-info li a {
    color: inherit;
}

.news-block .post-info li a:hover {
    text-decoration: underline;
}

.theme-pagination-wrapper .page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
}

.theme-pagination-wrapper .page-numbers li {
    display: inline-block;
    margin: 0 4px;
}

.theme-pagination-wrapper .page-numbers a,
.theme-pagination-wrapper .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    text-decoration: none;
    transition: all 0.25s ease;
}

.theme-pagination-wrapper .page-numbers .current,
.theme-pagination-wrapper .page-numbers a:hover {
    background: var(--theme-color-dark, #111111);
    color: #fff;
    border-color: var(--theme-color-dark, #111111);
}

.archive-empty-state p {
    margin-top: 10px;
    margin-bottom: 0;
}

/* =========================================================
   THEME OPTIONS OUTPUT SUPPORT
   Template CSS already uses these vars:
   --theme-color1, --theme-color-dark, --title-font, --text-font...
   We only add safe bridge/override rules here.
========================================================= */

body {
    font-family: var(--text-font);
    color: var(--text-color);
}

p,
.text {
    color: var(--text-color);
    font-family: var(--text-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.sec-title h1,
.sec-title h2,
.sec-title h3 {
    font-family: var(--title-font);
    color: var(--headings-color);
}

.sub-title,
.btn-title,
.theme-btn,
.read-more,
.alt-font {
    font-family: var(--text-font2);
}

a {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover-color);
}

/* Buttons */
.theme-btn.btn-style-one,
.theme-btn.btn-style-two,
.theme-btn.btn-style-four,
.btn-style-one,
.btn-style-two,
.btn-style-four {
    border-color: var(--theme-color1);
}

.btn-style-one {
    color: var(--theme-color1);
}

.btn-style-one:before,
.btn-style-two,
.btn-style-four:before {
    background-color: var(--theme-color1);
}

.btn-style-two {
    background-color: var(--theme-color1);
    border-color: var(--theme-color1);
}

.btn-style-two:before {
    background-color: var(--theme-color-dark);
}

.btn-style-four {
    color: var(--theme-color1);
    border-color: var(--theme-color1);
}

/* Key accents */
.color1,
.text-theme-color1,
.list-style-one li .icon,
.list-style-two li .icon,
.social-icon-one li a:hover,
.main-header .ui-btn:hover,
.main-menu .navigation > li > a:hover,
.header-style-two .main-menu .navigation > li > a:hover,
.header-style-two .header-top .inner-box .top-left span .icon {
    color: var(--theme-color1);
}

.bg-theme-color1 {
    background-color: var(--theme-color1);
}

.bg-theme-color2 {
    background-color: var(--theme-color2);
}

.news-block .date,
.blog-details__date {
    background-color: var(--theme-color1);
}

.page-title:before,
.main-footer,
.footer-bottom {
    background-color: var(--theme-color-dark);
}

.footer-widget .widget-title,
.main-footer,
.main-footer a {
    color: #fff;
}

/* Header logo sanity */
.main-header .logo img,
.nav-logo img {
    display: block;
    /* max-width: 100%;
    height: auto; */
    max-height: 50px;
    width: auto;
}

/* Footer/platform links readability */
.main-footer .contact-list .list-info a,
.main-footer .user-links a{
    color: inherit;
}
.main-footer .social-icon a{
    color: var(--theme-color1) !important;
}

.main-footer .contact-list .list-info a:hover,
.main-footer .user-links a:hover{
    color: var(--theme-color1);
}
.main-footer .social-icon a:hover {
    color: var(--theme-color2) !important;
}

/* =========================================================
   WORDPRESS CONTENT HELPERS
========================================================= */

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

.wp-caption {
    max-width: 100%;
}

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

.wp-caption-text {
    font-size: 14px;
    margin-top: 8px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery .gallery-item {
    margin: 0;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* =========================================================
   SMALL CLEANUPS
========================================================= */

.custom-logo-link {
    display: inline-block;
}

.custom-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.mobile-menu-visible {
    overflow: hidden;
}

/* Fix */
.page-title:before {
    background: linear-gradient(180deg, rgba(17, 32, 33, 0.55), rgba(17, 32, 33, 0.15)) !important;
}

.page-title {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


.full-width-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* İçindeki banner zaten full çalışsın */
.full-width-section .banner-section-six {
    width: 100%;
}

.footer-widget .contact-list .inner .contact-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    padding-left: 0 !important;
    position: relative !important;
}

.footer-widget .contact-list .inner .contact-row .contact-icon {
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    display: inline-flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 2px 0 0 0 !important;
    position: static !important;
}

.footer-widget .contact-list .inner .contact-row .contact-icon i {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.footer-widget .contact-list .inner .contact-row .contact-text {
    flex: 1 1 auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6 !important;
}

.footer-widget .contact-list .inner .contact-row .contact-text a {
    color: inherit !important;
    text-decoration: none !important;
}

.footer-widget .contact-list .inner .contact-row .contact-text a:hover {
    text-decoration: underline !important;
}


@media (max-width: 991.98px) {
  /* Masaüstü menüyü kapat */
  .main-header .main-menu,
  .main-header .nav-outer .main-menu,
  .sticky-header .main-menu {
    display: none !important;
  }

  /* Header katmanları */
  /* .main-header,
  .main-header .main-box,
  .main-header .outer-box,
  .sticky-header,
  .sticky-header .inner-container,
  .sticky-header .nav-outer {
    position: relative;
  } */

  .main-header .outer-box,
  .sticky-header .nav-outer {
    z-index: 1001;
  }

  /* Hamburger her zaman görünür olsun */
  .main-header .mobile-nav-toggler,
  .sticky-header .mobile-nav-toggler {
    position: relative;
    z-index: 1002;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Sticky header görünürken de hamburger kaybolmasın */
  .sticky-header.fixed-header .mobile-nav-toggler {
    display: inline-flex !important;
  }

  /* Sticky header logo + toggler hizası */
  .sticky-header .inner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sticky-header .nav-outer {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  /* Yeni mobil menü sistemi */
  .mobile-menu-custom {
    position: fixed;
    inset: 0;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  body.mobile-menu-visible .mobile-menu-custom {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
  }

  .mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 100%;
    height: 100%;
    background: #222;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 2;
  }

  body.mobile-menu-visible .mobile-menu-panel {
    transform: translateX(0);
  }

  .mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-menu-logo img,
  .mobile-menu-logo .custom-logo {
    max-height: 50px;
    width: auto;
  }

  .mobile-menu-close {
    width: 36px;
    height: 36px;
    border: 0;
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
  }

  .mobile-menu-body {
    padding: 0;
  }

  .mobile-menu-nav,
  .mobile-menu-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-menu-nav > li,
  .mobile-menu-nav ul li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-menu-nav li {
    position: relative;
  }

  .mobile-menu-nav li a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
  }

  .mobile-menu-nav li.menu-item-has-children > a {
    padding-right: 52px;
  }

  .mobile-menu-nav li.menu-item-has-children > .submenu-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .mobile-menu-nav li > .sub-menu {
    display: none;
    background: rgba(255,255,255,0.03);
  }

  .mobile-menu-nav li.submenu-open > .sub-menu {
    display: block;
  }

  .mobile-menu-contact {
    margin-top: auto;
    padding-bottom: 20px;
  }
}

@media (min-width: 992px) {
  .mobile-menu-custom {
    display: none !important;
  }

  .main-header .mobile-nav-toggler,
  .sticky-header .mobile-nav-toggler {
    display: none !important;
  }
}

/* Sticky görünürlük */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transform: translateY(-100%);
    transition: all 0.3s ease;
    background: #111;
}

.sticky-header.fixed-header {
    transform: translateY(0);
}

@media (max-width: 991.98px) {

  /* Sticky header açıkken hamburger garanti görünür */
  .main-header.fixed-header .mobile-nav-toggler,
  .sticky-header .mobile-nav-toggler {
      display: inline-flex !important;
      z-index: 10000;
  }

}

@media (max-width: 991.98px) {
  .sticky-header .main-menu {
    display: none !important;
  }

  .sticky-header .mobile-nav-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.sticky-header {
    border-bottom: 2px solid var(--theme-color1) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-bottom-inner .left-text {
    text-align: left;
	color: #75727b;
}

.footer-bottom-inner .right-text {
    text-align: right;
	color: #75727b;
    margin-left: auto;
}

@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-bottom-inner .left-text,
    .footer-bottom-inner .right-text {
        text-align: center;
        margin-left: 0;
    }
}

.ana-whatsapp {
  position: fixed;
  z-index: 99999;
  left: 10px;
  bottom: 0px;
  border-radius: 25px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.ana-whatsapp a {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
  color: white;
  font-size: 10px;
}

.ana-whatsapp a:hover {
  background-color: #24cd63;
}

.ana-whatsapp {
  background: #24cd63;
  color: white;
}

/* ekleme */
.custom-h4 :hover {
	color: #000;
}

.header-style-four .main-menu .navigation > li > a:hover {
  color: var(--theme-color1) !important;
}

.page-content-inner > blockquote.wp-block-quote:empty,
.page-content-inner > blockquote.wp-block-quote p:empty {
    display: none;
    margin: 0;
    padding: 0;
}