/* ===== Design polish layer (loaded last) ===== */
:root { --card: #202020; --line: rgba(255,255,255,.09); --muted: #9a9a9a; }

/* ---------- Section rhythm & headings ---------- */
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 6px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-title { letter-spacing: -.3px; }
.section-cta { display: flex; justify-content: center; margin-top: 56px; }
.btn-outline { display: inline-flex; align-items: center; gap: 12px; padding: 15px 34px; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none; transition: background .5s var(--ease-out), color .5s var(--ease-out), border-color .5s, gap .5s var(--ease-out); }
.btn-outline:hover { background: #fff; color: #111; border-color: #fff; gap: 18px; }

/* ---------- Page banner (real <img> => fast LCP) ---------- */
.banner-header.pb { position: relative; overflow: hidden; background-image: none !important; min-height: 46vh; display: flex; align-items: flex-end; padding: 150px 0 70px; }
.pb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.06); animation: bannerZoom 9s var(--ease-out) forwards; }
@keyframes bannerZoom { to { transform: scale(1); } }
.pb::before { content: ''; position: absolute; inset: 0; z-index: 1; opacity: 1 !important; background: linear-gradient(0deg, rgba(27,27,27,.96) 0%, rgba(27,27,27,.55) 42%, rgba(27,27,27,.35) 100%); }
.pb .container { position: relative; z-index: 2; width: 100%; }
.pb h1 { font-size: clamp(40px, 5.4vw, 76px) !important; line-height: 1.02; margin-bottom: 18px; }
.pb p { max-width: 58ch; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.8; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .3s; } .crumbs a:hover { color: var(--gold); } .crumbs i { opacity: .5; font-style: normal; }
.crumbs span:last-child { color: var(--gold); }
.banner-header.pb.compact { min-height: 36vh; }

