/* CSS određuje izgled. Promijeni ovu boju za prvu vježbu. */
:root { --accent: #176554; --ink: #18342f; --paper: #f7f6f0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Segoe UI', Arial, sans-serif; line-height: 1.6; }
.container { width: min(1120px, 90%); margin-inline: auto; }
.demo { background: var(--ink); color: white; text-align: center; padding: 8px 16px; font-size: 12px; letter-spacing: 1px; }
header { display: flex; justify-content: space-between; align-items: center; padding-block: 26px; border-bottom: 1px solid #d5dcd5; }
a { color: inherit; } .brand { display: flex; gap: 12px; align-items: center; font-size: 32px; text-decoration: none; } .brand span { font-size: 15px; line-height: 1.25; } .brand strong { font-size: 21px; }
/* Bijeli logo dobija tamnu podlogu. Visina se prilagođava širini. */
.brand { background-color: var(--ink); padding: 12px 16px; border-radius: 4px; flex-shrink: 0; }
.brand img { display: block; width: 250px; max-width: 100%; height: auto; }
nav { display: flex; gap: 28px; } nav a { text-decoration: none; font-size: 14px; } nav a:hover { text-decoration: underline; }
@media (max-width: 480px) { header.container { flex-direction: column; align-items: stretch; } header nav { justify-content: flex-start; } .brand { align-self: flex-start; max-width: 100%; } }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 65px; align-items: center; padding-block: 70px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--accent); }
h1 { font-size: clamp(36px, 4.4vw, 58px); letter-spacing: -2px; line-height: 1.1; margin: 22px 0; font-weight: 600; }
.intro { font-size: 17px; color: #56645d; max-width: 510px; }
.button { display: inline-flex; gap: 30px; align-items: center; background: var(--accent); color: white; padding: 15px 23px; border: none; border-radius: 4px; text-decoration: none; font: inherit; cursor: pointer; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.button-outline:hover { background: #e4eade; }
.button:hover { filter: brightness(.88); } :focus-visible { outline: 3px solid #d58f33; outline-offset: 5px; }
.note, .section-note { font-size: 13px; color: #65736c; } .note { margin-top: 22px; }
.architecture { min-height: 430px; position: relative; overflow: hidden; background: #dce7df; border-radius: 100px 5px 5px 5px; }
.architecture-logo { display: grid; place-items: center; background: var(--ink); padding: 30px; }
/* Kvadratni okvir prikazuje samo lijevi dio originalnog logotipa. */
.logo-symbol { width: min(100%, 250px); aspect-ratio: 1; overflow: hidden; }
.logo-symbol img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.sun { position: absolute; width: 100px; height: 100px; background: #e8c67b; border-radius: 50%; right: 30px; top: 30px; }
.building { position: absolute; background-color: #f2ece0; background-image: repeating-linear-gradient(0deg, transparent 0 36px, #d4cbbc 36px 40px); box-shadow: 12px 8px 0 #b7b6a9; }
.building::after { content: ''; position: absolute; inset: 25px 20px; background: repeating-linear-gradient(90deg, #41635f 0 15px, transparent 15px 37px); opacity: .8; }
.back { width: 145px; height: 210px; left: 25px; bottom: 65px; }.front { width: 200px; height: 300px; right: 35px; bottom: 65px; }.ground { position: absolute; bottom: 40px; height: 25px; background: #a4b8a2; width: 100%; }.caption { position: absolute; bottom: 12px; left: 22px; font-size: 12px; }
.services { padding-block: 35px 65px; } h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.2; font-weight: 600; letter-spacing: -1px; margin: 16px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; } article { border-top: 2px solid #a8b9a9; padding-top: 20px; } .number { color: var(--accent); font-size: 13px; } h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; } article p, .approach > p:last-child { color: #56645d; }
/* Grid raspoređuje dva paketa u jednake kolone. */
.pricing { padding-block: 40px 65px; border-top: 1px solid #d5dcd5; }
.pricing > p:not(.eyebrow) { max-width: 700px; color: #56645d; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.package { display: flex; flex-direction: column; padding: clamp(20px, 3vw, 36px); border: 1px solid #bdcbbd; border-radius: 8px; min-width: 0; }
.package-residence { background: #e4eade; border-color: var(--accent); }
.package h3 { margin: 0 0 16px; font-size: 18px; letter-spacing: 1px; }
.package .package-price { color: var(--ink); margin: 0; }
.package-price strong { font-size: clamp(32px, 4vw, 44px); line-height: 1.2; letter-spacing: -1px; }
.package-price span { white-space: nowrap; }
.package .package-unit { margin: 4px 0 16px; font-size: 14px; }
.package h4 { margin: 12px 0; }
.package ul { margin: 0 0 28px; padding-left: 20px; }
.package li { padding-left: 4px; margin-bottom: 12px; }
.package li::marker { color: var(--accent); }
.package .button { margin-top: auto; align-self: flex-start; }
.package-extras { padding: 10px 0 0 20px; border-left: 3px solid #a8b9a9; margin-top: 28px; }
.package-extras p { color: #56645d; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }
.approach { padding-block: 40px 65px; border-top: 1px solid #d5dcd5; } .approach > p:last-child { max-width: 620px; }
.contact { padding: 35px; background: #e4eade; display: grid; grid-template-columns: 1.4fr 1fr; gap: 35px; align-items: center; } #demo-message { font-size: 14px; max-width: 330px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; counter-reset: step; margin: 35px 0 0; padding: 0; }
.steps li { counter-increment: step; border-top: 1px solid #a8b9a9; padding-top: 20px; }
.steps li::before { content: '0' counter(step); display: inline-block; color: var(--accent); font-weight: 600; font-size: 14px; }
.steps p { color: #56645d; }
.faq { padding-block: 15px 65px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid #cbd5cb; padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid #cbd5cb; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.faq details p { color: #56645d; max-width: 760px; margin-bottom: 0; }
/* [open] bira pitanje koje je trenutno otvoreno. */
.faq details[open] {
  background-color: #e4eade;
  padding-inline: 20px;
}
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; gap: 16px; } }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.contact-details > a { overflow-wrap: anywhere; }
.contact-phone { font-size: clamp(25px, 3vw, 34px); font-weight: 600; text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 12px; }
.contact-link { font-weight: 600; text-underline-offset: 4px; }
footer { display: flex; justify-content: space-between; padding-block: 35px; font-size: 12px; } footer span { color: #65736c; }
@media (max-width: 700px) { header { align-items: flex-start; gap: 20px; } nav { gap: 12px; flex-wrap: wrap; justify-content: end; } .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 35px; } .architecture { min-height: 350px; } .front { height: 250px; } .cards, .contact { grid-template-columns: 1fr; } .cards { gap: 15px; } footer { gap: 16px; flex-wrap: wrap; } }
/* Nove sekcije koriste isti sistem boja i širinu kao ostatak stranice. */
header { gap: 30px; }
header nav { flex-wrap: wrap; gap: 12px 22px; justify-content: flex-end; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; padding-block: 25px; margin-bottom: 35px; border-top: 1px solid #cbd5cb; border-bottom: 1px solid #cbd5cb; }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-size: clamp(25px, 3vw, 38px); line-height: 1.2; font-weight: 600; }
.stats span { font-size: 14px; color: #56645d; }
.results, .about { padding-block: 40px 65px; border-top: 1px solid #d5dcd5; }
.results > p:not(.eyebrow) { max-width: 730px; color: #56645d; }
.gallery-pending { border: 1px dashed #a8b9a9; padding: 30px; margin-top: 28px; border-radius: 8px; background: #edf0e7; }
.gallery-pending h3 { margin-top: 8px; }
.gallery-pending p { color: #56645d; margin-bottom: 0; }
.package .package-focus { color: var(--accent); font-size: 14px; font-weight: 600; min-height: 45px; margin: 0 0 20px; }
.package-details { border-top: 1px solid #bdcbbd; padding-block: 18px; margin-bottom: 15px; }
.package-details summary { cursor: pointer; font-weight: 600; }
.package-details ul { margin-top: 20px; margin-bottom: 0; }
.pricing-clarification { font-size: 14px; padding: 18px 0; }
.resident-section { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 50px; border-top: 1px solid #d5dcd5; padding-block: 45px 65px; }
.resident-section p { color: #56645d; }
.resident-benefits { list-style: none; padding: 0; margin: 25px 0; }
.resident-benefits li { display: flex; flex-direction: column; gap: 4px; padding-block: 13px; border-bottom: 1px solid #d5dcd5; }
.resident-benefits span { color: #56645d; }
.resident-access { padding: 30px; border-radius: 8px; background: #e4eade; }
.resident-access h3 { margin-top: 0; }
.resident-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-block: 22px; }
.resident-actions .button { font-size: 14px; }
.about-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; color: #56645d; }
@media (max-width: 900px) { header { flex-wrap: wrap; } header nav { justify-content: flex-start; } }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:last-child { grid-column: 1 / -1; } .resident-section, .about-copy { grid-template-columns: 1fr; gap: 20px; } .package .package-focus { min-height: 0; } }
.messenger { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 6px; color: white; text-decoration: none; font-size: 15px; font-weight: 600; min-height: 48px; }
.messenger svg { width: 25px; height: 25px; flex-shrink: 0; }
.messenger-viber { background: #6653a5; }
.messenger-whatsapp { background: #126b3d; }
.messenger:hover { filter: brightness(.9); }
dialog { width: min(540px, 92vw); max-height: 90vh; overflow: auto; border: 1px solid #bdcbbd; border-radius: 12px; padding: 28px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgb(15 35 30 / 65%); }
dialog h2 { font-size: 28px; }
dialog label { display: block; font-weight: 600; margin-bottom: 8px; }
dialog textarea { width: 100%; padding: 12px; font: inherit; border: 1px solid #a8b9a9; border-radius: 5px; resize: vertical; background: white; color: var(--ink); }
#copy-status { font-size: 14px; }
/* Tamni uvod: zajednička pozadina povezuje logo, tekst i fotografiju. */
.masthead, .hero-band { background: #142d29; color: #f7f6f0; }
.masthead .demo { background: #102520; color: #bdd0c5; font-size: 10px; }
.masthead header { border-bottom-color: #39504a; }
.masthead .brand { background: transparent; padding: 0; border-radius: 0; }
.masthead nav a { color: #e3ebe5; }
.hero-band { overflow: hidden; margin-bottom: 40px; }
.hero-band .hero { grid-template-columns: 1fr 1fr; gap: 45px; padding-block: 65px; }
.hero-band h1 { font-size: clamp(42px, 5vw, 68px); font-weight: 500; letter-spacing: -2px; max-width: 600px; }
.hero-band .eyebrow { color: #a9cbb7; }
.hero-band .intro { color: #d2ddd5; font-size: 18px; }
.hero-band .note { color: #b3c5ba; }
.hero-band .button { background: #f1f5ec; color: #142d29; }
.hero-band .button-outline { background: transparent; color: #f1f5ec; box-shadow: inset 0 0 0 1px #9eb3a5; }
.hero-band .button-outline:hover { background: #29453c; }
.hero-photo { position: relative; margin: 0; min-width: 0; padding: 14px 0 30px 14px; }
.hero-photo::before { content: ''; position: absolute; inset: 0 12px 42px 0; background: #6f9887; transform: skewY(-3deg); opacity: .55; }
.hero-photo img { display: block; position: relative; width: 100%; height: 440px; object-fit: cover; object-position: 48% center; clip-path: polygon(6% 0, 100% 0, 100% 94%, 0 100%, 0 8%); }
.hero-photo figcaption { position: relative; color: #bacac0; font-size: 11px; margin-top: 12px; text-align: right; }
.hero-band .stats { margin-bottom: 0; border-color: #39504a; padding-block: 28px; }
.hero-band .stats span { color: #c1d0c6; }
.hero-band .stats strong { font-size: clamp(25px, 3vw, 36px); }
@media (max-width: 700px) {
  .hero-band .hero { grid-template-columns: 1fr; padding-block: 38px 24px; gap: 28px; }
  .hero-band h1 { font-size: clamp(40px, 10vw, 58px); letter-spacing: -1.4px; }
  .hero-photo { padding: 0; }
  .hero-photo::before { display: none; }
  .hero-photo img { height: auto; aspect-ratio: 3 / 2; clip-path: none; border-radius: 4px; }
  .hero-photo figcaption { text-align: left; }
  .masthead .brand img { width: 235px; }
}
.hero-photo { padding: 0; }
.hero-photo::before { display: none; }
.hero-photo img { clip-path: none; border-radius: 5px; }
/* transform i opacity daju laganu animaciju bez promjene rasporeda. */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.3,1); }
  .scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
  .button, .messenger { transition: transform 180ms ease, background-color 180ms ease, filter 180ms ease; }
  .button:hover, .messenger:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scroll-reveal { opacity: 1; transform: none; transition: none; } }
.presence { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.4fr; gap: 35px; align-items: center; border-top: 1px solid #bdcbbd; padding-top: 35px; margin-top: 12px; }
.presence h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -1px; margin: 15px 0; }
.presence-copy > p { color: #56645d; }
.presence-cities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-block: 24px; }
.presence-cities li { border: 1px solid #b4c6b5; border-radius: 20px; padding: 6px 12px; font-size: 14px; }
.presence-cities li::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.presence-map { margin: 0; min-width: 0; }
.presence-map img { display: block; width: 100%; height: auto; border-radius: 14px; }
.presence-map figcaption { margin-top: 8px; font-size: 10px; color: #56645d; text-align: right; }
@media (max-width: 700px) { .presence { grid-template-columns: 1fr; gap: 20px; } .contact { padding: 22px; } .presence-map { margin-inline: -10px; } }
@media print { .scroll-reveal { opacity: 1; transform: none; } }
