/* ==========================================================================
   KOÇAK KAYA YAPI VE MİMARLIK - 2026 LIGHT LUXURY DESIGN SYSTEM
   ========================================================================== */

/* --- CSS Variables & Design Tokens (Light Architectural Luxury) --- */
:root {
  --color-bg-main: #fcfbfa;
  --color-bg-surface: #ffffff;
  --color-bg-secondary: #f4f2ed;
  --color-border-subtle: rgba(0, 0, 0, 0.08);
  --color-border-gold: rgba(184, 134, 11, 0.25);
  
  --color-gold-500: #b8860b;
  --color-gold-400: #c59b27;
  --color-gold-600: #966b04;
  --color-gold-glow: rgba(184, 134, 11, 0.2);
  
  --color-text-primary: #18191c;
  --color-text-secondary: #4a4d55;
  --color-text-muted: #71717a;
  
  --font-heading: 'Syne', 'Inter', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Reset & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Standard System Cursor Override */
body, a, button, input, select, textarea {
  cursor: auto;
}
a, button {
  cursor: pointer;
}

/* Custom Selection */
::selection {
  background: var(--color-gold-400);
  color: #ffffff;
}

/* Custom Light Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #f4f2ed;
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold-500);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-600);
}

/* --- Brand Logo Styling (New Custom Logo) --- */
.brand-logo-container {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.2rem 0;
}

.brand-logo-img {
  height: 2.4rem; /* 38px default on mobile */
  width: auto;
  object-fit: contain;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease, filter 0.3s ease;
}

@media (min-width: 768px) {
  .brand-logo-img {
    height: 3.4rem; /* 54px prominent on desktop */
  }
}

.navbar-header.scrolled .brand-logo-img {
  height: 2.1rem; /* 33px when header shrinks on scroll */
}

@media (min-width: 768px) {
  .navbar-header.scrolled .brand-logo-img {
    height: 2.7rem; /* 43px on desktop scrolled */
  }
}

.brand-logo-container:hover .brand-logo-img {
  transform: scale(1.04);
}

/* --- 2026 Flagship Navigation Header (Crisp Light Luxury Glass Bar) --- */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  padding: 1.15rem 2rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(184, 134, 11, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, padding 0.4s, box-shadow 0.4s;
}

@media (min-width: 768px) {
  .navbar-header {
    padding: 1.25rem 3.5rem;
  }
}

.navbar-header.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .navbar-header.scrolled {
    padding: 0.85rem 3.5rem;
  }
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b8860b 0%, #c59b27 50%, #b8860b 100%);
  transition: width 0.1s linear;
}

/* Nav Links Styling (Crisp Dark Text) */
.nav-link-item {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #18191c;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-500), var(--color-gold-400));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--color-gold-500);
}

.nav-link-item:hover::after,
.nav-link-item.active::after {
  width: 100%;
}

/* Golden CTA Button (Sleek text on metallic gold) */
.btn-gold-luxury {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #c59b27 0%, #b8860b 100%);
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: 2px;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
}

.btn-gold-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  z-index: 2;
}

.btn-gold-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(184, 134, 11, 0.25);
  background: linear-gradient(135deg, #b8860b 0%, #966b04 100%);
}

.btn-gold-luxury:hover::before {
  left: 100%;
}

/* --- Ticker Marquee Ribbon --- */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background: #18191c;
  color: #ffffff;
  padding: 0.85rem 0;
  border-y: 1px solid rgba(184, 134, 11, 0.3);
}

.marquee-content {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* --- Architectural Mega-Menu Overlay (Light & Prestigious) --- */
.mega-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(252, 251, 250, 0.98);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mega-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mega-menu-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem 2rem 3rem;
}

@media (min-width: 768px) {
  .mega-menu-content {
    padding: 7rem 4rem 4rem;
  }
}

/* Mega Menu Item Link Animation */
.mega-menu-link {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: #27272a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(20px);
  opacity: 0;
}

.mega-menu-overlay.active .mega-menu-link {
  transform: translateY(0);
  opacity: 1;
}

.mega-menu-link .link-index {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-gold-500);
  letter-spacing: 0.1em;
}

.mega-menu-link:hover {
  color: var(--color-gold-500);
  transform: translateX(12px);
}

/* Mega Menu Live Image Preview Card */
.mega-preview-container {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(184, 134, 11, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.mega-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-preview-img.active {
  opacity: 1;
  transform: scale(1);
}

/* --- Quick Proposal Drawer Modal (Light Mode) --- */
.proposal-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.proposal-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.proposal-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 520px;
  height: 100%;
  z-index: 130;
  background: #ffffff;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.proposal-drawer-backdrop.active .proposal-drawer {
  transform: translateX(0);
}

/* Custom Input Fields for Proposal Form */
.input-luxury {
  width: 100%;
  background: #f4f2ed;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.85rem 1.25rem;
  color: #18191c;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.input-luxury:focus {
  border-color: var(--color-gold-500);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(184, 134, 11, 0.12);
}

/* Clean Card styling */
.glass-card-light {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border-radius: 4px;
}

.glass-card-light:hover {
  border-color: rgba(184, 134, 11, 0.3);
}

/* Glowing Gold Border Helper */
.glow-gold-hover {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.glow-gold-hover:hover {
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: 0 15px 35px rgba(184, 134, 11, 0.12);
  transform: translateY(-3px);
}
