/* ============================================================
   DEMOSAN – Modern Design System Override
   Aesthetic Direction: Refined Turkish Luxury
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ================================================================
   1. DESIGN TOKENS
================================================================ */
:root {
  --gold:          #C9A96E;
  --gold-light:    #E4CFA0;
  --gold-dark:     #9A7040;
  --bg:            #07060A;
  --bg-2:          #100F14;
  --bg-3:          #19171E;
  --bg-4:          #221F28;
  --text:          #8A7D6E;
  --text-light:    #C0B09A;
  --white:         #F5EFE6;
  --transition:    all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ================================================================
   2. CABINET INTRO OVERLAY
================================================================ */
#cabinet-intro {
  position:   fixed;
  inset:      0;
  z-index:    9999;
  background: var(--bg);
  display:    flex;
  align-items:     center;
  justify-content: center;
}

#cabinet-canvas {
  position: absolute;
  inset:    0;
  width:    100%;
  height:   100%;
  display:  block;
}

.ci-brand {
  position:  absolute;
  bottom:    10%;
  left:      50%;
  transform: translateX(-50%);
  text-align: center;
  z-index:   10;
  animation: ciBrandFadeIn 1.4s ease 0.6s both;
  white-space: nowrap;
}

.ci-brand-name {
  font-family:    'Cormorant Garamond', serif;
  font-size:      clamp(38px, 7vw, 88px);
  font-weight:    300;
  color:          var(--white);
  letter-spacing: 0.52em;
  text-indent:    0.52em;
  line-height:    1;
}

.ci-brand-divider {
  width:      90px;
  height:     1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin:     18px auto;
}

.ci-brand-sub {
  font-family:    'DM Sans', sans-serif;
  font-size:      clamp(9px, 1.1vw, 13px);
  font-weight:    300;
  letter-spacing: 0.45em;
  color:          var(--gold);
  text-transform: uppercase;
}

.ci-brand-est {
  font-family:    'Cormorant Garamond', serif;
  font-size:      clamp(11px, 1.2vw, 15px);
  font-style:     italic;
  color:          rgba(201, 169, 110, 0.5);
  margin-top:     10px;
  letter-spacing: 0.25em;
}

@keyframes ciBrandFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(22px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);    }
}

.ci-skip {
  position:       absolute;
  bottom:         36px;
  right:          42px;
  z-index:        10;
  background:     rgba(7, 6, 10, 0.55);
  border:         1px solid rgba(201, 169, 110, 0.70);
  color:          rgba(201, 169, 110, 1);
  font-family:    'DM Sans', sans-serif;
  font-size:      12px;
  font-weight:    500;
  letter-spacing: 0.32em;
  padding:        12px 30px;
  cursor:         pointer;
  text-transform: uppercase;
  transition:     var(--transition);
  animation:      ciBrandFadeIn 0.6s ease 0.3s both;
}

.ci-skip:hover {
  background:   rgba(201, 169, 110, 0.08);
  border-color: rgba(201, 169, 110, 0.8);
  color:        var(--gold);
}

.ci-progress {
  position:   absolute;
  bottom:     0;
  left:       0;
  width:      100%;
  height:     2px;
  background: rgba(255,255,255,0.04);
  z-index:    10;
}

#intro-progress {
  height:     100%;
  width:      0%;
  background: linear-gradient(90deg, #7A5030, var(--gold));
  transition: width 0.12s linear;
}

/* ================================================================
   3. GLOBAL OVERRIDES
================================================================ */
html { font-size: 80%; scroll-behavior: smooth; }

