
:root {
  --primary: #12151a;
  --primary-light: #1c222c;
  --accent: #c49a6c;
  --accent-hover: #b08556;
  --accent-light: #f7f3ee;
  --text-main: #2b303a;
  --text-muted: #6c757d;
  --bg-light: #fafaf9;
  --white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-heading: 'Syne', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.site-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TOP BAR */
.top-bar {
  background-color: var(--primary);
  color: #a0aec0;
  font-size: 0.82rem;
  border-bottom: none;
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-left i, .top-bar-right i {
  color: var(--accent);
  margin-right: 6px;
}
.top-bar-right {
  display: flex;
  gap: 18px;
}
.top-bar-right a:hover {
  color: var(--accent);
}

/* MAIN HEADER */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo img,
.site-main-logo {
  height: 38px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.brand-logo:hover img {
  opacity: 0.9;
  transform: translateY(-1px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links li a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
  display: inline-block;
}
.nav-links li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}
.nav-links li a:hover, .nav-links li a.active {
  color: var(--accent);
}
.nav-links li a:hover:after, .nav-links li a.active:after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-quote {
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid var(--primary);
  white-space: nowrap;
}
.btn-quote:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* HAMBURGER TOGGLE */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-mobile-header, .nav-mobile-footer {
  display: none;
}

/* BACKDROP */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 21, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  color: var(--white);
  background-image: linear-gradient(rgba(18, 21, 26, 0.72), rgba(18, 21, 26, 0.88)), url('https://apakmimarlik.com/wp-content/uploads/2022/02/Alto-05.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-content {
  max-width: 860px;
  padding: 80px 0;
}
.badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 154, 108, 0.2);
  border: 1px solid var(--accent);
  color: #f7deb8;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #d1d5db;
  margin-bottom: 36px;
  max-width: 720px;
}
.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  padding: 14px 34px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(196, 154, 108, 0.35);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* STATS BAR */
.stats-bar {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-label {
  font-size: 0.95rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SECTION COMMONS */
.section-padding {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}



/* Category Filter Bar (ales.al style) */
.gallery-categories {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 45px 0;
  width: 100%;
}
.gallery-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.gallery-categories ul li a {
  display: inline-block;
  padding: 12px 24px;
  background: #ffffff;
  color: #666666;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  cursor: pointer;
}
.gallery-categories ul li a:hover,
.gallery-categories ul li a.selected {
  background: var(--primary); /* Deep luxury dark */
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(18, 21, 26, 0.2);
  transform: translateY(-2px);
}
.gallery-categories ul li a.selected {
  border-bottom: 2px solid var(--accent);
}

/* 4-Column Wide Portfolio Grid */
.portfolio-grid,
.ales-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

/* Ales.al Portfolio Card (Vertical Aspect, Bottom Caption Overlay, Dark Accent) */
.portfolio-item,
.portfolio-box-wrapper {
  position: relative;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.portfolio-item.is-hidden {
  display: none !important;
}

.portfolio-box {
  position: relative;
  overflow: hidden;
  display: block;
  background: #181c22;
  border-radius: 4px;
  text-decoration: none;
  height: 480px; /* Strong vertical architectural elevation */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

.portfolio-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.portfolio-box .image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #12151a;
}

.portfolio-box .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}

.portfolio-box:hover .image-container img {
  transform: scale(1.08);
  opacity: 0.85;
}

/* Location pill on top right */
.portfolio-box .project-loc-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(18, 21, 26, 0.75);
  backdrop-filter: blur(6px);
  color: #e4e7eb;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.portfolio-box .project-loc-tag i {
  color: var(--accent);
  margin-right: 4px;
}

/* Ales.al Bottom Caption Overlay */
.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 20px 20px 20px;
  background: linear-gradient(to top, rgba(14, 17, 22, 0.95) 0%, rgba(14, 17, 22, 0.75) 50%, rgba(14, 17, 22, 0) 100%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  transition: padding-bottom 0.35s ease;
}

.portfolio-box:hover .portfolio-box-caption {
  padding-bottom: 26px;
}

.portfolio-box .portfolio-box-caption .project-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-box .portfolio-box-caption .project-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.3;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  transition: color 0.25s ease;
}

.portfolio-box:hover .project-name {
  color: #f7d299; /* Subtle warm glow on hover */
}

.portfolio-box .project-view-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.portfolio-box:hover .project-view-btn {
  color: #ffffff;
  transform: translateX(4px);
}

/* Responsive grid adjustments */
@media (max-width: 1200px) {
  .portfolio-grid,
  .ales-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .portfolio-grid,
  .ales-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .portfolio-box {
    height: 420px;
  }
}

@media (max-width: 580px) {
  .portfolio-grid,
  .ales-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .portfolio-box {
    height: 380px;
  }
  .gallery-categories ul li a {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.service-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 24px;
}
.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* AWARDS SECTION */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.award-item {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: 6px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.award-icon {
  font-size: 2rem;
  color: var(--accent);
}
.award-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.award-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* PAGE BANNER (Subpages) */
.page-banner {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0 60px;
  background-image: linear-gradient(rgba(18, 21, 26, 0.85), rgba(18, 21, 26, 0.95)), url('https://apakmimarlik.com/wp-content/uploads/2022/02/Urla-01.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}
.page-banner-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 14px;
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #9ca3af;
  flex-wrap: wrap;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.breadcrumbs span {
  color: var(--accent);
}

/* CONTACT PAGE & FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-form-box {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.15);
}
textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* FOOTER */
.site-footer {
  background-color: var(--primary);
  color: #9ca3af;
  padding-top: 80px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-logo img,
.footer-main-logo {
  height: 36px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  margin-bottom: 20px;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.social-links a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}
.col-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 0.9rem;
  color: #9ca3af;
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.office-box {
  margin-bottom: 20px;
}
.office-title {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.office-title i {
  color: var(--accent);
}
.office-addr {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 6px;
}
.office-phone {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* GEO BAR */
.geo-bar {
  background-color: #0b0d10;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem;
  color: #718096;
}
.geo-bar strong {
  color: #cbd5e1;
}

/* FOOTER BOTTOM */
.footer-bottom {
  background-color: #0b0d10;
  padding: 24px 0;
  font-size: 0.85rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-developer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.25s ease;
}
.footer-developer-credit strong {
  color: #38bdf8; /* Umutnet Cyan/Blue brand color */
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.25s ease;
}
.footer-developer-credit i {
  color: #38bdf8;
  font-size: 0.9rem;
}
.footer-developer-credit:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}
.footer-developer-credit:hover strong {
  color: #ffffff;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a:hover {
  color: var(--accent);
}

/* FLOATING BUTTONS */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  position: relative;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.float-wa {
  background-color: #25d366;
}
.float-phone {
  background-color: #0077b6;
}
.back-to-top {
  background-color: var(--primary);
  display: none;
}
.float-btn:hover {
  transform: scale(1.1);
}
.float-btn .tooltip {
  position: absolute;
  right: 60px;
  background: rgba(18, 21, 26, 0.9);
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.float-btn:hover .tooltip {
  opacity: 1;
}

/* LIGHTBOX MODAL */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
}
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 6px;
  animation: zoomIn 0.3s ease;
  object-fit: contain;
}
.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 14px 0;
  font-size: 1rem;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.lightbox-close:hover {
  color: var(--accent);
}
@keyframes zoomIn {
  from {transform: scale(0.85); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}



.desktop-nav {
  display: block;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.mobile-toggle:hover {
  background: rgba(196, 154, 108, 0.08);
}

.toggle-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-left: 4px;
}

/* OFF-CANVAS DRAWER */
.corporate-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: #12151a;
  color: #f7f3ee;
  box-shadow: -12px 0 40px rgba(0,0,0,0.5);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}
.corporate-drawer.open {
  right: 0;
}

/* DRAWER HEADER */
.drawer-header {
  padding: 24px 28px;
  background-color: #0c0e12;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-brand {
  display: flex;
  flex-direction: column;
}
.drawer-brand img,
.drawer-main-logo {
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.drawer-subtitle {
  font-size: 0.64rem;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  margin-top: 6px;
}
.drawer-close {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.drawer-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #12151a;
  transform: rotate(90deg);
}

/* DRAWER BODY */
.drawer-body {
  padding: 24px 28px;
  flex-grow: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #12151a;
}
.drawer-body::-webkit-scrollbar {
  width: 5px;
}
.drawer-body::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 4px;
}

/* DRAWER NAVIGATION LIST */
.drawer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}
.drawer-nav li a {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
}
.drawer-nav li a .nav-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-right: 14px;
  font-family: var(--font-heading);
}
.drawer-nav li a .nav-text {
  flex-grow: 1;
  letter-spacing: 0.3px;
}
.drawer-nav li a .nav-arrow {
  font-size: 0.85rem;
  color: #64748b;
  transition: transform 0.3s ease, color 0.3s ease;
}
.drawer-nav li a:hover, .drawer-nav li a.active {
  background: rgba(196, 154, 108, 0.12);
  border-color: rgba(196, 154, 108, 0.35);
  color: #fff;
  transform: translateX(4px);
}
.drawer-nav li a:hover .nav-arrow, .drawer-nav li a.active .nav-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* CTA BOX */
.drawer-cta-box {
  margin-bottom: 28px;
}
.drawer-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent);
  color: #12151a;
  padding: 14px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(196, 154, 108, 0.25);
  transition: var(--transition);
}
.drawer-btn-primary:hover {
  background-color: #dfb281;
  transform: translateY(-2px);
}

/* STUDIOS CARDS IN DRAWER */
.drawer-studios {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.drawer-studio-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 14px 16px;
}
.studio-city {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.studio-address {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 6px;
}
.studio-tel {
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.studio-tel:hover {
  color: var(--accent);
}

/* DRAWER FOOTER */
.drawer-footer {
  padding: 20px 28px;
  background-color: #0c0e12;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.drawer-socials {
  display: flex;
  gap: 14px;
}
.drawer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}
.drawer-socials a:hover {
  background: var(--accent);
  color: #12151a;
  transform: translateY(-2px);
}
.drawer-copy {
  font-size: 0.72rem;
  color: #64748b;
}

/* CORPORATE BACKDROP */
.corporate-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 14, 18, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.corporate-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* RESPONSIVE SWITCH AT 991px */
@media (max-width: 991px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-actions .btn-quote {
    display: none;
  }
}
@media (max-width: 480px) {
  .corporate-drawer {
    max-width: 100%;
  }
}


/* ==============================================================================
   DYNAMIC VIEWPORT & MOBILE DRAWER RESPONSIVE EXCELLENCE
   ============================================================================== */

/* Prevent iOS elastic bounce and background scroll lock when drawer is open */
body.menu-open {
  overflow: hidden !important;
  touch-action: none !important;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Off-canvas drawer uses dynamic viewport height (100dvh) */
.corporate-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88vw;
  max-width: 400px;
  min-width: 280px;
  height: 100vh;
  height: 100dvh;
  background-color: #12151a;
  color: #f7f3ee;
  box-shadow: -12px 0 40px rgba(0,0,0,0.5);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  will-change: right;
  touch-action: pan-y;
}
.corporate-drawer.open {
  right: 0;
}

.drawer-body {
  padding: 20px 22px;
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #12151a;
}

.drawer-header {
  padding: 18px 22px;
  background-color: #0c0e12;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.drawer-footer {
  padding: 16px 22px;
  background-color: #0c0e12;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Small Screens & Mobile Responsive Adjustments */
@media (max-width: 480px) {
  .corporate-drawer {
    width: 90vw;
    max-width: 90vw;
  }
  .drawer-body {
    padding: 16px 18px;
  }
  .drawer-header {
    padding: 16px 18px;
  }
  .drawer-footer {
    padding: 14px 18px;
  }
  .drawer-nav li a {
    padding: 10px 12px;
    font-size: 0.98rem;
  }
  .drawer-nav li a .nav-num {
    margin-right: 10px;
    font-size: 0.7rem;
  }
  .brand-logo img,
  .site-main-logo {
    height: 40px;
    max-width: 240px;
  }
  .header-inner {
    padding: 12px 16px;
  }
  .toggle-text {
    display: none; /* Icon only on extra small devices */
  }
  .mobile-toggle {
    padding: 6px;
  }
}

/* Ensure no elements overflow horizontally on mobile */
.site-container, .hero-section, .page-banner, .site-footer {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}


/* ==============================================================================
   MASTER COMPREHENSIVE RESPONSIVE STYLESHEET (ALL RESOLUTIONS 320px - 4K)
   ============================================================================== */

/* Base Fluid Typography & Containers */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

/* Fluid responsive sections */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: flex-start;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.map-container {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
}
.map-container iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* ==============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================== */

/* Large Tablets & Small Laptops (max-width: 1100px) */
@media (max-width: 1100px) {
  .site-container {
    padding: 0 20px;
  }
  .hero-title {
    font-size: 2.7rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .two-col-grid, .profile-grid {
    gap: 32px;
  }
}

/* Tablets & Mobile (max-width: 991px) */
@media (max-width: 991px) {
  .two-col-grid, .profile-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .profile-grid > div:first-child {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }
  .project-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hero-section {
    min-height: auto;
    padding: 80px 0;
  }
  .hero-content {
    padding: 20px 0;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  .site-container {
    padding: 0 18px;
  }
  .section-padding {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .page-banner {
    padding: 60px 0 45px;
  }
  .page-banner-title {
    font-size: 2.2rem;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .project-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .map-container {
    height: 280px;
  }
}

/* Small Smartphone Screens (max-width: 480px) */
@media (max-width: 480px) {
  .site-container {
    padding: 0 14px;
  }
  .section-padding {
    padding: 48px 0;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-desc {
    font-size: 1rem;
    line-height: 1.6;
  }
  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }
  .btn-primary, .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .badge-top {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stat-item .stat-num {
    font-size: 2.2rem;
  }
  .project-meta-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }
  .project-card-img {
    height: 210px;
  }
  .contact-form-box {
    padding: 20px 16px;
  }
  .form-control {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .floating-contact {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .award-item {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }
  .breadcrumbs {
    font-size: 0.8rem;
  }
}


/* ==============================================================================
   PRECISION 3-LINE CORPORATE HAMBURGER BUTTON
   ============================================================================== */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 6px;
  align-items: center;
  gap: 9px;
  transition: var(--transition);
}
.mobile-toggle:hover {
  background: rgba(196, 154, 108, 0.08);
  border-color: var(--accent);
}
.hamburger-box {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.toggle-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
}
@media (max-width: 991px) {
  .mobile-toggle {
    display: flex !important;
  }
}
@media (max-width: 480px) {
  .toggle-text {
    display: none; /* Keep crisp 3-line icon on extra small screens */
  }
  .mobile-toggle {
    padding: 8px;
  }
}


/* ==============================================================================
   CLEAN BORDERLESS HAMBURGER BUTTON (NO EXTRA LINES ABOVE/BELOW)
   ============================================================================== */
.mobile-toggle {
  display: none;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 6px 10px;
  align-items: center;
  gap: 8px;
}
.mobile-toggle:before,
.mobile-toggle:after {
  display: none !important;
  content: none !important;
}
.hamburger-box {
  width: 22px;
  height: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary) !important;
  border-radius: 2px;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.toggle-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  line-height: 1;
}
.main-header {
  border-top: none !important;
}
.top-bar {
  border-bottom: none !important;
}

/* Fixed Header Offset */
body {
  padding-top: 66px;
}

/* Rock-Solid Fixed Header & Prominent Mobile Menu Button */
.main-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  transform: translateZ(0);
}
@media (max-width: 991px) {
  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 12px !important;
  }
  .hamburger-box {
    width: 28px !important;
    height: 20px !important;
  }
  .hamburger-line {
    width: 28px !important;
    height: 2.5px !important;
  }
  .toggle-text {
    display: inline-block !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
  }
}

/* Enhanced Mobile Logo & Mobile Menu Sizing */
@media (max-width: 991px) {
  body {
    padding-top: 74px !important;
  }
  .header-inner {
    padding: 12px 16px !important;
  }
  .brand-logo img,
  .site-main-logo {
    height: 48px !important;
    max-width: 260px !important;
  }
  .mobile-toggle {
    padding: 10px 14px !important;
    gap: 10px !important;
  }
  .hamburger-box {
    width: 32px !important;
    height: 22px !important;
  }
  .hamburger-line {
    width: 32px !important;
    height: 3px !important;
  }
  .toggle-text {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
  }
  .drawer-brand img,
  .drawer-main-logo {
    height: 38px !important;
    max-width: 230px !important;
  }
  .drawer-nav li a {
    font-size: 1.12rem !important;
    padding: 16px 0 !important;
  }
}

/* Extra-Prominent Mobile Logo & Menu */
@media (max-width: 991px) {
  body {
    padding-top: 84px !important;
  }
  .header-inner {
    padding: 13px 16px !important;
  }
  .brand-logo img,
  .site-main-logo {
    height: 58px !important;
    max-width: 72vw !important;
  }
  .mobile-toggle {
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .hamburger-box {
    width: 38px !important;
    height: 26px !important;
  }
  .hamburger-line {
    width: 38px !important;
    height: 3.5px !important;
  }
  .toggle-text {
    font-size: 1rem !important;
    font-weight: 800 !important;
  }
  .drawer-brand img,
  .drawer-main-logo {
    height: 48px !important;
    max-width: 260px !important;
  }
  .drawer-nav li a {
    font-size: 1.25rem !important;
    padding: 18px 0 !important;
  }
}
