/* Theme Name: IvaSOMATIC25
Author: Mirta Lijović
Version: 3.0 */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Domine:wght@400..700&family=Forum&family=Italianno&family=Monsieur+La+Doulaise&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Parisienne&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --bg: #ffffff;
  --text: #222;
  --muted: #666;
  --accent: #d1cab7;
  --accent-2: #f6efed;
  --primary: #2b2b2b;
  --footer-bg: #2b2b2b;
  --container: 1200px;
  --gap: 28px;
  --radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Raleway";
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px;
}



/* HEADER */
 header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}


.brand { font-weight: 700; font-size: 1.25rem; display: flex;
  flex-direction: column; 
  align-items:center;}

.tagline {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 5px;
  margin-left: 10px; 
  text-align: center;
}

nav.main-nav {
  display: flex;
  gap: 18px;
  margin-right: 10px;
}




nav.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  font-size: 0.85rem;
  
} 

nav.main-nav a,
.tagline {
  font-family: "Raleway", sans-serif; 
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}



/* TWO-COLUMN  ++++++++++++++++++++++++++++++++++++++++++++++++++ */

.two-col {
  display: flex;
  gap: var(--gap); 
   min-height: 600px;
  align-items: center;
  margin: 0;
}
.two-col .col { flex: 1; }
.img-wrap {
  height: 100%;
  object-fit: cover;
   overflow: hidden;
  border-radius: var(--radius);
}

.img-wrap img {
  width: 80%;
  height: auto;
 object-fit: cover; 
 border-radius: 10px;
 margin-left: 20%;

}

@media (max-width: 480px) {

.img-wrap img {
  margin: 0;
   width: 100%;
  height: auto;
 border-radius: 5px;

}


}

@media (min-width: 481px) and (max-width: 800px) {

.img-wrap img {
  margin: 10%;
}


}

.text-block { padding: 18px; }
.eyebrow {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

h2 { margin: 6px 0 12px; 
  font-family: "Raleway", sans-serif; 
  font-weight: lighter;
  line-height: 1,2;
  font-size: 3rem; }
p.excerpt { color: var(--muted); margin: 0 0 14px; }
.read-more { text-decoration: none; color: var(--primary); font-weight: 700; } 

h3 { margin: 6px 0 12px; 
  font-family: "Raleway", sans-serif; 
  font-weight: lighter;
  line-height: 1,2;
  font-size: 3rem; }
p.excerpt { color: var(--muted); margin: 0 0 14px; }
.read-more { text-decoration: none; color: var(--primary); font-weight: 700; } 

@media (max-width: 480px) {
h3 {
font-size: 2.3rem;
line-height: 1.1;
}
}

/* Full-width sekcije */
.alt-section {
  background: var(--accent-2);
  padding: 40px 0;
}
.quote-section {
  background: var(--accent);
  padding: 40px 0;
}

/* THREE ITEMS */
.three-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0;
}

.three-items a {
   text-decoration: none;
}
.three-items .item {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
 
}
.three-items h3 { margin: 8px 0 6px; }
.three-items p { margin: 0; color: var(--muted); }

/* QUOTE */
.quote-block {
  text-align: center;
}
.quote-block blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-size: 1.8rem;
  font-style: italic;
}
.quote-author {
  margin-top: 10px;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 480px) {
.quote-block blockquote {
    font-size: 1.5rem;
}

}

/* FOOTER */
footer.site-footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 28px 24px;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
}
footer .copyright { font-size: 0.95rem;   
  flex: 1;  
  text-align: center;   
 }

/* Responsive */
@media (max-width: 800px) {
  .two-col { flex-direction: column; }
  .three-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .wrap { padding: 16px; }
  .brand { font-size: 1rem; margin-left: 5%; }
  .two-col { gap: 18px; }
  .three-items { grid-template-columns: 1fr; }
  nav.main-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 16px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  nav.main-nav.open { display: flex; }
  .hamburger { display: flex; margin-right: 5%; z-index: 100;}


  .tagline {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
    line-height: 1.6;
    white-space: pre-line; 
  }

}


.alt-section {
  position: relative;
  background: var(--accent-2);
  overflow: hidden;
  min-height: 300px; 
  display: flex;
  align-items: center;
  padding: 0;
}


.alt-section .wrap {
  position: relative;
  z-index: 2;
  padding: 40px 60px; 
}

.alt-section .side-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%; 
}

 .alt-section .side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} 

.alt-section .two-col.special {
  max-width: 50%; 
}

