/* ═══════════════════════════════════════════
   OZ CRAFT — Shared Styles
   ═══════════════════════════════════════════ */

:root {
  --bg: #F7F5F0;
  --bg-warm: #EDE8DF;
  --text: #1A1A1A;
  --text-muted: #6B6560;
  --accent: #B8906F;
  --accent-light: #D4B99C;
  --white: #FFFFFF;
  --border: #D6D0C7;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-weight: 300;
}

/* ═══ LOADER ═══ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-text {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--bg);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ═══ ANNOUNCEMENT BAR ═══ */
.announcement-bar {
  background: var(--text);
  color: var(--bg);
  text-align: center;
  padding: 0.6rem 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 101;
}
.announcement-bar a {
  color: var(--accent-light);
  text-decoration: none;
  margin-left: 0.5rem;
  transition: color 0.3s;
}
.announcement-bar a:hover { color: var(--white); }

/* ═══ NAV ═══ */
nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}
nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex; gap: 2.5rem; align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.lang-toggle {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--text-muted);
  transition: all 0.3s;
}
.lang-toggle:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ═══ HAMBURGER ═══ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 200;
  background: none; border: none; padding: 8px;
}
.hamburger span {
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ MOBILE MENU ═══ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  opacity: 0; visibility: hidden;
  transition: all 0.4s ease;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,144,111,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  max-width: 500px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: 1px solid var(--text);
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}
.hero-cta:hover {
  background: var(--text);
  color: var(--bg);
}
.hero-cta svg {
  width: 16px; height: 16px;
  transition: transform 0.3s;
}
.hero-cta:hover svg { transform: translateX(4px); }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}
.scroll-indicator span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 40px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 50%;
  background: var(--accent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* ═══ SECTION COMMON ═══ */
section { padding: 6rem 3rem; }
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

/* ═══ PAGE HERO (for inner pages) ═══ */
.page-hero {
  padding: 8rem 3rem 4rem;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,144,111,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-label {
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}
.page-hero .section-title {
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}
.page-hero-desc {
  max-width: 550px;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

/* ═══ GALLERY ═══ */
#gallery { background: var(--white); }

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}
.gallery-header .section-title { margin-bottom: 1rem; }

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-warm);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.gallery-overlay span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Masonry-like varied heights */
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }

