/*
Theme Name: House of Light Vis
Theme URI: https://house-vis.com/
Author: House of Light Vis
Author URI: https://house-vis.com/
Description: Elegantna WordPress tema za House of Light Vis s modernim, svijetlim hero odjeljkom, custom zaglavljem i responzivnim rasporedom.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: house-of-light-vis
*/

:root {
  --bg-ink: #0f1221;
  --bg-mid: #171c30;
  --bg-soft: #232a45;
  --text-main: #f7f5ef;
  --text-subtle: #cfd2e4;
  --accent-copper: #d28a50;
  --accent-gold: #f1bf70;
  --line: rgba(247, 228, 188, 0.2);
}

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

body {
  margin: 0;
  font-family: "Nunito Sans", "Trebuchet MS", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 0% 0%, #1f2741 0%, transparent 42%),
    radial-gradient(circle at 100% 20%, #241f3d 0%, transparent 45%),
    linear-gradient(160deg, #0f1221 0%, #171c30 60%, #1a2240 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.8rem;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

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

.site-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(15, 18, 33, 0.65);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.site-title {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-title a {
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  border-color: var(--line);
  background: rgba(247, 228, 188, 0.12);
}

.hero {
  padding: 5.2rem 0 3.2rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

.lead {
  color: var(--text-subtle);
  font-size: 1.1rem;
  max-width: 65ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-copper);
  color: #12162b;
  background: linear-gradient(130deg, var(--accent-gold), var(--accent-copper));
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  margin-top: 1rem;
}

.hero__media {
  min-height: 360px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 15%, rgba(241, 191, 112, 0.24), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(210, 138, 80, 0.22), transparent 45%),
    linear-gradient(145deg, rgba(33, 44, 73, 0.88), rgba(17, 22, 35, 0.88));
  box-shadow: 0 16px 35px rgba(6, 8, 20, 0.5);
  position: relative;
  overflow: hidden;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 14px;
  border: 1px dashed rgba(247, 228, 188, 0.28);
  opacity: 0.85;
}

.section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.card-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 15, 31, 0.58);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card h3 {
  color: var(--accent-gold);
  font-size: 1.15rem;
}

.card p {
  color: var(--text-subtle);
}

.content-shell {
  display: grid;
  gap: 1rem;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  background: rgba(15, 18, 33, 0.6);
}

.post-card h2 {
  margin: 0;
}

.post-card h2 a {
  color: var(--accent-gold);
}

.post-card time {
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--text-subtle);
}

.site-footer .site-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  text-decoration: underline;
}

.screen-reader-text {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.logo-splash {
  background: #e0eafc;
  background: -webkit-linear-gradient(to right, #cfdef3, #e0eafc);
  background: linear-gradient(to right, #cfdef3, #e0eafc);
  color: #000000;
  overflow-x: hidden;
}

.logo-splash .holv-splash {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  background: #e0eafc;
  background: -webkit-linear-gradient(to right, #cfdef3, #e0eafc);
  background: linear-gradient(to right, #cfdef3, #e0eafc);
}

.logo-splash .holv-splash__logo {
  width: min(100vw, 1100px);
  max-height: 92vh;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding-bottom: 0.9rem;
  }

  .site-nav a {
    width: 100%;
    border-radius: 10px;
  }
}
