/* ========================================
   SOUTHERN EUROPEAN - REORGANIZOVANI CSS
   Čist, organiziran CSS bez duplikata
   ======================================== */

/* ========================================
   1. CSS RESET & VARIABLES
   ======================================== */
:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #5a5a5a;
  --primary: #111111;
  --primary-600: #000000;
  --card: #ffffff;
  --border: #e4e4e4;
  --beige: #e8ded6;
}

/* Global Reset za eliminaciju bijelih traka */

#hero, #what, #contact { /* bež sekcije */
  background-color: #e8ded6 !important;
}

#who, #statement { /* bijele sekcije */
  background-color: #ffffff !important;
}

* {
  background-color: inherit !important;
  color: inherit !important;
}


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

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

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


html {
  scroll-behavior: smooth;
}

/* ========================================
   2. FONTS
   ======================================== */
@font-face {
  font-family: 'Garet';
  src: url('assets/fonts/Garet-Book.woff2') format('woff2'),
       url('assets/fonts/Garet-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garet';
  src: url('assets/fonts/garet/garet-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garet';
  src: url('assets/fonts/Garet-Heavy.woff2') format('woff2'),
       url('assets/fonts/Garet-Heavy.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   3. BASE TYPOGRAPHY
   ======================================== */
body {
  font-family: 'Garet', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: 'Garet', sans-serif;
  font-weight: 500;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

li {
  margin: 0;
}

/* ========================================
   4. LAYOUT COMPONENTS
   ======================================== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.section {
  width: 100%;
  min-height: 100vh;
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beige {
  background: var(--beige);
  color: #111;
}

.center {
  text-align: center;
}

/* Typography Classes */
.title-xl {
  font-size: clamp(48px, 10vw, 72px);
  line-height: 1.1;
  margin: 0 0 20px 0;
  font-family: 'Garet', sans-serif;
  font-weight: 500;
}

.title-lg {
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1.25;
  margin: 0 0 20px 0;
  font-family: 'Garet', sans-serif;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border-radius: 0;
}

.btn.outline {
  border: 2px solid #111;
  color: #111;
  background: transparent;
  padding: 18px 40px;
  font-size: 16px;
}

.btn.outline:hover {
  background: #111;
  color: #fff;;
}

/* Grid */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
}

/* Cards */
.card {
  background: var(--card) !important;
  border: 1px solid var(--border);
  padding: 80px 20px 20px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 130px;
  height: 130px;
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translateX(-50%);
  object-fit: contain;
  z-index: 10;
  background-color: transparent !important;
}

.card h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 10px 0 10px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card ul {
  font-size: 18px;
  line-height: 1.5;
  padding-left: 16px;
  margin: 5px 0 0 0;
  font-family: 'Inter', sans-serif;
}

.card li {
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.5;
}
.card ul {
  list-style: none;      /* uklanjamo defaultne tačke browsera */
  margin: 0;
  padding: 0;
}

.card ul li {
  position: relative;
  line-height: 1.4;      /* malo ljepši razmak između redova */
}


/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-up.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-zoom.is-visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ========================================
   5. HERO SECTION
   ======================================== */
.hero.section {
  padding: 0;
  min-height: 100vh;
  background: var(--beige);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background: var(--beige);
}

.hero-panel {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--beige);
}

.hero-panel .brand-mark {
  width: clamp(240px, 70vw, 500px);
  margin-bottom: 20px;
}

.hero-panel-content {
  width: 100%;
  max-width: 100%;
  content: left;
}


.hero-panel h1 {
  font-size: clamp(49px, 11vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 15px 0;
  text-align: center;
  font-family: 'Garet', sans-serif;
  font-weight: 500;
}

.hero-panel p {
  font-size: clamp(18px, 4.5vw, 36px);
  color: #2c2c2c;
  margin: 10px 0 20px 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.hero-panel .cta {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-media {
  width: 90%;
  max-width: 90%;
  margin: 0 auto 50px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img,
.hero-visual {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ========================================
   6. WHO SECTION
   ======================================== */
.who.section {
  min-height: auto;
  padding: 60px 0;
}

.who .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.who .flower {
  width: clamp(100px, 50%, 200px);
  margin-bottom: 20px;
}

.who .title-xl {
  margin-bottom: 25px;
  text-align: center;
}

.who p {
  font-size: clamp(20px, 4.5vw, 28px);
  line-height: 1.6;
  text-align: center;
  margin: 10px 0;
  max-width: 76%;
  font-family: 'Inter', sans-serif;
}

.who .muted {
  color: black;
  max-width: 90%;
}

/* ========================================
   7. WHAT SECTION
   ======================================== */
.what.section {
  min-height: 100vh;
  padding: 60px 0;
  max-height: 100vh;
}

.what .container {
  width: 90%;
  max-width: 90%;
}

.what .title-xl {
  text-align: center;
  margin-bottom: 30px;
}

.what .cards {
  margin-top: 80px;
}

.what .card {
  margin-top: 80px;
}

.what .card:first-child {
  margin-top: 80px;
}
#what .card ul {
  list-style: none; /* uklanja standardne bullet tačke */
  padding-left: 0;
  margin: 0;
}

#what .card li {
  position: relative;
  padding-left: 1.2em; /* prostor za naš custom bullet */
  text-indent: 0; /* osigurava da drugi red počinje ispod teksta, ne ispod bullet-a */
  line-height: 1.4;
}

/* Dodajemo custom bullet pomoću pseudo-elementa */
#what .card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

/* ========================================
   8. STATEMENT SECTION
   ======================================== */
.statement.section {
  padding: 60px 0;
}

.statement .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90%;
}

.statement .title-lg {
  text-align: center;
  margin-bottom: 30px;
}

.statement .wide-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
}

/* ========================================
   9. CONTACT SECTION
   ======================================== */
.contact.section {
  padding: 60px 0;
}

.contact .container {
  width: 90%;
  max-width: 90%;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-grid .visual {
  width: 100%;
  margin-bottom: 0;
}

.contact-grid .visual img {
  width: 100%;
  height: auto;
  display: block;
}

.contact .title-xl {
  font-size: clamp(48px, 12vw, 120px);
  line-height: 1.1;
  margin: 0 0 30px 0;
}

.contact-block {
  margin-bottom: 30px;
}

.contact-block h4 {
  font-family: 'Garet', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 4vw, 28px);
  letter-spacing: 0.12em;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.contact-block p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 4vw, 28px);
  line-height: 1.6;
  margin: 0;
}


a[href^="tel"], a[href^="mailto"] {
  color: black !important;
  text-decoration: none !important;
}

a[href^="tel"]:hover,
a[href^="tel"]:focus,
a[href^="tel"]:visited,
a[href^="mailto"]:hover,
a[href^="mailto"]:focus,
a[href^="mailto"]:visited {
  color: black !important;
  text-decoration: none !important;
}

/* Location break - pokazuje se samo na mobile/tablet */
.location-break-mobile {
  display: inline;
}

/* ========================================
   10. TABLET STYLES (768px - 1024px)
   ======================================== */
@media screen and (max-width: 767px) {
  /* Sekcije na mobitelu: koriste visinu sadržaja */
  .who.section,
  .what.section,
  .statement.section {
    min-height: auto !important;
    height: fit-content !important;
    max-height: none !important;
  }
  /* Hero panel content - mobile: poravnaj lijevo */
  .hero-panel-content {
    width: 100%;
    text-align: left !important;
    align-self: flex-start !important;
    display: block;
    padding-top: 40px !important;
  }
  .hero-panel-content > * {
    text-align: left !important;
    align-self: flex-start !important;

  }
  .hero-panel-content .cta {
    justify-content: flex-start !important;
  }
  .btn.outline 
  {
    padding: 5px 20px;

  }
  .hero-media
  {
    margin: 0 0px 0px 0px;
    width: 100vw;
    max-width: 100vw;

  }
  .hero-panel{
    align-items: flex-start;
  }
  /* Mobile: fiksna širina ikone kartice */
  .card-icon {
    width: 100px !important;
  }
  .title-lg {
    font-size: clamp(50px, 8vw, 76px);
  }
  .grid-3 
  {
    width: 90%;
    margin-left: auto;
    margin-right: auto;

  }
  .card-icon 
  {

    width: 100px;
  }

  .card h3
  {
    text-align: center;
  }
  
  .card
  {
    padding: 10vh 20px 5vh 20px;
    align-items: center;
  }

  .contact .title-xl 
  {
    margin: 20px 0 30px 0;

  }

  .who p{
    max-width: 100%;
    font-size: clamp(5px, 4.5vw,28px);
    }

  .who .flower 
  {

    width: clamp(50px, 50%, 100px);
    margin-bottom: 5px;
  }
  .who .title-xl 
  {
    width: 100%;
    margin-bottom: 5px;
  }
  .what .title-xl 
  {
    margin-bottom: 5px;
  }

  .what .cards {
    margin-top: 20px;
}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  /* Sekcije na tabletu: koriste visinu sadržaja */
  .who.section,
  .what.section,
  .statement.section {
    min-height: auto !important;
    height: fit-content !important;
    max-height: none !important;
  }
  /* Hero */
  .hero-panel {
    width: 80%;
    padding-top: 250px;
  }
  /* Hero panel content - tablet: poravnaj lijevo */
  .hero-panel-content {
    width: 100%;
    text-align: left !important;
    align-self: flex-start !important;
    display: block;
  }
  .hero-panel-content > * {
    text-align: left !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
  }
  .hero-panel-content .cta {
    justify-content: flex-start !important;
  }
  
  .hero-media {
    width: 80%;
  }
  
  /* What */
  .what .container {
    width: 80%;
  }
  
  .what .cards {
    margin-top: 130px;
  }
  
  .what .card {
    padding: 130px 30px 30px 30px;
    margin-top: 120px;
    align-items: center;
  }
  
  .card-icon {
    width: 160px;
    height: 160px;
    top: -80px;
  }
  
  .card h3 {
    font-size: 48px;
    text-align: center;
  }
  
  .card ul,
  .card li {
    font-size: 38px;
    line-height: 1.7;  }
  
  /* Contact - Split "Get in touch." into two lines */
  .contact .title-xl {
    font-size: 0;
    line-height: 0;
  }
  
  .contact .title-xl::before {
    content: "Get in";
    display: block;
    font-size: 72px;
    line-height: 1.1;
    font-family: 'Garet', sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
  }
  
  .contact .title-xl::after {
    content: "touch.";
    display: block;
    font-size: 72px;
    line-height: 1.1;
    font-family: 'Garet', sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }

  .contact .title-xl 
  {
    margin: 20px 0 30px 0;

  }

  .who p{
    max-width: 100%;
  }

  .hero-panel {
    width: 80%;
    padding-top: 100px;
}

.hero-panel .brand-mark 
{
  margin-bottom: 100px;
}
}

/* ========================================
   11. DESKTOP STYLES (1025px+)
   ======================================== */
@media screen and (min-width: 1025px) {
  /* Hero - Two columns */
  .hero.section {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    padding: 0;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100dvh;
    min-height: 100dvh;
    width: 100%;
    overflow: hidden;
  }
  
  .hero-panel {
    width: 100%;
    max-width: 100%;
    padding: 0 80px 60px 10%;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    overflow: hidden;
  }
  
  .hero-panel .brand-mark {
    margin-left: 0;
    align-self: flex-start;
    width: clamp(300px, 25vw, 500px);
    margin-bottom: 20vh;
  }
  
  .hero-panel h1 {
    font-size: clamp(48px, 5.6vw, 96px);
    text-align: left;
    align-self: flex-start;
  }
  
  .hero-panel p {
    font-size: clamp(24px, 2.5vw, 36px);
    text-align: left;
    align-self: flex-start;
  }
  
  .hero-panel .cta {
    justify-content: flex-start;
  }
  
  .hero-media {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: 100dvh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
  }
  
  .hero-media img,
  .hero-visual {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    object-fit: cover;
    object-position: center center;
  }
  
  /* Who */
  .who.section {
    min-height: 100vh;
  }
  
  .who p {
    font-size: 3vh;
  }
  
  .who .flower {
    width: clamp(10px, 50%, 200px);
  }
  
  /* What - Three columns */
  .what.section {
    min-height: 100dvh;
    max-height: 100dvh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }
  
  .what .container {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(clamp(0.7, 1vw, 1.2));
    transform-origin: center center;
    padding: 60px 0;
  }
  
  .what .title-xl {
    margin-bottom: clamp(15vh, 10vh, 160px) !important;
    font-size: clamp(48px, 6vw, 80px) !important;
  }
  
  .what .grid-3 {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(15px, 3vw, 30px);
    width: 100%;
    height: auto;
    margin: 0;
  }
  
  .what .cards {
    margin: 0;
  }
  
  .what .card {
    width: calc((100% - 2 * clamp(15px, 3vw, 30px)) / 3);
    max-width: 400px;
    aspect-ratio: 15/6;
    padding: clamp(70px, 10vh, 180px) clamp(16px, 2.2vw, 28px) clamp(16px, 4vh, 40px) !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    overflow: visible;
  }
  
  .what .card:first-child {
    margin: 0;
  }
  
  .card-icon {
    width: clamp(120px, 10vw, 200px) !important;
    height: clamp(120px, 10vw, 200px) !important;
    position: absolute;
    top: 0; /* središte ikone na gornjoj ivici kartice */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
  
  .card h3 {
    font-size: clamp(22px, 1vw, 30px) !important;
    line-height: 1.2;
    margin: clamp(20px, 4vh, 60px) 0 clamp(10px, 2vh, 30px) 0 !important;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .card ul {
    font-size: clamp(16px, 1.4vw, 26px) !important;
    line-height: 1.6;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .card li {
    font-size: clamp(16px, 1.4vw, 26px) !important;
    line-height: 1.6;
    margin-bottom: clamp(6px, 1vw, 12px);
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  

  /* Statement */
  .statement .title-lg {
    font-size: 76px;
  }
  
  /* Contact - Two columns */
  .contact-grid {
    display: grid;
    grid-template-columns: 40% 5% 40%;
    gap: 0;
    align-items: center;
    justify-content: center;
  }
  
  .contact .title-xl {
    font-size: 12vh;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  
  .contact .title-xl::before,
  .contact .title-xl::after {
    content: none;
    display: none;
  }
  
  .contact-grid .visual img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
  }

  /* 40–20–40 mapiranje i širine containera */
  .contact .container {
    width: 100%;
    max-width: 100%;
  }

  .contact-grid .visual {
    grid-column: 1 / 2;
    width: 100%;
  }

  .contact-grid > .col:not(.visual) {
    grid-column: 3 / 4;
    width: 100%;
    justify-self: start;
  }
  
  .contact-block h4 {
    font-size: 28px;
  }
  
  .contact-block p {
    font-size: 28px;
    white-space: nowrap;
  }
  
  /* Na desktop verziji sakri line break */
  .location-break-mobile {
    display: none;
  }
}

/* ========================================
   12. LARGE DESKTOP (1440px+)
   ======================================== */
@media screen and (min-width: 1440px) {
  .what .container {
    width: 75%;
    max-width: 1400px;
  }
  
  .what .grid-3 {
    gap: 30px;
  }
  
  .what .card h3 {
    font-size: 1.2vw;
  }
  
  .what .card ul,
  .what .card li {
    font-size: 0.95vw;
  }
}

/* ========================================
   13. UTILITIES & OVERRIDES
   ======================================== */
/* Remove margin/padding from sections if needed */
.section > * {
  max-width: 100%;
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Prevent horizontal scroll */
body,
html,
.section {
  overflow-x: hidden;
}

/* Main element - prevent white lines */
main {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Desktop only - additional protection against white lines */
@media screen and (min-width: 1025px) {
  body,
  html,
  main,
  .section {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Prevent any element from creating horizontal scroll */
  * {
    max-width: 100%;
  }
  
  /* Allow specific elements to exceed if needed */
  img,
  .card-icon {
    max-width: none;
  }


}
