/* === BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0d1f37;
  --navy-light: #142a47;
  --navy-lighter: #1d3a5e;
  --cream: #f5ecd9;
  --cream-dim: rgba(245, 236, 217, 0.75);
  --cream-faint: rgba(245, 236, 217, 0.5);
  --gold: #c5a366;
  --gold-bright: #d4b876;
  --border: rgba(245, 236, 217, 0.08);
}
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--cream);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; width: 100%; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; width: 100%; }

/* === DUBROVNIK STRIP === */
.dubrovnik-strip {
  background: linear-gradient(90deg, rgba(13,31,55,0.4) 0%, rgba(197,163,102,0.08) 50%, rgba(13,31,55,0.4) 100%);
  border-bottom: 1px solid rgba(197,163,102,0.18);
  padding: 8px 0;
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cream-faint);
  font-weight: 400;
}
.dubrovnik-strip .city { color: var(--gold); font-weight: 500; letter-spacing: 0.4em; }
.dubrovnik-strip .coord { font-family: 'Cormorant Garamond', serif; font-style: italic; letter-spacing: 0.15em; text-transform: none; font-size: 0.78rem; }
.dubrovnik-strip .sep { margin: 0 14px; opacity: 0.4; }
@media (max-width: 640px) {
  .dubrovnik-strip { font-size: 0.6rem; letter-spacing: 0.25em; }
  .dubrovnik-strip .sep { margin: 0 8px; }
  .dubrovnik-strip .coord { font-size: 0.7rem; }
}

/* === HEADER === */
.site-header { padding: 24px 0; border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.brand .dot { color: var(--gold); }
.brand .city-tag {
  display: inline-block;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(197,163,102,0.35);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.04em;
}
@media (max-width: 480px) { .brand .city-tag { display: none; } }
.site-nav { display: flex; gap: 28px; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.site-nav a {
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.site-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
@media (max-width: 640px) { .site-nav { display: none; } }

/* === HERO landing === */
.hero { text-align: center; padding: 100px 0 60px; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 500; letter-spacing: 0.02em; line-height: 1.05; margin-bottom: 28px; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero .tagline { font-size: 0.95rem; color: var(--cream-dim); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; }
.hero .divider { width: 60px; height: 1px; background: var(--gold); margin: 32px auto 0; }

/* === CARDS landing === */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 50px 0 100px; }
@media (max-width: 768px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--navy-light);
  border: 1px solid rgba(197, 163, 102, 0.12);
  border-radius: 6px;
  padding: 48px 40px;
  text-decoration: none;
  color: var(--cream);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  display: block;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.5s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(197, 163, 102, 0.4); background: var(--navy-lighter); }
.card:hover::before { width: 100%; }
.card .number { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 24px; display: block; }
.card h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 500; line-height: 1.15; margin-bottom: 16px; }
.card p { color: var(--cream-dim); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.card .arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.card .arrow::after { content: '→'; transition: transform 0.3s ease; }
.card:hover .arrow::after { transform: translateX(6px); }

/* === PAGE HERO === */
.page-hero { padding: 70px 0 50px; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.05rem; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 500; letter-spacing: 0.02em; line-height: 1.1; margin-bottom: 24px; }
.page-hero h1 .accent { color: var(--gold); font-style: italic; }
.page-hero .lead { font-size: 1.08rem; color: var(--cream-dim); max-width: 720px; margin: 0 auto; line-height: 1.8; }

/* === PROPERTY GRID === */
.property-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 50px 0 32px; }
@media (max-width: 768px) { .property-grid { grid-template-columns: 1fr; } }
.property-card { background: var(--navy-light); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--cream); transition: all 0.35s ease; display: flex; flex-direction: column; }
.property-card:hover { transform: translateY(-4px); border-color: rgba(197, 163, 102, 0.4); }
.property-card .img { width: 100%; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-lighter) 100%); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; color: var(--gold); font-style: italic; font-size: 1.4rem; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
.property-card .body { padding: 28px 32px 32px; }
.property-card .label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.property-card h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 500; margin-bottom: 12px; }
.property-card p { color: var(--cream-dim); font-size: 0.94rem; margin-bottom: 20px; line-height: 1.65; }
.property-card .quick { display: flex; gap: 18px; font-size: 0.8rem; color: var(--cream-faint); border-top: 1px solid var(--border); padding-top: 18px; flex-wrap: wrap; letter-spacing: 0.05em; }
.property-card .quick span::before { content: '·'; margin-right: 10px; color: var(--gold); }
.property-card .quick span:first-child::before { display: none; }