body {
  font-family:      'DM Sans', sans-serif;
  background-color: var(--bg);
  color:            var(--text);
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

h4, h5, h6 {
  font-family:    'DM Sans', sans-serif;
  font-weight:    500;
  letter-spacing: 0.18em;
}

/* Gold selection */
::selection      { background: var(--gold); color: #000; }
::-moz-selection { background: var(--gold); color: #000; }

/* Custom scrollbar */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-track { background: var(--bg-2); }

/* Replace purple accent with gold */
.text-primary { color: var(--gold) !important; }

.lead-hr {
  background-color: var(--gold);
  margin: 2.2em 0;
}

/* ================================================================
   4. NAVBAR
================================================================ */
.navbar {
  background:     transparent;
  border-bottom:  1px solid rgba(201,169,110,0.08);
  padding-top:    2.2em;
}

.navbar.affix {
  background:     rgba(7, 6, 10, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom:  1px solid rgba(201,169,110,0.18);
  box-shadow:     0 4px 40px rgba(0,0,0,0.45);
}

/* Navbar layout: brand left, desktop nav right */
.navbar .container {
  display:      flex;
  align-items:  center;
  flex-wrap:    wrap;
  position:     relative;
}

.navbar .brand {
  flex-shrink: 0;
  float:       none;
}

.nav.nav-desctop {
  margin-left: auto;
  display:     flex;
  align-items: center;
}

.navbar-toggle {
  margin-left: auto;
}

/* Mobile nav dropdown sits below the bar */
.nav.nav-mobile {
  width:    100%;
  position: relative;
}

/* Ensure mobile collapse is hidden when not open */
.collapse:not(.in) {
  display: none !important;
}

.brand {
  font-family:    'Cormorant Garamond', serif;
  font-size:      1.7em;
  font-weight:    300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color:          var(--white);
}

.nav-desctop-list {
  font-family:    'DM Sans', sans-serif;
  font-size:      0.78em;
  font-weight:    400;
  letter-spacing: 0.14em;
  display:        flex;
  align-items:    center;
  flex-wrap:      nowrap;
  margin:         0;
  padding:        0;
  list-style:     none;
}

.nav-desctop-list > li {
  display: flex;
  align-items: center;
}

.nav-desctop-list > li > a {
  color:          var(--white) !important;
  position:       relative;
  padding-bottom: 4px;
  white-space:    nowrap;
}

.nav-desctop-list > li > a::after {
  content:     '';
  position:    absolute;
  bottom:      0;
  left:        0;
  width:       0;
  height:      1px;
  background:  var(--gold);
  transition:  width 0.35s ease;
}

.nav-desctop-list > li > a:hover::after,
.nav-desctop-list > .active > a::after { width: 100%; }

.nav-desctop-list > li > a:hover,
.nav-desctop-list > .active > a { opacity: 1 !important; color: var(--gold) !important; }

/* Mobile nav */
.navbar-toggle .icon-bar { background-color: var(--gold) !important; }

.nav-mobile-list li a:hover,
.nav-mobile-list li .active > a,
.nav-mobile-list .current > a { color: var(--gold) !important; }

/* ================================================================
   5. HERO / SLIDER OVERLAY
================================================================ */
.main { background-color: var(--bg); }

.mouse-helper { color: var(--white); }

.mouse-helper span {
  font-family:    'DM Sans', sans-serif;
  font-size:      0.65em;
  letter-spacing: 0.38em;
}

/* ================================================================
   6. FEATURES / ABOUT SECTION
================================================================ */
#services.features {
  background:   var(--bg-2);
  border-top:   1px solid rgba(201,169,110,0.08);
  border-bottom: 1px solid rgba(201,169,110,0.08);
}

.col-feature .icon {
  color:       var(--gold);
  font-size:   3em;
  margin-bottom: 0.4em;
  display:     block;
}

.col-feature h3,
.col-feature h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color:       var(--white);
  margin-bottom: 0.6em;
}

.col-feature h5 {
  color:          var(--gold);
  letter-spacing: 0.22em;
  font-size:      0.78em;
  margin-bottom:  0.5em;
}

.col-feature p {
  color:        var(--text);
  line-height:  1.9;
  font-size:    0.95em;
}

/* gold bullets */
.col-feature h5.text-white {
  color:       var(--gold-light) !important;
  font-size:   0.78em;
  letter-spacing: 0.1em;
  text-transform: none;
  font-family: 'DM Sans', sans-serif;
  margin:      0.35em 0;
}

.col-feature h5.text-white::before {
  content:     '— ';
  color:       var(--gold);
}

/* ================================================================
   7. PORTFOLIO GRID
================================================================ */
.showcase-item-hover.hover-dark {
  background-color: rgba(7, 6, 10, 0.88);
}

.showcase-item-hover {
  backdrop-filter: blur(4px);
  border: 1px solid rgba(201,169,110,0.12);
  transition: opacity 0.4s ease, border-color 0.4s ease;
}

.showcase-item:hover .showcase-item-hover {
  border-color: rgba(201,169,110,0.45);
}

.showcase-item-category {
  font-family:    'DM Sans', sans-serif;
  font-size:      0.72em;
  letter-spacing: 0.35em;
  color:          var(--gold);
  text-transform: uppercase;
  font-weight:    400;
}

.showcase-item-title {
  font-family:    'Cormorant Garamond', serif;
  font-size:      1.5em;
  font-weight:    300;
  letter-spacing: 0.08em;
  color:          var(--white);
  margin-top:     0.3em;
}

.showcase-item-hover.hover-dark .ion-ios-plus-empty {
  color:     var(--gold);
  font-size: 3.5em;
}

/* ================================================================
   8. TESTIMONIALS (MÜŞTERİ YORUMLARI)
================================================================ */

/* Equal-height cards in Owl Carousel v1 */
.client-carousel .owl-wrapper {
  display: flex !important;
  align-items: stretch;
}
.client-carousel .owl-item {
  float: none !important;
  display: flex !important;
  height: auto !important;
}
.client-carousel .client {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.client-carousel .client p {
  flex: 1;
  overflow: hidden;
}
#clients.clients.section:first-of-type {
  background: var(--bg-3);
}

.section h4.section-title {
  color:          var(--gold);
  font-family:    'DM Sans', sans-serif;
  font-size:      0.75em;
  letter-spacing: 0.4em;
  margin-bottom:  0.4em;
}

.section h2.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size:   2.8em;
  color:       var(--white);
}

.client {
  position:      relative;
  padding:       2.8em 3em 2.8em 3.5em;
  border:        1px solid rgba(201,169,110,0.10);
  border-radius: 2px;
  background:    var(--bg-2);
  transition:    border-color 0.35s ease, box-shadow 0.35s ease;
}

.client::before {
  content:      '\201C';
  font-family:  'Cormorant Garamond', serif;
  font-size:    7em;
  line-height:  0.7;
  color:        var(--gold);
  opacity:      0.18;
  position:     absolute;
  top:          0.1em;
  left:         0.12em;
  pointer-events: none;
}

.client h3 {
  font-family:    'Cormorant Garamond', serif;
  font-size:      1.4em;
  font-weight:    400;
  color:          var(--gold);
  letter-spacing: 0.06em;
  margin-bottom:  0.15em;
}

.client h5 {
  font-family:    'DM Sans', sans-serif;
  font-size:      0.68em;
  letter-spacing: 0.35em;
  color:          rgba(201,169,110,0.55);
  text-transform: uppercase;
  margin:         0 0 1.2em;
}

.client p {
  color:       var(--text-light);
  line-height: 1.85;
  font-size:   0.95em;
  font-style:  italic;
}

/* ================================================================
   9. MAP SECTION – Full-bleed with dark overlay panel
   Inspired by: split layout, map background, centered info panel
================================================================ */
.map-section {
  position: relative;
  width:    100%;
  height:   700px;
  overflow: hidden;
}

/* ---- Map background fills everything ---- */
.map-bg {
  position: absolute;
  inset:    0;
  z-index:  1;
}

.map-bg iframe {
  display: block;
  width:   100%;
  height:  100%;
  border:  0;
  filter:  none;
}

/* ---- Dark info panel centered over the map ---- */
.map-panel {
  position:   absolute;
  top:        0;
  bottom:     0;
  left:       22%;
  width:      clamp(300px, 32%, 440px);
  background: #000;
  z-index:    2;
  display:    flex;
  align-items: center;
}

.map-panel-inner {
  padding:  3.6em 3.2em;
  width:    100%;
}

.map-panel-heading {
  font-family:    'Cormorant Garamond', serif;
  font-size:      clamp(2.4em, 4vw, 3.6em);
  font-weight:    700;
  letter-spacing: 0.06em;
  color:          #fff;
  margin:         0 0 1.2em;
  line-height:    1;
}

/* ---- Location items ---- */
.map-loc-item {
  margin-bottom: 2em;
}

.map-loc-name {
  font-family:    'Cormorant Garamond', serif;
  font-size:      1.25em;
  font-weight:    700;
  color:          #fff;
  letter-spacing: 0.05em;
  margin:         0 0 0.18em;
}

.map-loc-type {
  font-family:  'DM Sans', sans-serif;
  font-size:    0.78em;
  font-weight:  300;
  font-style:   italic;
  color:        rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  margin:       0 0 0.55em;
}

.map-loc-addr {
  font-family:    'DM Sans', sans-serif;
  font-size:      0.88em;
  font-weight:    400;
  color:          rgba(255,255,255,0.75);
  line-height:    1.75;
  margin:         0 0 0.25em;
}

.map-loc-email {
  color: var(--gold);
}

/* ---- CTA button ---- */
.map-cta-btn {
  display:        inline-block;
  margin-top:     1.4em;
  padding:        0.85em 2.2em;
  border:         1px solid rgba(255,255,255,0.55);
  color:          #fff;
  font-family:    'DM Sans', sans-serif;
  font-size:      0.78em;
  font-weight:    500;
  letter-spacing: 0.28em;
  text-decoration: none;
  text-transform: uppercase;
  transition:     background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.map-cta-btn:hover {
  background:   var(--gold);
  border-color: var(--gold);
  color:        #000;
  text-decoration: none;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .map-section   { height: auto; }
  .map-bg        { position: relative; height: 420px; }
  .map-panel     { position: relative; left: auto; width: 100%; height: auto; }
  .map-panel-inner { padding: 3em 2em; }
}

@media (max-width: 600px) {
  .map-section  { height: auto; }
  .map-bg       { height: 320px; }
  .map-panel-inner { padding: 2.5em 1.6em; }
  .map-panel-heading { font-size: 2.2em; }
}

/* ================================================================
   10. PARTNERS – static single row
================================================================ */
.partners.section-sm {
  background:    var(--bg-2);
  border-top:    1px solid rgba(201,169,110,0.08);
  border-bottom: 1px solid rgba(201,169,110,0.08);
  padding:       4.5em 2em;
}

.dm-partners-row {
  display:         flex;
  align-items:     center;
  justify-content: space-evenly;
  flex-wrap:       nowrap;
  gap:             3.5em;
}

.dm-partners-row img {
  height:     80px;
  width:      auto;
  max-width:  180px;
  object-fit: contain;
  opacity:    0.55;
  filter:     grayscale(0.25);
  transition: opacity 0.35s ease, filter 0.35s ease;
  flex-shrink: 0;
}

.dm-partners-row img:hover {
  opacity: 1;
  filter:  grayscale(0) drop-shadow(0 0 14px rgba(201,169,110,0.35));
}

/* Alo: orijinal PNG siyah-şeffaf → invert ile beyaza çevir, boyut küçültüldü */
.dm-partners-row img[alt="Alo"] {
  filter: invert(1) grayscale(0.25);
  height: 52px;
}
.dm-partners-row img[alt="Alo"]:hover {
  filter: invert(1) grayscale(0) drop-shadow(0 0 14px rgba(201,169,110,0.35));
}

@media (max-width: 900px) {
  .dm-partners-row {
    flex-wrap: wrap;
    gap: 2em 3em;
  }
  .dm-partners-row img { height: 60px; }
}

@media (max-width: 480px) {
  .dm-partners-row img { height: 48px; max-width: 120px; }
}

/* ================================================================
   11. KATALOG SECTION
================================================================ */
#news.news.section {
  background: var(--bg-3);
}

#news h2.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size:   2.8em;
  color:       var(--white);
}