/* ---------- Services / works cards ---------- */
.services2 .square-flip { box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.services2 .square .box-title h4 { font-size: 22px; letter-spacing: 3px; }
.services2 .square-container2 h4 { font-family: 'Cormorant Garamond', serif; font-size: 28px; }
.works-section .work-card { padding-bottom: 8px; }
.work-caption { margin-top: 14px; }

/* ---------- Gallery listing cards ---------- */
.gallery-masonry-wrapper.gal-card .gallery-masonry-item-img-link { box-shadow: 0 22px 50px -26px rgba(0,0,0,.8); }
.gallery-masonry-wrapper.gal-card .gallery-masonry-item-img-link:hover .gallery-masonry-item-img,
.gallery-masonry-wrapper.gal-card .gallery-masonry-item-img-link:hover .gallery-masonry-item-content { transform: none; }
.gallery-masonry-wrapper.gal-card .gallery-box { position: relative; background: #181818; }
.gallery-masonry-wrapper.gal-card .gallery-masonry-item-img { position: absolute; inset: 0; opacity: 1; transform: none; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 62%); transition: opacity .6s; }
.gallery-masonry-wrapper.gal-card .gallery-masonry-item-img::after { display: none; }
.gallery-masonry-wrapper.gal-card .gallery-masonry-item-content { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; padding: 0 24px 22px; background: none;
  transform: none; display: flex; flex-direction: column; gap: 4px; text-align: left; z-index: 2; }
.gallery-masonry-wrapper.gal-card .gallery-masonry-item-category { order: 1; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
.gallery-masonry-wrapper.gal-card .gallery-masonry-item-title { order: 2; font-family: 'Cormorant Garamond', serif; font-size: 27px; font-weight: 500; line-height: 1.1; color: #fff; margin: 0; }
.gal-card .more { order: 3; display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(10px);
  transition: opacity .5s, transform .6s var(--ease-out); }
.gal-card:hover .more { opacity: 1; transform: none; }
.gal-card .count { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); padding: 6px 12px; font-size: 11px; letter-spacing: 2px; color: #fff; }
@media (hover: none) { .gal-card .more { opacity: 1; transform: none; } }

/* ---------- Videos ---------- */
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.vcard { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; cursor: pointer; text-align: left; color: #fff; text-decoration: none; overflow: hidden; }
.vcard .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #181818; }
.vcard .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .7s; filter: brightness(.78); }
.vcard:hover .thumb img { transform: scale(1.06); filter: brightness(.55); }
.vcard .thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 55%); }
.vcard .play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: transform .6s var(--ease-out), background .4s, color .4s; }
.vcard .play::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); animation: pulse 2.4s var(--ease-out) infinite; }
.vcard:hover .play { transform: scale(1.12); background: var(--gold); color: #111; border-color: var(--gold); }
.vcard .meta { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.vcard .meta b { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 22px; }
.vcard .meta em { font-style: normal; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.75); white-space: nowrap; }
.vgrid .vcard:first-child { grid-column: 1 / -1; } .vgrid .vcard:first-child .thumb { aspect-ratio: 21 / 9; }
.vgrid .vcard:first-child .meta b { font-size: 30px; }
@media (max-width: 767px) { .vgrid { grid-template-columns: 1fr; gap: 18px; } .vgrid .vcard:first-child .thumb { aspect-ratio: 16 / 9; } .vcard .play { width: 60px; height: 60px; margin: -30px 0 0 -30px; } }

/* ---------- Contact ---------- */
.contact-new { background: radial-gradient(1100px 500px at 85% -10%, rgba(200,161,90,.08), transparent 60%), #1b1b1b; }
.contact-new .info-card { display: flex; align-items: center; gap: 20px; padding: 22px 24px; margin-bottom: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: #fff;
  transition: transform .5s var(--ease-out), border-color .4s, background .4s; }
a.info-card:hover { transform: translateX(8px); border-color: var(--gold); background: #242424; }
.info-card .ic { flex: 0 0 52px; height: 52px; border-radius: 50%; background: rgba(200,161,90,.12); display: flex; align-items: center; justify-content: center; }
.info-card .ic img { width: 22px; filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg) brightness(.9); }
.info-card small { display: block; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-card span { font-family: 'Cormorant Garamond', serif; font-size: 23px; word-break: break-word; }
.social-row { display: flex; gap: 10px; margin-top: 26px; }
.social-row a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .4s, color .4s, transform .5s var(--ease-out); }
.social-row a:hover { background: var(--gold); color: #111; transform: translateY(-4px); }
.form-card { position: relative; padding: 44px 40px 40px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.form-card::before { content: ''; position: absolute; left: -1px; top: -1px; width: 80px; height: 2px; background: var(--gold); }
.form-card h3 { font-size: 34px; margin-bottom: 6px; } .form-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.fld { position: relative; margin-bottom: 22px; }
.fld input, .fld textarea { width: 100%; background: transparent !important; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #fff; padding: 22px 0 10px; font-size: 16px; outline: none;
  border-radius: 0; box-shadow: none; transition: border-color .4s; font-family: inherit; }
.fld textarea { min-height: 110px; resize: vertical; }
.fld label { position: absolute; left: 0; top: 22px; color: var(--muted); font-size: 15px; pointer-events: none; transition: transform .35s var(--ease-out), color .3s, font-size .3s; transform-origin: left; }
.fld input:focus, .fld textarea:focus { border-bottom-color: var(--gold); }
.fld input:focus + label, .fld textarea:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(.78); color: var(--gold); }
.fld .bar { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.fld input:focus ~ .bar, .fld textarea:focus ~ .bar { transform: scaleX(1); }
.form-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-card button[type=submit] { width: 100%; margin-top: 10px; padding: 18px; border: 0; background: var(--gold); color: #111; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; cursor: pointer;
  position: relative; overflow: hidden; transition: color .5s; }
.form-card button[type=submit]::before { content: ''; position: absolute; inset: 0; background: #fff; transform: translateX(-101%); transition: transform .6s var(--ease-out); }
.form-card button[type=submit]:hover::before { transform: none; } .form-card button[type=submit] span { position: relative; }
.form-card button[disabled] { opacity: .7; cursor: progress; }
.form-ok { text-align: center; padding: 30px 10px; animation: pageIn .7s var(--ease-out) both; }
.form-ok .tick { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 28px; }
@media (max-width: 767px) { .form-card { padding: 30px 22px; } .form-card .row2 { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Service detail ---------- */
.sd { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.sd-text { font-size: 18px; line-height: 1.95; color: #c4c4c4; white-space: pre-line; margin-bottom: 50px; }
.sd-side { position: sticky; top: 30px; display: grid; gap: 22px; }
.sd-box { background: var(--card); border: 1px solid var(--line); padding: 30px; }
.sd-box h4 { font-size: 11px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-family: 'Jost', sans-serif; font-weight: 400; }
.sd-box ul { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow: auto; scrollbar-width: thin; }
.sd-box li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: #bbb; text-decoration: none; transition: color .3s, padding .4s var(--ease-out); }
.sd-box li a:hover, .sd-box li.active a { color: #fff; padding-left: 8px; } .sd-box li.active a { color: var(--gold); }
.sd-box li a::after { content: '→'; opacity: 0; transition: opacity .3s; } .sd-box li a:hover::after, .sd-box li.active a::after { opacity: 1; }
.sd-cta { background: linear-gradient(135deg, #2a2418, #1f1f1f); border-color: rgba(200,161,90,.35); }
.sd-cta p { color: #ccc; margin: 0 0 22px; font-family: 'Cormorant Garamond', serif; font-size: 24px; line-height: 1.35; }
@media (max-width: 991px) { .sd { grid-template-columns: 1fr; gap: 40px; } .sd-side { position: static; } }

/* ---------- Footer ---------- */
.footer .foot-social { display: flex; gap: 10px; margin-top: 18px; }
.footer .foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .4s, color .4s, transform .5s var(--ease-out); }
.footer .foot-social a:hover { background: var(--gold); color: #111; transform: translateY(-3px); }
.footer .usful-links li a { transition: padding .4s var(--ease-out), color .3s; } .footer .usful-links li a:hover { padding-left: 8px; color: var(--gold); }

/* ---------- Focus / a11y / misc ---------- */
.testimonials .button-tersiyer { margin-top: 10px; }
.testimonials-box .item p { font-size: 16px; line-height: 1.8; }
img { max-width: 100%; }

.info-card > div { min-width: 0; }
.info-card span { font-size: clamp(18px, 1.55vw, 23px); overflow-wrap: anywhere; word-break: normal; }
.js .rv-img { overflow: hidden; }
@media (max-width: 575px) {
  .contact-new .info-card { padding: 16px; gap: 14px; } .info-card .ic { flex-basis: 44px; height: 44px; }
  .info-card span { font-size: 16px; }
}

/* lazy images instead of CSS backgrounds (below the fold) */
.svc-sq { position: relative; overflow: hidden; }
.svc-sq > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.svc-sq .square-container, .svc-sq .flip-overlay { z-index: 2; }
.testi-bg { position: relative; }                       /* NOT overflow:hidden - the quote card hangs below the photo */
.testi-img { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.testi-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* video popup: always centred, always fits the screen */
.vm { align-items: center; justify-content: center; backdrop-filter: blur(10px); background: rgba(5,5,5,.92); }
.vm-box { width: min(1100px, 100%, calc((100svh - 120px) * 16 / 9)); box-shadow: 0 40px 100px rgba(0,0,0,.7); animation: pageIn .5s var(--ease-out) both; }
.vm .vm-x { top: -46px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); font-size: 22px; line-height: 1; transition: background .3s, color .3s, transform .4s var(--ease-out); }
.vm .vm-x:hover { background: #fff; color: #111; transform: rotate(90deg); }

/* Testimonials: stack on tablets / narrow desktops (the sidebar leaves little width), keep the card whole */
.testimonials .testimonials-box { overflow: visible; }
.testimonials .embla { overflow: hidden; }
.testimonials .embla__slide { padding-right: 0; }
@media (max-width: 1199px) {
  .testimonials .row > [class*="col-md-"] { flex: 0 0 100%; max-width: 100%; margin-left: 0; width: 100%; }
  .testimonials .testimonials-box { margin: 0 0 -60px; }
}
@media (max-width: 575px) { .testimonials .testimonials-box { margin-bottom: -40px; } }

/* ---------- Contact form v2: selects, date, hints, errors ---------- */
.fld label b { color: var(--gold); font-weight: 400; }
.form-card .sub .req { color: var(--gold); }
.fld select { width: 100%; background: transparent !important; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #fff; padding: 22px 28px 10px 0; font-size: 16px; outline: none;
  border-radius: 0; box-shadow: none; appearance: none; -webkit-appearance: none; cursor: pointer; font-family: inherit; transition: border-color .4s; }
.fld select:focus { border-bottom-color: var(--gold); }
.fld select option { background: #202020; color: #fff; }
.fld.is-select::after { content: ''; position: absolute; right: 4px; top: 30px; width: 8px; height: 8px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  transform: rotate(45deg); pointer-events: none; transition: transform .4s var(--ease-out); }
.fld.is-select:focus-within::after { transform: rotate(225deg) translate(-2px, -2px); }
.fld select:focus + label, .fld select:valid + label { transform: translateY(-20px) scale(.78); color: var(--gold); }
.fld input[type=date] { color-scheme: dark; min-height: 58px; }
.fld.is-date label { transform: translateY(-20px) scale(.78); color: var(--gold); }
.fld input[type=date]::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(1) saturate(3) hue-rotate(2deg); cursor: pointer; opacity: .8; }
.fld-msg { margin: 6px 0 0; font-size: 12px; color: var(--muted); letter-spacing: .3px; }
.fld-msg.err { color: #ff8a80; }
.fld.has-err input, .fld.has-err select, .fld.has-err textarea { border-bottom-color: #ff6b5e; }
.fld.has-err label { color: #ff8a80; }
.fld-msg { position: absolute; left: 0; top: 100%; margin: 5px 0 0; }
.fld:has(.fld-msg) { margin-bottom: 40px; }
