/* --- CSS RESET & NORMALIZE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #F3E9E6 0%, #FFFFFF 100%);
  color: #273046;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #A5794B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #86602F;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* --- BRAND FONTS & TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Playfair+Display:wght@700&display=swap');

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #273046;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #273046;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #86602F;
  font-weight: 700;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #273046;
  margin-bottom: 12px;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #273046;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* --- CONTAINER & LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(39,48,70,0.04);
  padding: 40px 24px;
}
.address-block {
  background: #F3E9E6;
  border-radius: 20px;
  padding: 32px 24px;
  margin: 20px 0 0 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container, .feature-grid, .service-list, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px 0 rgba(39, 48, 70, 0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(39, 48, 70, 0.16);
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(39, 48, 70, 0.10);
  margin-bottom: 20px;
  max-width: 700px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(166, 89, 75, 0.09);
  transform: scale(1.014);
}
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #273046;
  font-style: italic;
  line-height: 1.4;
  margin: 0 18px 0 0;
}
.testimonial-info {
  font-size: 0.98rem;
  color: #86602F;
  font-weight: 500;
  white-space: nowrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid > li, .service-list > .service-item {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  padding: 32px 18px;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(39,48,70,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-item:hover, .feature-grid > li:hover {
  box-shadow: 0 8px 28px 0 rgba(39, 48, 70, 0.13);
  transform: scale(1.017);
}
.feature-grid img, .feature-grid svg {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.price {
  margin-top: 6px;
  font-size: 1rem;
  color: #A5794B;
  font-weight: 600;
}

/* --- BUTTONS & CTA --- */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 14px 32px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  transition: background 0.20s, color 0.20s, box-shadow 0.18s, transform 0.15s;
  text-align: center;
  margin-top: 16px;
  box-shadow: 0 2px 10px rgba(167, 121, 75, 0.04);
}
.cta-primary {
  background: linear-gradient(90deg, #A5794B 0%, #86602F 100%);
  color: #fff;
  letter-spacing: 0.2px;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #86602F 0%, #A5794B 100%);
  box-shadow: 0 5px 24px rgba(39,48,70,0.12);
  color: #FFF;
  transform: translateY(-2px) scale(1.02);
}
.cta-secondary {
  background: #fff;
  color: #A5794B;
  border: 2px solid #A5794B;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #A5794B;
  color: #fff;
  border-color: #86602F;
  transform: translateY(-1px) scale(1.01);
}

/* --- NAVIGATION --- */
header {
  background: linear-gradient(90deg, #273046 0%, #A5794B 100%);
  padding: 0;
  box-shadow: 0 4px 16px 0 rgba(39, 48, 70, 0.10);
  position: relative;
  z-index: 99;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
}
.main-nav .logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 40px 0 0;
}
.main-nav ul li {
  margin: 0;
}
.main-nav ul a {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 24px;
  transition: background 0.15s, color 0.13s;
}
.main-nav ul a:hover, .main-nav ul a:focus {
  background: #A5794B;
  color: #fff;
}
.main-nav .cta-primary {
  margin-left: 20px;
  font-size: 1rem;
  padding: 11px 24px;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #A5794B;
  font-size: 2rem;
  z-index: 1020;
  border: 2px solid #A5794B;
  box-shadow: 0 4px 12px rgba(39,48,70,0.07);
  transition: background 0.19s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A5794B;
  color: #fff;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #273046;
  z-index: 1100;
  padding: 48px 0 0 0;
  transform: translateX(-100vw);
  transition: transform 0.35s ease;
}
.mobile-menu.mobile-menu-active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #A5794B;
  color: #fff;
  font-size: 2rem;
  z-index: 1200;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #86602F;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-top: 32px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  font-size: 1.3rem;
  padding: 24px;
  color: #fff;
  border-bottom: 1px solid rgba(243, 233, 230, 0.06);
  background: none;
  transition: background 0.18s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A5794B;
  color: #fff;
}

