/*
Theme Name: Slavonika International Starter
Theme URI: https://www.slavonika-va.hr
Author: Slavonika IT
Author URI: https://www.slavonika-va.hr
Description: Elementor-optimized WordPress starter theme for the Slavonika IT international (English) website. Includes a sticky brand header, footer widget areas, and base typography (Fraunces + Inter) matching the brand's green/black/cream palette. Pairs with the slavonika-international-elementor-template.json page template.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: slavonika-intl
*/

:root{
  --green-950:#0E2417;
  --green-800:#1B4332;
  --green-600:#2F6B4A;
  --green-400:#6FA084;
  --green-300:#A9C9B0;
  --green-100:#EAF1EA;
  --black:#12130F;
  --white:#FFFFFF;
  --cream:#FAF8F3;
  --muted:#5C665E;
  --line:#DDE6DF;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter', sans-serif;
  color:var(--black);
  background:var(--cream);
  line-height:1.6;
  margin:0;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6{
  font-family:'Fraunces', serif;
  font-weight:500;
  letter-spacing:-0.01em;
  color:var(--green-950);
  margin:0 0 14px;
}
a{color:inherit;}
img{max-width:100%; height:auto; display:block;}
.wrap{max-width:1160px; margin:0 auto; padding:0 28px;}

/* ===== HEADER ===== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,248,243,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:1160px; margin:0 auto; padding:18px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.logo{font-family:'Fraunces', serif; font-size:22px; font-weight:600; color:var(--black); text-decoration:none;}
.logo span{color:var(--green-600);}
.logo img{max-height:44px;}
.primary-nav ul{list-style:none; display:flex; gap:34px; margin:0; padding:0;}
.primary-nav a{font-size:14.5px; font-weight:500; color:var(--black); text-decoration:none; position:relative; padding:4px 0;}
.primary-nav a:hover{color:var(--green-700, var(--green-600));}
.nav-cta{
  background:var(--green-800); color:var(--white) !important; padding:11px 22px; border-radius:3px;
  font-size:14px; font-weight:600; white-space:nowrap; text-decoration:none;
}
.nav-cta:hover{background:var(--green-950);}
.menu-toggle{display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;}
.menu-toggle span{width:22px; height:2px; background:var(--black); display:block;}
.mobile-nav{display:none; flex-direction:column; padding:0 28px 24px; gap:16px; background:var(--cream); border-bottom:1px solid var(--line);}
.mobile-nav.is-open{display:flex;}
.mobile-nav ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px;}
.mobile-nav a{font-size:15px; font-weight:500; color:var(--black); text-decoration:none;}
.mobile-nav .nav-cta{display:inline-block; text-align:center; margin-top:6px;}

@media (max-width:900px){
  .primary-nav, .site-header .nav-cta{display:none;}
  .menu-toggle{display:flex;}
}

/* ===== FOOTER ===== */
.site-footer{background:var(--black); color:rgba(255,255,255,0.6); padding:56px 0 30px; font-size:13.5px;}
.footer-widgets{display:grid; grid-template-columns:repeat(3,1fr); gap:32px; padding-bottom:34px; border-bottom:1px solid rgba(255,255,255,0.12); margin-bottom:24px;}
@media (max-width:768px){ .footer-widgets{grid-template-columns:1fr;} }
.footer-widget-title{color:var(--white); font-size:15px; margin-bottom:14px;}
.footer-widget{color:rgba(255,255,255,0.6); font-size:13.5px;}
.footer-widget a{color:rgba(255,255,255,0.7); text-decoration:none;}
.footer-widget a:hover{color:var(--green-300);}
.footer-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; align-items:center;}
.footer-menu ul{list-style:none; display:flex; gap:20px; margin:0; padding:0;}
.footer-menu a{color:rgba(255,255,255,0.7); text-decoration:none; font-size:13px;}
.footer-menu a:hover{color:var(--green-300);}

/* ===== BASIC CONTENT (blog / fallback templates) ===== */
.site-main{padding:60px 0;}
.site-main article{margin-bottom:48px; padding-bottom:48px; border-bottom:1px solid var(--line);}
.site-main article h2 a{text-decoration:none; color:var(--green-950);}
.entry-meta{color:var(--muted); font-size:13px; margin-bottom:10px;}
.entry-summary{color:var(--muted); font-size:15px;}
.widget-title{font-size:16px; margin-bottom:12px;}

/* Buttons used outside Elementor (fallback templates) */
.btn{
  display:inline-block; background:var(--green-800); color:var(--white); padding:13px 24px;
  border-radius:3px; font-weight:600; font-size:14.5px; text-decoration:none;
}
.btn:hover{background:var(--green-950);}