/* placeholder art with abstract gradients */
.art-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.art-1 { background: linear-gradient(135deg, #D4B99C 0%, #F0E6D8 30%, #B8906F 60%, #8B6F5A 100%); }
.art-2 { background: linear-gradient(200deg, #2C2C2C 0%, #5A4A3A 40%, #D4B99C 80%, #F7F5F0 100%); }
.art-3 { background: linear-gradient(160deg, #E8D5C0 0%, #C4956A 50%, #6B4D3A 100%); }
.art-4 { background: linear-gradient(45deg, #F5E6D3 0%, #D4A574 25%, #8B5E3C 50%, #3D2B1F 75%, #1A1A1A 100%); }
.art-5 { background: linear-gradient(180deg, #FAF3EB 0%, #E5CDB5 30%, #B8906F 60%, #6B4D3A 90%); }
.art-6 { background: linear-gradient(225deg, #1A1A1A 0%, #4A3728 30%, #B8906F 70%, #F7F5F0 100%); }
.art-7 { background: linear-gradient(100deg, #D9C4B0 0%, #A67C5B 40%, #5C3D2E 70%, #2A1F17 100%); }

/* abstract shapes overlay */
.art-placeholder::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}
.art-1::after { width: 60%; height: 40%; background: rgba(255,255,255,0.4); top: 20%; left: 25%; }
.art-2::after { width: 50%; height: 50%; background: rgba(184,144,111,0.5); bottom: 10%; right: 10%; border-radius: 0; transform: rotate(15deg); }
.art-3::after { width: 70%; height: 30%; background: rgba(255,255,255,0.25); top: 40%; left: 15%; border-radius: 100px; }
.art-4::after { width: 45%; height: 45%; background: rgba(244,230,211,0.3); top: 30%; left: 30%; }
.art-5::after { width: 80%; height: 2px; background: rgba(26,26,26,0.3); top: 55%; left: 10%; border-radius: 0; }
.art-6::after { width: 35%; height: 60%; background: rgba(255,255,255,0.15); top: 20%; right: 20%; border-radius: 0; transform: rotate(-10deg); }
.art-7::after { width: 55%; height: 55%; background: rgba(212,185,156,0.3); top: 25%; left: 25%; }

/* ═══ ABOUT ═══ */
#about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.about-image {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--bg-warm) 0%, var(--accent-light) 100%);
  position: relative;
  overflow: hidden;
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(184,144,111,0.2), transparent);
}
.about-content .section-label { margin-bottom: 1rem; }
.about-content .section-title { margin-bottom: 1.5rem; }
.about-text {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.about-stats {
  display: flex; gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  display: block;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ═══ SERVICES ═══ */
#services {
  background: var(--text);
  color: var(--bg);
}
#services .section-label { color: var(--accent-light); }
#services .section-title { color: var(--bg); }

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  padding: 2.5rem;
  border: 1px solid rgba(247,245,240,0.1);
  transition: all 0.4s ease;
}
.service-card:hover {
  border-color: var(--accent);
  background: rgba(247,245,240,0.03);
}
.service-icon {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: block;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--bg);
}
.service-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(247,245,240,0.6);
}

/* ═══ CONTACT ═══ */
#contact {
  background: var(--bg-warm);
}
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner .section-title { margin-bottom: 1.5rem; }
.contact-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.contact-email {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  position: relative;
  display: inline-block;
}
.contact-email::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.contact-email:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.contact-social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}
.contact-social a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-social a:hover { color: var(--accent); }

/* ═══ FOOTER ═══ */
footer {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  background: var(--bg);
}
footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
footer a:hover { color: var(--accent); }

/* ═══ LIGHTBOX ═══ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(26,26,26,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content {
  max-width: 80vw; max-height: 80vh;
  position: relative;
}
.lightbox-content .art-placeholder {
  width: 60vw; height: 70vh;
  max-width: 700px;
  position: relative;
}
.lightbox-info {
  position: absolute;
  bottom: -3rem; left: 0;
  color: var(--bg);
}
.lightbox-info h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
}
.lightbox-info span {
  font-size: 0.75rem;
  color: rgba(247,245,240,0.6);
  letter-spacing: 0.1em;
}
.lightbox-close {
  position: absolute;
  top: 2rem; right: 2rem;
  width: 40px; height: 40px;
  background: none; border: 1px solid rgba(255,255,255,0.3);
  color: var(--bg);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.lightbox-close:hover { background: var(--bg); color: var(--text); }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ WHATSAPP BUTTON ═══ */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }

/* ═══ TESTIMONIALS ═══ */
#testimonials { background: var(--bg); }
.testimonials-header { text-align: center; margin-bottom: 3rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.testimonial-card:hover { border-color: var(--accent); }
.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}
.testimonial-role {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* ═══ COOKIE BANNER ═══ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: var(--bg);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  flex-wrap: wrap;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(247,245,240,0.8);
  flex: 1;
  min-width: 250px;
}
.cookie-banner a {
  color: var(--accent-light);
  text-decoration: none;
}
.cookie-banner a:hover { text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.8rem; }
.cookie-accept {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.cookie-accept:hover { background: var(--accent-light); }
.cookie-reject {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: transparent;
  color: rgba(247,245,240,0.6);
  border: 1px solid rgba(247,245,240,0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.cookie-reject:hover {
  color: var(--bg);
  border-color: rgba(247,245,240,0.5);
}

/* ═══ SEARCH OVERLAY ═══ */
.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.3s;
}
.search-toggle:hover { color: var(--text); }
.search-toggle svg { width: 18px; height: 18px; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(247, 245, 240, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-close {
  position: absolute;
  top: 2rem;
  right: 3rem;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all 0.3s;
}
.search-close:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.search-inner {
  width: 100%;
  max-width: 600px;
  padding: 0 2rem;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s ease 0.1s, opacity 0.5s ease 0.1s;
}
.search-overlay.active .search-inner {
  transform: translateY(0);
  opacity: 1;
}

.search-label {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
}

.search-input-wrap {
  position: relative;
  margin-bottom: 2rem;
}
.search-input-wrap input {
  width: 100%;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border);
  padding: 0.8rem 0;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  text-align: center;
}
.search-input-wrap input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}
.search-input-wrap input:focus {
  border-bottom-color: var(--accent);
}
.search-input-wrap .search-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease, left 0.4s ease;
}
.search-input-wrap input:focus ~ .search-line {
  width: 100%;
  left: 0;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 40vh;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  animation: searchFadeIn 0.3s ease forwards;
}
.search-result-item:hover {
  border-color: var(--accent);
  background: var(--bg-warm);
}
.search-result-item:nth-child(1) { animation-delay: 0s; }
.search-result-item:nth-child(2) { animation-delay: 0.05s; }
.search-result-item:nth-child(3) { animation-delay: 0.1s; }
.search-result-item:nth-child(4) { animation-delay: 0.15s; }
.search-result-item:nth-child(5) { animation-delay: 0.2s; }
.search-result-item:nth-child(6) { animation-delay: 0.25s; }
.search-result-item:nth-child(7) { animation-delay: 0.3s; }

@keyframes searchFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.search-result-thumb {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 2px;
}
.search-result-info h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.15rem;
}
.search-result-info span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.search-no-result {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 2rem 0;
}

/* ═══ FEATURED / ONE CIKANLAR ═══ */
#featured { background: var(--bg-warm); }
.featured-header { text-align: center; margin-bottom: 3rem; }
.featured-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  color: var(--text);
}
.featured-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.featured-card-img {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
}
.featured-card-img .art-placeholder {
  transition: transform 0.6s ease;
}
.featured-card:hover .featured-card-img .art-placeholder {
  transform: scale(1.05);
}
.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  background: var(--accent);
  color: var(--white);
  z-index: 2;
}
.featured-card-body {
  padding: 1.5rem;
}
.featured-card-body h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.featured-card-body .featured-tech {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: block;
}
.featured-card-body .featured-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.featured-cta {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s;
}
.featured-cta:hover { gap: 0.8rem; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 4rem 1.5rem; }
  .page-hero { padding: 6rem 1.5rem 3rem; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-row: span 1; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image { max-height: 400px; }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .featured-scroll { grid-template-columns: repeat(2, 1fr); }
  .featured-card-img { height: 220px; }
  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ═══ PORTFOLIO IMAGE SUPPORT ═══ */

/* Hero with background image — radial cream "spotlight" keeps the centered text
   readable while letting the painting show through at the edges. */
.hero.hero-image {
  background-image:
    radial-gradient(ellipse 70% 60% at center, rgba(247,245,240,0.82) 0%, rgba(247,245,240,0.45) 60%, rgba(247,245,240,0.1) 100%),
    url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Boost hero text legibility on top of the background image */
.hero.hero-image .hero-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: #1a1a1a;
  text-shadow: 0 0 14px rgba(247,245,240,0.95);
}
.hero.hero-image .hero-title {
  font-weight: 500;
  text-shadow: 0 1px 18px rgba(247,245,240,0.85);
}
.hero.hero-image .hero-desc {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1f1f1f;
  text-shadow: 0 0 10px rgba(247,245,240,0.95);
}
.hero.hero-image .hero-cta {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-shadow: 0 0 10px rgba(247,245,240,0.95);
}
.hero.hero-image .scroll-indicator span {
  font-size: 0.72rem;
  font-weight: 500;
  color: #2c2c2c;
  text-shadow: 0 0 8px rgba(247,245,240,0.95);
}

/* Hakkımda görseli — replaces the placeholder gradient inside .about-image */
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}


/* Portfolio (#works) uses uniform grid — disable the masonry row-spans
   that were designed for the 7-item sales gallery. */
#works .gallery-grid { grid-auto-flow: dense; }
#works .gallery-item:nth-child(1),
#works .gallery-item:nth-child(4) { grid-row: auto; }

.featured-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.featured-card:hover .featured-card-img img { transform: scale(1.05); }

img.search-result-thumb {
  object-fit: cover;
  display: block;
}

#lightboxImg {
  display: block;
  max-width: 80vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #1a1a1a;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--bg);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s;
  z-index: 2;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
}
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-counter {
  position: absolute;
  top: 2rem; left: 2rem;
  color: rgba(247,245,240,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 1.1rem; }
  /* Make the lightbox content fill the screen and stack image + info vertically,
     so the image stays centered without the absolute-positioned info offset. */
  .lightbox-content {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  #lightboxImg {
    max-width: 92vw;
    max-height: 72vh;
    margin: 0 auto;
  }
  .lightbox-info {
    position: static;
    bottom: auto; left: auto;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; padding: 1.5rem; }
  .cookie-btns { width: 100%; justify-content: center; }
}

@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .featured-scroll { grid-template-columns: 1fr; }
  .about-stats { gap: 1.5rem; }
  .hero { padding: 3rem 1.5rem 3rem; }
}

/* Mobil: portfolio "Öne Çıkanlar" yatay slider (scroll-snap carousel) */
@media (max-width: 700px) {
  .portfolio-featured .featured-scroll {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.5rem 1.5rem 1.5rem;
    margin: 0 -1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .portfolio-featured .featured-scroll::-webkit-scrollbar { display: none; }
  .portfolio-featured .featured-card {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: center;
  }
  /* Image area becomes portrait (3:4) on mobile so the photo fits without cropping */
  .portfolio-featured .featured-card-img {
    height: auto;
    aspect-ratio: 3 / 4;
  }
}
