/* Emir Oto Kaporta Boya - styles
   Design: light bg, dark text, red primary, sharp corners (no border-radius),
   Oswald display + Inter body. */

:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --card: #f1f1f1;
  --muted: #6b6b6b;
  --border: rgba(0,0,0,0.12);
  --primary: #c92020;
  --primary-fg: #fafafa;
  --container: 1200px;
  --radius: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
iframe { border: 0; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--border); }

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.1;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.05rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width:640px){ .container{ padding: 0 1.5rem; } }
@media (min-width:1024px){ .container{ padding: 0 2rem; } }

/* Utility */
.eyebrow { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--primary); }
.text-primary { color: var(--primary) !important; }
.muted { color: var(--muted); }
.mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; } .mt-14 { margin-top: 3.5rem; }
.flex-wrap { display:flex; flex-wrap: wrap; gap: .75rem; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.25rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; transition: opacity .2s, border-color .2s; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { opacity: .9; color: var(--primary-fg); }
.btn-outline { border: 1px solid var(--border); background: var(--bg); color: var(--fg); }
.btn-outline:hover { border-color: var(--primary); color: var(--fg); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250,250,250,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 34px; width: auto; }
.brand-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
@media (max-width: 640px){ .brand-tag{ display:none; } }

.main-nav { display: none; align-items: center; gap: 1.75rem; }
.main-nav > a, .nav-dropdown-toggle { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: rgba(26,26,26,.8); transition: color .2s; display: inline-flex; align-items: center; gap: .25rem; }
.main-nav > a:hover, .nav-dropdown-toggle:hover { color: var(--primary); }
@media (min-width: 1024px){ .main-nav { display: inline-flex; } }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 280px;
  background: var(--bg); border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: none; flex-direction: column;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a { padding: .65rem 1rem; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: rgba(26,26,26,.85); }
.nav-dropdown-menu a:hover { background: rgba(201,32,32,.08); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.social-links { display: inline-flex; align-items: center; gap: .9rem; }
.social-links a { color: var(--muted); }
.social-links a:hover { color: var(--primary); }
.desktop-only { display: none; }
.mobile-only { display: inline-flex; }
@media (min-width: 1024px){ .desktop-only { display: inline-flex; } .mobile-only{ display:none; } }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--fg); }

.mobile-menu { display: flex; flex-direction: column; padding: 1rem 1.25rem; border-top: 1px solid var(--border); background: var(--bg); }
.mobile-menu[hidden]{ display: none; }
.mobile-menu a, .mobile-menu summary { padding: .75rem 0; font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mobile-menu summary { list-style: none; cursor: pointer; }
.mobile-menu details a { padding-left: 1rem; font-size: .85rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.mobile-social { display: flex; gap: 1rem; padding: 1rem 0; }
.mobile-menu .btn { margin-top: 1rem; align-self: flex-start; }

/* Footer */
.site-footer { background: var(--card); border-top: 1px solid var(--border); margin-top: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; padding: 3rem 0; grid-template-columns: 1fr; }
@media (min-width: 768px){ .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo { height: 42px; width: auto; }
.footer-about { font-size: .9rem; color: var(--muted); margin-top: .75rem; }
.footer-social { margin-top: 1rem; }
.footer-list { display: flex; flex-direction: column; gap: .65rem; margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.footer-list li { display: flex; gap: .5rem; align-items: flex-start; }
.footer-list a:hover { color: var(--fg); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 0; font-size: .75rem; color: var(--muted); }
@media (min-width: 640px){ .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; } }

/* WhatsApp FAB */
.wa-fab { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50; width: 56px; height: 56px; border-radius: 9999px; background: #25D366; color: white; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.4); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.05); color: white; }
.wa-icon { width: 28px; height: 28px; }

/* HERO */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-bg { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; opacity: .35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(250,250,250,.6), rgba(250,250,250,.75), rgba(250,250,250,1)); }
.hero-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 6rem 1.25rem; }
@media (min-width: 640px){ .hero-inner { padding: 8rem 1.5rem; } }
@media (min-width: 1024px){ .hero-inner { padding: 10rem 2rem; } }
.hero-inner > div { max-width: 720px; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(201,32,32,.4); background: rgba(201,32,32,.08); padding: .3rem .75rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--primary); display: inline-block; }
.hero h1 { margin-top: 1.5rem; }
.hero h1 span { color: var(--primary); }
.hero p { margin-top: 1.5rem; color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.hero-cta { margin-top: 2rem; }

/* Sections / cards */
section.section { padding: 5rem 0; border-bottom: 1px solid var(--border); }
section.section.alt { background: var(--card); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; }
.section-head h2 { margin-top: .75rem; }
.section-head a { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.section-head a:hover { text-decoration: underline; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px){ .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px){ .grid-3 { grid-template-columns: repeat(3,1fr); } }

.card { background: var(--card); border: 1px solid var(--border); padding: 1.5rem; }
.card h3 { margin-top: .75rem; }
.card p { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--primary); color: var(--primary-fg); font-weight: 700; font-size: .9rem; }
.service-card { display: block; transition: border-color .2s; }
.service-card:hover { border-color: var(--primary); color: var(--fg); }

/* Why two-col */
.why-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px){ .why-grid { grid-template-columns: 1fr 1fr; } }
.why-img { position: relative; }
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-img .tag { position: absolute; bottom: 0; left: 0; right: 0; background: var(--primary); color: var(--primary-fg); padding: 1rem 1.5rem; }
.why-img .tag .label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }

