/* Genel Stil */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #0b0e13;
  --muted: #4c5563;
  --brand: #b6924d;
  --accent: #2a6de9;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container { width: min(1100px, 92%); margin: 0 auto; }
.section { padding: 48px 0; }
.section-head { margin-bottom: 16px; }
.section-head h2 { margin: 0 0 8px; font-size: 28px; }
.muted { color: var(--muted); }
.divider { border: none; height: 1px; background: #232833; margin: 24px 0; }

/* Header & Nav */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); border-bottom: 1px solid #dfe3ea; box-shadow: 0 6px 16px rgba(0,0,0,.06); transition: box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.site-header.elevated { background: rgba(255,255,255,0.98); border-bottom-color: #e6ebf2; box-shadow: 0 10px 28px rgba(0,0,0,.09); }
.nav-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 0; }
.brand { justify-self: center; }
.site-nav { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; text-decoration: none; letter-spacing: 0.2px; padding: 6px 10px; border-radius: 10px; }
.brand:hover { background: #eef3f8; transform: scale(1.06); }
.brand { transition: transform .2s ease, background .2s ease; }
.brand-icon { height: 50px; width: auto; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); object-fit: contain; }
.brand-text { color: var(--text); }
.site-nav { display: flex; gap: 14px; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.site-nav a:hover { color: var(--text); background: #eef3f8; }
.site-nav .active { color: var(--text); }
.site-nav .cta { background: var(--brand); color: #0b0e13; font-weight: 600; }
.site-nav .cta:hover { filter: brightness(1.1); }
.nav-toggle { display: none; background: none; border: 1px solid #2a3140; color: var(--text); padding: 6px 10px; border-radius: 6px; }
.theme-toggle { display: none !important; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #101521 0%, #f7f8fa 100%); }
.hero-inner { position: relative; z-index: 1; padding: 80px 0 60px; text-align: center; }
.hero h1 { font-size: clamp(28px, 6vw, 44px); margin: 0 0 10px; color: #ffffff; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.hero p { color: #ffffff; margin: 0 0 20px; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.hero-actions { display: flex; gap: 12px; justify-content: center; }
/* Hero split layout */
.hero-content { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 18px; text-align: left; }
.hero-left { padding: 0 8px; }
.hero-right { display: flex; justify-content: flex-end; }

/* Pleats overlay */
.pleats { position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(199,168,108,.09) 0px, rgba(199,168,108,.09) 6px, transparent 6px, transparent 16px);
  animation: pleats-move 14s linear infinite;
}
@keyframes pleats-move { from { transform: translateX(0); } to { transform: translateX(-50px); } }

/* Banner slider */
.banner-slider { position: relative; margin: 0; width: 100%; height: clamp(220px, 34vw, 320px); border-radius: 16px; overflow: hidden; border: 1px solid #232833; background: #0f141f; }
.banner-slider .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; opacity: 0; transition: opacity .6s ease; }
.banner-slider .slide.active { opacity: 1; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid #dfe3ea; color: var(--text); text-decoration: none; background: #ffffff; }
.btn:hover { background: #eef3f8; }
.btn.primary { background: var(--brand); color: #0b0e13; border: none; font-weight: 600; }
.btn.primary:hover { filter: brightness(1.05); }

/* Curtain animation */
.curtain { position: absolute; top: 0; bottom: 0; width: 50%; background: radial-gradient(circle at top, #2a3140 0, #141925 60%); z-index: 0; animation: curtain-open 1.2s ease-out forwards; }
.curtain-left { left: 0; transform: translateX(0); }
.curtain-right { right: 0; transform: translateX(0); }
@keyframes curtain-open {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.curtain-right { animation-name: curtain-open-right; }
@keyframes curtain-open-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px 0; }
.feature { background: var(--surface); border: 1px solid #dfe3ea; border-radius: 14px; padding: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; color: var(--brand); }
.feature p { margin: 0; color: var(--muted); }

/* Cards generic */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid #dfe3ea; border-radius: 14px; padding: 16px; }
.card h3 { margin: 0 0 6px; color: var(--brand); font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 16px; }
.product-card { background: var(--surface); border: 1px solid #dfe3ea; border-radius: 14px; padding: 16px; }
.product-card h3 { margin: 0 0 10px; color: var(--brand); }
.variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.variants img { width: 100%; height: 90px; object-fit: cover; border-radius: 10px; border: 1px solid #dfe3ea; cursor: pointer; transition: transform .2s ease; background: var(--surface); }
.variants img:hover { transform: scale(1.03); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid #dfe3ea; background: var(--surface); transition: box-shadow .25s ease; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .25s ease; }
.gallery-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.gallery-item:hover img { transform: scale(1.04); }

/* References */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.ref-grid img { width: 100%; height: 80px; object-fit: contain; background: var(--surface); border: 1px solid #dfe3ea; border-radius: 12px; padding: 8px; }

/* CTA banner */
.cta-banner { background: var(--surface); border: 1px solid #dfe3ea; border-radius: 16px; padding: 18px; text-align: center; }
.cta-banner h3 { margin: 0 0 8px; }
.cta-banner p { margin: 0 0 12px; color: var(--muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 50; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(90vw, 1200px); max-height: 82vh; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: #eef3f8; color: #0b0e13; border: 1px solid #dfe3ea; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 20px; }
.lightbox-nav { position: absolute; bottom: 24px; display: flex; gap: 10px; }
.lightbox-nav button { background: var(--brand); color: #0b0e13; border: none; border-radius: 10px; padding: 8px 12px; cursor: pointer; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.contact-card { background: var(--surface); border: 1px solid #dfe3ea; border-radius: 14px; padding: 16px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin: 8px 0; }
.contact-form .form-row { margin-bottom: 12px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid #dfe3ea; background: var(--surface); color: var(--text); }

/* Map embed */
.map-embed iframe { border-radius: 12px; border: 1px solid #dfe3ea; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.testimonial { background: var(--surface); border: 1px solid #dfe3ea; border-radius: 14px; padding: 16px; }
.testimonial .quote { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.testimonial .author { color: var(--muted); font-size: 13px; }
.testimonial-actions { margin-top: 12px; text-align: center; }
.testimonial-actions .btn { color: #fff; background: #1b2230; border-color: #2a3140; }
.testimonial-actions .btn:hover { background: #232a3b; }

/* Star ratings */
.stars { color: #e2c06b; letter-spacing: 2px; margin: 6px 0 4px; }
.star { opacity: 0.35; font-size: 16px; }
.star.on { opacity: 1; }

/* Floating WhatsApp */
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(37,211,102,.35); z-index: 60; transition: transform .2s ease; animation: wa-pulse 2.4s infinite; }
.floating-whatsapp:hover { transform: scale(1.05); }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 0 0 rgba(37,211,102,0); } 50% { box-shadow: 0 0 0 12px rgba(37,211,102,.15); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* Footer */
.site-footer { border-top: 1px solid #dfe3ea; background: #f7f8fa; margin-top: 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.footer-links a { color: var(--muted); text-decoration: none; margin-left: 12px; }
.footer-links a:hover { color: var(--text); }
.copyright { text-align: center; padding: 12px 0 18px; color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 860px) {
  .nav-wrap { grid-template-columns: auto 1fr; }
  .brand { justify-self: start; }
  .site-nav { justify-self: end; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { justify-content: center; }
  .hero-inner { padding: 60px 0 36px; }
  .hero h1 { font-size: clamp(24px, 7vw, 36px); }
  .hero p { font-size: 15px; }
  .banner-slider { margin-top: 8px; height: clamp(200px, 50vw, 280px); }
  .section { padding: 36px 0; }
  .section-head h2 { font-size: 24px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .gallery-item img { height: 160px; }
  .features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; right: 4%; top: 52px; background: #101521; border: 1px solid #232833; border-radius: 12px; padding: 10px; }
  .site-nav.open { display: flex; flex-direction: column; }
  .floating-whatsapp { width: 64px; height: 64px; right: 16px; bottom: 16px; }
  .floating-whatsapp::after { display: none; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .gallery-item img { height: 140px; }
}
/* Extra enhancements appended */
.pleats-2 { opacity: .3;
  background-image: repeating-linear-gradient(90deg, rgba(77,167,255,.08) 0px, rgba(77,167,255,.08) 8px, transparent 8px, transparent 18px);
  animation: pleats-move-2 22s linear infinite;
}
@keyframes pleats-move-2 { from { transform: translateX(0); } to { transform: translateX(70px); } }
.service-icon { width: 40px; height: 40px; border-radius: 10px; background: #101521; border: 1px solid #232833; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); margin-bottom: 8px; }
.service-icon svg { width: 22px; height: 22px; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.about-media img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid #dfe3ea; background: var(--surface); }
.about-media img.secondary { margin-top: 12px; height: 140px; }
.footer-map iframe { border-radius: 12px; border: 1px solid #232833; }
.footer-contact h4 { margin: 0 0 8px; color: var(--brand); }
.footer-contact ul { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin: 6px 0; }
.footer-contact a { color: var(--text); text-decoration: none; }
.footer-contact a:hover { color: var(--brand); }
.floating-whatsapp::after { content: attr(data-label); position: absolute; right: 70px; bottom: 50%; transform: translateY(50%); background: #151922; border: 1px solid #232833; color: var(--text); padding: 6px 10px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .2s ease; white-space: nowrap; }
.floating-whatsapp:hover::after { opacity: 1; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
.curtain { animation: curtain-open 1.2s ease-out forwards, curtain-sway 7s ease-in-out 1.2s infinite alternate; }
@keyframes curtain-sway { 0% { background-position: 0 0; } 100% { background-position: 24px 0; } }