@media (max-width: 1200px) {
  .main-nav {
    padding: 16px 10px;
  }
  .container {
    max-width: 980px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 8px;
    margin: 0 18px 0 0;
  }
  .container {
    max-width: 90%;
  }
}
@media (max-width: 900px) {
  .main-nav .cta-primary {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .section, .text-section {
    padding: 28px 8px;
  }
  .feature-grid, .service-list, .card-container, .card-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 100%;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-grid > li, .service-list > .service-item {
    min-width: 0;
    width: 100%;
  }
}

/* --- HERO --- */
.hero {
  min-height: 450px;
  background: linear-gradient(110deg, #F3E9E6 56%, #FAF4F1 100%);
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 660px;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 32px;
}
.hero h1 {
  color: #273046;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #273046 0%, #A5794B 100%);
  color: #fff;
  padding-top: 46px;
  padding-bottom: 18px;
  margin-top: 48px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding-bottom: 18px;
}
.footer-top .logo img {
  height: 52px;
}
.contact-info p, .contact-info a {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  font-size: 0.99rem;
  color: #FFF;
  opacity: 0.88;
  transition: color 0.14s, opacity 0.17s;
}
.footer-menu a:hover {
  color: #A5794B;
  opacity: 1;
}
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.social-links a img {
  width: 30px;
  height: 30px;
  opacity: 0.90;
  transition: opacity 0.17s;
}
.social-links a:hover img {
  opacity: 1.0;
}
.footer-bottom {
  text-align: center;
  color: #fff;
  opacity: 0.7;
  padding-top: 22px;
  font-size: 0.95rem;
}

/* --- SECTION & CARD SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .service-list, .card-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}

/* --- ADDITIONAL FLEX WRAPS & GAPS --- */
.footer-top, .footer-menu, .social-links {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
  .footer-top {
    gap: 18px;
  }
}

/* --- FORM ELEMENTS --- */
input, textarea, select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #F3E9E6;
  border-radius: 10px;
  background: #faf8f6;
  font-size: 1rem;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: #A5794B;
  outline: none;
}
label {
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
  color: #273046;
}

/* --- SMALL ELEMENTS & BADGES --- */
.badge {
  display: inline-block;
  background: #A5794B;
  color: #fff;
  padding: 4px 16px;
  border-radius: 10px;
  font-size: 0.92em;
  margin-left: 8px;
}

/* --- ANIMATIONS & TRANSITIONS --- */
.fade-in {
  animation: fadeIn 1.1s cubic-bezier(.39,.57,.56,1.13) both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2100;
  background: #fff;
  color: #273046;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  box-shadow: 0 -2px 16px rgba(39,48,70,0.10);
  padding: 24px 20px 26px 20px;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: fadeIn 0.7s ease;
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  margin-left: 12px;
  margin-right: 12px;
  padding: 10px 24px;
}
.cookie-banner .cookie-btn.accept {
  background: linear-gradient(90deg, #A5794B 0%, #86602F 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.18s;
}
.cookie-banner .cookie-btn.accept:hover{
  background: linear-gradient(90deg, #86602F 0%, #A5794B 100%);
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #A5794B;
  border: 1.5px solid #A5794B;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.18s, color 0.17s;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #F3E9E6;
  color: #273046;
}
.cookie-banner .cookie-btn.settings {
  background: #F3E9E6;
  color: #A5794B;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  transition: background 0.19s, color 0.16s;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #A5794B;
  color: #fff;
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 24px 10px;
  }
  .cookie-banner .cookie-btn {
    margin: 8px 10px 0 0;
    min-width: 140px;
  }
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2200;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39, 48, 70, 0.60);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.30s both;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  padding: 32px 25px;
  border-radius: 20px;
  max-width: 400px;
  width: 94vw;
  color: #273046;
  box-shadow: 0 2px 28px 0 rgba(39, 48, 70, 0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h2 {
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #273046;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #A5794B;
}
.cookie-category.essential label:after {
  content: " (vedno omogočeno)";
  color: #A5794B;
  font-size: 0.97em;
  font-weight: 400;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn-row .cookie-btn {
  min-width: 120px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 15px;
  background: none;
  color: #A5794B;
  font-size: 1.55rem;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover {
  color: #86602F;
}

/* --- UTILITY CLASSES --- */
.hide { display: none!important; }
.d-block { display: block!important; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* --- MICROINTERACTIONS --- */
.card, .service-item, .feature-grid>li, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover, .service-item:hover, .feature-grid>li:hover, .testimonial-card:hover {
  box-shadow: 0 10px 32px 0 rgba(166, 121, 75, 0.11);
  transform: translateY(-3px) scale(1.015);
  z-index: 1;
}

/* --- ACCESSIBILITY FOCUS STATES --- */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid #A5794B;
  outline-offset: 2px;
  z-index: 3;
}

/* --- SCROLLBAR (OPTIONAL, NICE) --- */
::-webkit-scrollbar {
  width: 10px;
  background: #F3E9E6;
}
::-webkit-scrollbar-thumb {
  background: #A5794B;
  border-radius: 8px;
}

/* --- END --- */