/* SLIDER */

.slider-section {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.slider {
  position: relative;
  height: 100%;
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
  animation: fade 1s;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.slide img {
  width: 100%;
  height: 800px;
  object-fit: cover;       
  object-position: center; 
}

.caption {
  position: absolute;
  bottom: 50%;
  left: 10%;
  width: 20%;
  text-align: center;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  color: #fff;
  padding: 10px;
  font-size: 20px;
}




/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

@media (max-width: 800px) {

  /* === ALT-SEKCIJE === */
  .alt-section {
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
  }

  .alt-section .wrap {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* tekst pri dnu */
    height: 50vh; /* donjih 50% za wrap (tekst) */
    background: transparent;
  }

  .alt-section .two-col.special {
    max-width: 100%;
    flex-direction: column;
    padding: 0;
  }

  .alt-section .text-block {
    padding: 12px 0;
    border-radius: 8px;
  }

  .alt-section .text-block h2 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .about-content h2 {
     font-size: 2rem;
    line-height: 1.2;
  }

  .alt-section .text-block p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .alt-section .side-image {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
  }

  .alt-section .side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* === TWO-COL sekcije (npr. prva sekcija) === */
  .two-col { 
    flex-direction: column; 
    gap: 18px; 
    min-height: auto; 
  }

  .two-col .text-block h2 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .two-col .text-block p {
    font-size: 1rem;
  }




  /* === SLIDER === */
  .slider-section {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
  } 


  .slider-section .slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .slider-section .slide.active {
    display: block;
  }

  .slider-section .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
  }


.slider-section .caption {
  position: absolute;
  bottom: 70%;             
  left: 50%;
  transform: translateX(-50%);
  width: 80%;               
  max-width: 90%;           
  display: block;           
  text-align: center;
  background: rgba(0,0,0,0.6); 
  border-radius: 10px;
  color: #fff;
  padding: 12px 16px;        
  font-size: 1rem;
  line-height: 1.4;          
  box-sizing: border-box;
}


  /* === NAVIGACIJA === */
  nav.main-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 16px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 2000;
  }

  nav.main-nav.open { display: flex; }
 .hamburger {
  display: flex;
  margin-right: 5%;
  position: relative;
  z-index: 2100; 
}

  /* === TRI STAVKE === */
  .three-items { grid-template-columns: 1fr; }

  .wrap { padding: 16px; }
  .brand { font-size: 1rem; }
}


/* HERO IMAGE */
.hero-image {
  width: 100%;
  height: 350px; 
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; 
}

/* TEKST ISPOD */
.about-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 30px 24px;
  text-align: left;
}

.about-content h1 {
  font-family: "Raleway", sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 800px; 
  text-indent: 2em;
}

.about-content p:first-of-type {
  text-indent: 0; 
}



.inspo {
  display: block;          
  text-align: center;      
  padding: 20px 0;
    margin: 0 auto;
}

.inspo img {
  display: block;        
  margin: 20px auto;     
  width: 70%;            
  max-width: 700px;        
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@media (max-width: 400px) {

 .inspo img {
  width: 90%;            
}

}

h4 {
  font-weight: lighter;
}

h5 {
  font-size: 1.2rem;
}

.education-box {
  background-color: #dddbd7;
  padding: 20px;
  margin: 30px 0 30px 50px;  
  max-width: 650px;          
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@media (max-width: 400px) {

  .education-box {
   margin: 30px 0 30px 0;  
  
}

}
  .education-box p {
    text-align: left;
    margin-bottom: 15px;
    text-indent: 0;
  }

  .education-box .read-more {
 
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
    cursor: pointer;
  }

  .education-box .more-text {
    display: none;
    margin: 10px 0 20px 0;
    padding: 10px 15px;
    border-left: 3px solid #0056b3;
    background: #ffffff;
    border-radius: 6px;
  }

.no-indent {
  text-indent: 0 !important;
}

.photo-on-page {
  display: block;
  max-width: 600px;
  width: 100%;
  border-radius: 10px;
 
}

/* Mobile verzija */
@media (max-width: 768px) {
  .photo-on-page {
    max-width: 100%;
    width: 100%;
    margin: 20px 0;   
  }
}

.blog-hero-image {
  position: relative;
  width: 100%;
  height: 30vh; 
  overflow: hidden;
}

.blog-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero-text h1 {
  font-size: 64px;
   font-family: "Raleway", sans-serif;
   font-weight: 400; 
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.hero-text p {
  font-size: 22px;
  font-weight: 700;
}