.col-news-wrapper {
  border:        1px solid rgba(201,169,110,0.12);
  border-radius: 2px;
  overflow:      hidden;
  transition:    border-color 0.35s ease;
}

.col-news-wrapper:hover {
  border-color: rgba(201,169,110,0.45);
}

.col-news h3.section-title {
  font-family:    'DM Sans', sans-serif;
  font-size:      0.85em;
  font-weight:    500;
  letter-spacing: 0.35em;
  color:          var(--gold);
  text-transform: uppercase;
  margin-bottom:  1em;
}

/* ================================================================
   12. PROMO / BANNER SECTION
================================================================ */
.promo {
  background:     var(--bg-4);
  border-top:     1px solid rgba(201,169,110,0.12);
  border-bottom:  1px solid rgba(201,169,110,0.12);
  padding:        7em 0;
  text-align:     center;
}

.promo-title {
  font-family: 'Cormorant Garamond', serif;
  font-size:   2.6em;
  font-weight: 300;
  color:       var(--white);
  margin-bottom: 1em;
}

.promo p {
  color:      var(--text-light);
  max-width:  640px;
  margin:     0 auto;
  line-height: 1.9;
}

/* ================================================================
   13. FOOTER
================================================================ */
.footer {
  background:  var(--bg-2);
  border-top:  1px solid rgba(201,169,110,0.15);
  padding-top: 5.5em;
}