/* === APARTMENT DETAIL === */
.apt-hero { padding: 50px 0 32px; }
.apt-hero .breadcrumb { font-size: 0.82rem; color: var(--cream-faint); margin-bottom: 32px; letter-spacing: 0.05em; }
.apt-hero .breadcrumb a { color: var(--cream-dim); text-decoration: none; }
.apt-hero .breadcrumb a:hover { color: var(--gold); }
.apt-hero .breadcrumb .sep { margin: 0 10px; color: var(--gold); }
.apt-hero .eyebrow { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold); font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.apt-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 500; margin-bottom: 18px; line-height: 1.05; }
.apt-hero .location { color: var(--cream-dim); font-size: 1.05rem; letter-spacing: 0.05em; }

/* === GALLERY === */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 520px; margin: 40px 0 14px; }
.gallery .g { background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-lighter) 100%); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.05rem; letter-spacing: 0.04em; border-radius: 4px; }
.gallery .g-big { grid-row: 1 / 3; grid-column: 1; }
.gallery-caption { text-align: center; color: var(--cream-faint); font-size: 0.82rem; letter-spacing: 0.06em; font-style: italic; margin-bottom: 32px; }
@media (max-width: 768px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery .g { aspect-ratio: 4/3; }
  .gallery .g-big { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 16/10; }
}

/* === FEATURES BAR === */
.features-bar { display: flex; flex-wrap: wrap; padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); justify-content: space-around; }
.features-bar .feat { text-align: center; padding: 8px 20px; flex: 1; min-width: 110px; }
.features-bar .feat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--gold); display: block; line-height: 1; }
.features-bar .feat-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-faint); margin-top: 8px; }

/* === SECTION === */
.section { padding: 50px 0; }
.section h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 500; margin-bottom: 28px; position: relative; padding-bottom: 14px; }
.section h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 1px; background: var(--gold); }
.section p { color: var(--cream-dim); font-size: 1.02rem; margin-bottom: 18px; line-height: 1.85; }

/* === AMENITIES === */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 32px; list-style: none; }
@media (max-width: 768px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .amenities { grid-template-columns: 1fr; } }
.amenities li { color: var(--cream-dim); padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.94rem; display: flex; align-items: center; }
.amenities li::before { content: '✓'; color: var(--gold); margin-right: 12px; font-size: 0.85rem; }

/* === LOCATION TABLE === */
.location-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
@media (max-width: 768px) { .location-table { grid-template-columns: 1fr; } }
.location-table .row { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--border); gap: 16px; }
@media (max-width: 768px) { .location-table .row:nth-last-child(2) { border-bottom: 1px solid var(--border); } }
.location-table .row:last-child { border-bottom: none; }
.location-table .row:nth-child(odd) { border-right: 1px solid var(--border); }
@media (max-width: 768px) { .location-table .row:nth-child(odd) { border-right: none; } }
.location-table .label { color: var(--cream-dim); font-size: 0.92rem; }
.location-table .value { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.08rem; text-align: right; }

/* === REVIEWS === */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .reviews { grid-template-columns: 1fr; } }
.review { background: var(--navy-light); border: 1px solid var(--border); padding: 32px 28px; border-radius: 6px; }
.review .stars { color: var(--gold); margin-bottom: 16px; letter-spacing: 0.15em; font-size: 0.95rem; }
.review .text { color: var(--cream-dim); font-size: 0.94rem; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.review .author { font-family: 'Cormorant Garamond', serif; font-size: 1.08rem; color: var(--cream); }
.review .date { font-size: 0.78rem; color: var(--cream-faint); margin-top: 4px; letter-spacing: 0.05em; }

/* === CTA === */
.cta { background: var(--navy-light); border: 1px solid var(--border); padding: 60px 40px; text-align: center; border-radius: 6px; margin: 50px 0 80px; }
.cta h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 500; margin-bottom: 14px; }
.cta p { color: var(--cream-dim); margin-bottom: 32px; }
.cta .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: 14px 32px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; border-radius: 2px; text-decoration: none; transition: all 0.3s ease; font-weight: 500; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* === PLACEHOLDER === */
.placeholder { padding: 100px 0 120px; text-align: center; }
.placeholder .label { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.88rem; margin-bottom: 24px; }
.placeholder h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 500; margin-bottom: 28px; line-height: 1.05; }
.placeholder h1 .accent { color: var(--gold); font-style: italic; }
.placeholder p { color: var(--cream-dim); max-width: 620px; margin: 0 auto 18px; line-height: 1.85; font-size: 1.02rem; }
.placeholder .divider { width: 60px; height: 1px; background: var(--gold); margin: 36px auto; }

/* === FOOTER === */
.site-footer { margin-top: auto; padding: 40px 0 28px; border-top: 1px solid var(--border); background: rgba(0,0,0,0.18); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; color: var(--cream-dim); font-size: 0.88rem; }
.site-footer .brand-block strong { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 500; letter-spacing: 0.04em; color: var(--cream); }
.site-footer .legal { font-size: 0.78rem; color: var(--cream-faint); margin-top: 8px; letter-spacing: 0.04em; }
.site-footer a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; transition: color 0.2s;s}
.site-footer a:hover { color: var(--gold); }
