/* ============================================
   Apartmanska kuća — base.css
   Variables, reset, typography
   ============================================ */

:root {
  /* Colors */
  --sand: #F5F0E8;
  --white: #FFFFFF;
  --ocean: #1B4F72;
  --ocean-light: #2E86C1;
  --gold: #C9A044;
  --dark: #0D1F2D;
  --gray: #8C9BA5;
  --overlay: rgba(13, 31, 45, 0.55);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.20);

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(13, 31, 45, 0.06);
  --shadow-md: 0 12px 32px rgba(13, 31, 45, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 31, 45, 0.16);

  /* Layout */
  --maxw: 1280px;
  --nav-h: 88px;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.h1-hero {
  font-size: 88px;
  font-weight: 300;
}

.section-title {
  font-size: 52px;
  color: var(--dark);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

p {
  font-weight: 400;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 120px 0;
}

.section--sand {
  background: var(--sand);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 8px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn--primary {
  background: var(--ocean);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: var(--gold);
  color: var(--dark);
}

.btn--gold:hover {
  background: var(--ocean);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--ocean);
  color: var(--ocean);
}

.btn--ghost:hover {
  background: var(--ocean);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--dark);
}

/* Responsive type */
@media (max-width: 1200px) {
  .h1-hero { font-size: 56px; }
  .section-title { font-size: 42px; }
  .section { padding: 90px 0; }
}

@media (max-width: 768px) {
  .h1-hero { font-size: 40px; }
  .section-title { font-size: 34px; }
  .container { padding: 0 22px; }
  .section { padding: 70px 0; }
}