.footer .brand {
  font-family:    'Cormorant Garamond', serif;
  font-size:      1.9em;
  font-weight:    300;
  letter-spacing: 0.28em;
  color:          var(--white);
}

.footer p { color: var(--text); line-height: 1.9; }

.col-contacts { color: var(--text); }
.col-contacts a { color: var(--text-light); }
.col-contacts a:hover { color: var(--gold); }

.phone { letter-spacing: 0.05em; color: var(--text-light); }

.footer .social-list li a {
  font-size:  1.15em;
  color:      var(--text);
  transition: color 0.3s ease, transform 0.3s ease;
  display:    inline-block;
}

.footer .social-list li a:hover {
  color:     var(--gold);
  transform: translateY(-3px);
}

.footer-bottom {
  background:   var(--bg);
  border-top:   1px solid rgba(201,169,110,0.08);
  margin-top:   5em;
  font-family:  'DM Sans', sans-serif;
  font-size:    0.75em;
  letter-spacing: 0.05em;
}

.footer-bottom .copyrights { color: var(--text); }

/* ================================================================
   14. LOADER – hide behind cabinet intro
================================================================ */
.loader {
  z-index:    9000; /* below cabinet intro at 9999 */
  background: var(--bg);
}

.double-bounce1,
.double-bounce2 { background-color: var(--gold); }