/* Gallery */
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px){ .gallery { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px){ .gallery { grid-template-columns: repeat(3,1fr); } }
.gallery figure { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--border); background: var(--card); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tag { position: absolute; left: .75rem; top: .75rem; padding: .15rem .55rem; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: rgba(250,250,250,.85); color: var(--fg); }
.gallery .tag.after { background: var(--primary); color: var(--primary-fg); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fg); background: linear-gradient(to top, rgba(250,250,250,.95), transparent); }

/* Contact / map */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px){ .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--border); background: var(--card); transition: border-color .2s; }
.contact-card:hover { border-color: var(--primary); }
.contact-card .label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-card .val { font-size: 1rem; color: var(--fg); margin-top: .25rem; }
.map-frame { aspect-ratio: 1/1; border: 1px solid var(--border); overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; min-height: 400px; }

/* Article / detail pages */
article { max-width: 800px; margin: 0 auto; padding: 4rem 1.25rem; }
@media (min-width: 640px){ article { padding: 5rem 1.5rem; } }
@media (min-width: 1024px){ article { padding: 5rem 2rem; } }
article p { margin-top: 1rem; color: rgba(26,26,26,.9); }
article .lead { font-size: 1.05rem; color: var(--muted); margin-top: 1.5rem; }
article h2 { margin-top: 2.5rem; }
article ul.bullets { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
article ul.bullets li { border-left: 2px solid var(--primary); padding-left: 1rem; }
article ul.bullets strong { color: var(--fg); }
article ul.bullets span { color: var(--muted); }
.note { border-left: 2px solid var(--primary); background: var(--card); padding: 1rem; margin-top: 2rem; font-size: .9rem; color: var(--muted); }
.crumb { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.crumb span { margin: 0 .5rem; }
.cta-box { border: 1px solid rgba(201,32,32,.4); background: rgba(201,32,32,.05); padding: 1.5rem; margin-top: 3rem; }

/* FAQ */
.faq { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 2.5rem; }
.faq details { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid var(--border); color: var(--primary); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: .75rem; font-size: .9rem; color: var(--muted); }

.dl-faq { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 1.5rem; }
.dl-faq > div { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.dl-faq > div:last-child { border-bottom: 0; }
.dl-faq dt { font-weight: 600; color: var(--fg); }
.dl-faq dd { margin-top: .5rem; font-size: .9rem; color: var(--muted); }

/* Steps */
.steps { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 640px){ .steps { grid-template-columns: repeat(2,1fr); } }
.step { border-left: 2px solid var(--primary); background: var(--card); padding: 1.25rem; }
.step .step-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); }
.step p { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