/* ================================================================
   15. BUTTONS – gold theme
================================================================ */
.btn {
  font-family:    'DM Sans', sans-serif;
  font-weight:    500;
  letter-spacing: 0.24em;
  background:     var(--gold-dark);
  box-shadow:     0 8px 24px rgba(154, 112, 64, 0.30);
  border-radius:  2px;
  padding:        1.1em 2.8em;
  transition:     var(--transition);
}

.btn:hover,
.btn:focus {
  background: var(--gold);
  color:      #000;
  box-shadow: 0 12px 32px rgba(201,169,110,0.35);
}

/* EN language button */
.nav-desctop-list button,
.nav-mobile-list button {
  font-family:    'DM Sans', sans-serif;
  font-size:      0.85em;
  font-weight:    500;
  color:          var(--gold) !important;
  background:     transparent;
  border:         1px solid rgba(201,169,110,0.45);
  padding:        3px 14px;
  letter-spacing: 0.1em;
  border-radius:  2px;
  cursor:         pointer;
  transition:     var(--transition);
}

.nav-desctop-list button:hover,
.nav-mobile-list button:hover {
  background:   rgba(201,169,110,0.12);
  border-color: var(--gold);
}

/* ================================================================
   16. OWL CAROUSEL DOTS – gold
================================================================ */
.owl-page { background-color: rgba(201,169,110,0.2); }
.owl-page.active {
  background-color: var(--gold);
  box-shadow: 0 0 12px rgba(201,169,110,0.6);
}

/* ================================================================
   17. SECTION DIVIDERS & TITLES
================================================================ */
.section {
  position:   relative;
}

.section::before {
  content:    '';
  display:    block;
  width:      48px;
  height:     2px;
  background: var(--gold);
  margin:     0 auto 0;
  position:   absolute;
  top:        0;
  left:       50%;
  transform:  translateX(-50%);
  opacity:    0.45;
}

/* ================================================================
   18. SLIDER – hide year overlay (2023)
================================================================ */
.rev_slider .tp-resizeme[data-x="right"][data-y="bottom"][data-fontsize="['13']"] {
  display: none !important;
}

/* ================================================================
   19. RESPONSIVE
================================================================ */
@media (max-width: 768px) {
  .ci-brand-name { font-size: 32px; letter-spacing: 0.30em; }
  .ci-skip { bottom: 20px; right: 20px; font-size: 10px; padding: 8px 18px; }
  .map-container iframe { height: 420px; }
  .map-header { padding: 3em 2em 2em; }
}

@media (min-width: 768px) { html { font-size: 90%; } }
@media (min-width: 992px) { html { font-size: 100%; } }
