@import url('https://fonts.cdnfonts.com/css/myriad-pro');

/* Global reset / osnovne postavke */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Myriad Pro', Arial, sans-serif;
    font-weight: 300;
    scroll-behavior: smooth;
}

/* Naslovi i naglašeni tekst */
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b,
.section-title,
.btn,
.slider-button {
    font-weight: 600;
}

/* Hero sekcija */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero video,
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero video {
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    padding: 0 1.5rem;
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-button {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #bf9669;
    color: white;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #2e3d33;
}

/* Općenito za sekcije */
.home-section-bg {
    background: linear-gradient(90deg, #f7f9fb 60%, #bf966922 100%);
    width: 100%;
    overflow-x: hidden;
}

section {
    padding: 5rem 10%;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #bf9669;
}

/* Welcome sekcija */
.welcome {
    padding: 4.5rem 0 3rem 0;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.welcome .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.welcome-main-title {
    line-height: 1.3;
    text-align: center;
    margin: 0 auto 1em;
    padding: 0;
    font-size: 4.4rem;
    color: #2e3d33;
    font-weight: 300;
    letter-spacing: -1.5px;
    background: #E6E7E8;
    border-radius: 9px;
    box-shadow: 0 4px 14px #2e3d3320;
    border-bottom: 3px solid #48524B;
    max-width: 1000px;
}

.welcome-headline {
    margin: 0;
}

.welcome-accent {
    font-size: 2rem;
    font-weight: 600;
    color: #bf9669;
    border-bottom: 2px solid #2e3d33;
    padding-bottom: 0.13em;
}

.welcome-inner {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 30px #2e3d3350;
    padding: 2.8rem 2.2rem 2.6rem 2.2rem;
    border: 2px solid #2e3d33;
    position: relative;
}

.welcome-lead {
    font-size: 1.17rem;
    color: #2e3d33;
    margin-bottom: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
}

.welcome-init {
    color: #000000;
    font-weight: 300;
    font-size: 1.7rem;
}

.welcome-questions {
    list-style: none;
    margin: 1.3em 0 2em;
    padding-left: 0;
}

.welcome-questions li {
    margin-bottom: 0.9em;
    font-size: 1.17rem;
    padding-left: 1.35em;
    position: relative;
    color: #2e3d33;
    font-weight: 300;
}

.welcome-questions li:before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #bf9669;
    font-size: 1.15em;
    font-weight: bold;
    opacity: 0.94;
}

.welcome-highlight {
    background: #E6E7E8;
    border-left: 5px solid #48524B;
    color: #2e3d33;
    padding: 1.1em 1.3em;
    border-radius: 7px;
    margin: 1.7em 0;
    font-size: 1.17rem;
    font-weight: 300;
}

.welcome-quote-block {
    display: flex;
    gap: 1.5rem;
    margin: 1.7em 0;
    flex-wrap: wrap;
}

.welcome-portrait {
    flex: 0 0 220px;
    display: flex;
    justify-content: center;
}

.welcome-portrait img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid #2e3d33;
    box-shadow: 0 4px 18px #2e3d3320;
}

.welcome-quote-text {
    font-size: 1.17rem;
    flex: 1 1 300px;
    min-width: 260px;
}

.welcome-quote-text .welcome-highlight {
    margin: 0 0 1rem 0;
}

.welcome-quote-text .welcome-par {
    margin: 0;
}

/* Philosophy */
.philosophy-title {
    color: #bf9669;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: -1px;
    padding-bottom: 0.18em;
    margin: 2rem auto 0.8rem;
    border-bottom: 2px solid #2e3d33;
    max-width: fit-content;
}

.philosophy-lead {
    color: #2e3d33;
    font-size: 1.14rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 1.3rem;
}

.philosophy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1em 0;
}

.philosophy-list li {
    position: relative;
    padding-left: 1.4em;
    color: #2e3d33;
    font-size: 1.17rem;
    font-weight: 300;
    margin-bottom: 0.6em;
}

.philosophy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #bf9669;
    font-size: 1.24em;
    font-weight: bold;
}

.philosophy-body {
    color: #2e3d33;
    font-size: 1.17rem;
    line-height: 1.66;
    font-weight: 300;
    text-align: center;
    margin-bottom: 0.2em;
}

.philosophy-highlight {
    background: #E6E7E8;
    border-left: 5px solid #48524B;
    box-shadow: 0 1px 10px #bf966911;
    border-radius: 9px;
    font-size: 1.17rem;
    font-weight: 300;
    padding: 1.12em 1.45em;
    text-align: center;
    margin-top: 0.8em;
}

.philosophy-accent {
    font-weight: 600;
    font-size: 1.17em;
    display: block;
    margin-top: 0.7em;
}

/* Partnership CTA */
.partnership {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 3rem 0;
    text-align: center;
}

.partnership-text {
    font-size: 1.55rem;
    font-weight: 600;
    color: #2e3d33;
    line-height: 1.5;
    text-align: center;
    background: #E6E7E8;
    border-left: 5px solid #48524B;
    border-right: 5px solid #48524B;
    padding: 1.2em 1.5em;
    border-radius: 12px;
    box-shadow: 0 3px 16px #2e3d3320;
    max-width: 1000px;
    margin: 0 auto;
}

/* Purpose sekcija */
.welcome-purpose .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.purpose-title {
    text-align: center;
    color: #bf9669;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1.3rem;
    border-bottom: 2px solid #2e3d33;
    padding-bottom: 0.23em;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.purpose-inner {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 16px #2e3d3320;
    border: 2px solid #2e3d33;
    padding: 2.1rem;
    font-size: 1.14rem;
    display: flex;
    flex-direction: column;
    gap: 1.35em;
}

.purpose-lead {
    font-weight: 600;
    color: #2e3d33;
    font-size: 1.17rem;
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.purpose-highlight {
    background: #E6E7E8;
    border-left: 5px solid #48524B;
    color: #2e3d33;
    font-size: 1.17rem;
    line-height: 1.7;
    border-radius: 7px;
    padding: 1.1em 1.4em;
    margin: 1.3em 0 1.4em 0;
    font-weight: 300;
    box-shadow: 0 1px 8px #bf966911;
}

.purpose-list {
    list-style: none;
    padding-left: 0;
    margin: 1.2em 0 0.5em 0;
}

.purpose-list li {
    position: relative;
    margin-bottom: 0.68em;
    padding-left: 1.45em;
    color: #2e3d33;
    font-size: 1.17rem;
}

.purpose-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #bf9669;
    font-size: 1.17em;
    font-weight: bold;
    opacity: 0.92;
}

.purpose-cta {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 2.1em;
}

/* Unique sekcija */
.unique {
    padding: 3.7rem 0 4rem 0;
}

.unique .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.1rem;
}

.unique-title {
    text-align: center;
    color: #bf9669;
    font-weight: 600;
    font-size: 2.1rem;
    letter-spacing: -1.1px;
    margin-bottom: 1.15rem;
    border-bottom: 2px solid #2e3d33;
    padding-bottom: 0.22em;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.unique-inner {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 16px #2e3d3320;
    border: 2px solid #2e3d33;
    padding: 2.3rem 2.1rem 2.4rem 2.1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.unique-lead {
    font-weight: 600;
    color: #2e3d33;
    font-size: 1.17rem;
    margin-bottom: 0.7em;
    line-height: 1.58;
}

.unique-approach-title {
    color: #2e3d33;
    font-size: 1.17rem;
    font-weight: bold;
    margin: 1.3rem 0 0.6rem 0;
}

.unique-approach {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.4rem 0;
}

.unique-approach li {
    position: relative;
    margin-bottom: 0.68em;
    padding-left: 1.5em;
    color: #2e3d33;
    font-size: 1.17rem;
}

.unique-approach li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #bf9669;
    font-size: 1.13em;
    font-weight: bold;
    opacity: 0.93;
}

.unique-highlight {
    background: #E6E7E8;
    border-left: 5px solid #48524B;
    color: #2e3d33;
    font-size: 1.17rem;
    line-height: 1.7;
    border-radius: 7px;
    padding: 1.1em 1.3em;
    margin: 1em 0 0.7em 0;
    font-weight: 300;
    box-shadow: 0 1px 8px #bf966911;
}

/* Layout varijanta s dvije kolone + slikom */
.unique-section {
    background-color: #f9f9f9;
}

.unique-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
}

.unique-text {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.unique-text:hover {
    transform: translateY(-5px);
}

.unique-text h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.4rem;
    line-height: 1.3;
}

.unique-text p {
    line-height: 1.6;
}

.unique-image {
    grid-column: span 2;
    margin-top: 1.5rem;
}

.unique-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Kontakt wrapper */
.contact-section-wrapper {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 3rem 1.5rem;
    box-sizing: border-box;
}

/* Grid kontejner s omjerom 45% tekst - 55% forma */
.contact-container {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 1rem;
    max-width: 1000px;
    /* ograniči širinu */
    margin: 0 auto;
    box-sizing: border-box;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info p {
    font-weight: 300;
    font-size: 1.17rem;
    line-height: 1.5;
    color: #555;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Slika s donje strane teksta */

.contact-info-image img {
    max-width: 440px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(46, 61, 51, 0.2);
    user-select: none;
    pointer-events: none;
    display: block;
}

.contact-info-image {
    margin-top: 7rem;
}

.contact-info,
.contact-info-image {
    width: 100%;
    max-width: 440px;
    /* isto ograničenje */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

/* Forma s desne strane */
.contact-form {
    flex: 1 1 420px;
    background-color: #f9f9f9;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Form elementi */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 300;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1.17rem;
    font-weight: 300;
}

.gdpr-consent {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.gdpr-consent a {
    color: #bf9669;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.gdpr-consent a:hover,
.gdpr-consent a:focus {
    color: #2e3d33;
    outline: none;
    text-decoration: underline;
}

.gdpr-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.submit-button {
    display: block;
    margin: 1.5rem auto 0;
    background-color: #bf9669;
    color: white;
    padding: 1rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    font-size: 1.17rem;
}

.submit-button:hover {
    background-color: #2e3d33;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-family: 'Myriad Pro' !important;
    font-weight: 300 !important;
    opacity: 1;
}

.swal2-title,
.swal2-html-container {
  font-family: 'Myriad Pro', sans-serif !important;
  font-weight: 300;
}

.custom-confirm-button {
  background-color: #bf9669 !important;
  color: white !important;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-family: 'Myriad Pro';
}
.custom-confirm-button:hover {
  background-color: #2e3d33 !important; /* tamnija nijansa za hover */
}

/* Back to Top Button */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: #bf9669; /* tvoja boja */
    color: #2e3d33;            /* tvoja boja */
    cursor: pointer;
    border-radius: 50%;
    font-size: 26px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(191, 150, 105, 0.6);
    border: none;
    outline: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    z-index: 9999;
  }
  
  #backToTopBtn:hover {
    background-color: #a77f4f; /* malo tamniji ton */
    transform: scale(1.1);
  }
  
  #backToTopBtn:active {
    transform: scale(0.95);
  }
  

@media (max-width: 700px) {

    /* Sekcije i wrapperi: pun viewport, bez transform ili pomaka */
    .container,
    .welcome-inner,
    .privacy-section-wrapper,
    .purpose-inner,
    .unique-inner,
    .contact-section-wrapper,
    .contact-info,
    .contact-form {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
        transform: none;
    }

    body,
    html {
        overflow-x: hidden !important;
    }

    .cta-button {
        font-size: 1.1rem !important;      /* manji font */
        padding: 0.5rem 1.2rem !important; /* manji padding horizontalno i vertikalno */
        white-space: nowrap !important;    /* sprječava lomljenje u više redova */
      }

    .welcome-inner {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }

      .welcome-main-title {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-align: center !important;
    word-break: break-word;
  }
      .welcome-accent{
        font-size: 1.4rem;
      }

      .welcome-init{
        font-size: 1.2rem;
      }

      .welcome-lead,
      .welcome-par,
      .philosophy-lead,
      .philosophy-body,
      .partnership-text,
      .purpose-lead,
      p,
      .purpose-cta,
      .unique-lead,
      .unique-approach-title,
      .contact-info p

      {
        font-size: 1.1rem;
      }
      .welcome-portrait {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
      }
    
      .welcome-portrait img {
        display: block;
        margin: 0 auto;
      }

      .contact-info h3{
        font-size: 1.4rem;
      }


    /* Padding sekcija smanjen za mobitel */
    section {
        padding: 2rem 0.5rem !important;
    }

    /* Grid -> block za kontakt formu */
    .contact-container {
        display: block !important;
        width: 100%;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* Kontakt info i forma vertikalno, puni width */
    .contact-info,
    .contact-info-image,
    .contact-form {
        width: 100%;
        max-width: 100vw;
        margin: 0 0 2rem 0 !important;
        padding: 2rem 1rem !important;
        box-sizing: border-box;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(46, 61, 51, 0.15);
        border: 1.5px solid #2e3d33 !important;
    }

    /* Slika kontakt info block */
    .contact-info-image img {
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 4px 18px rgba(46, 61, 51, 0.2);
        display: block;
        margin: 0 auto;
    }

    .contact-info-image {
        margin-top: 1.2rem !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* Formu elementi, gumb i GDPR */
    .form-group label {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
        font-weight: 300 !important;
        color: #2c3e50;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem !important;
        padding: 0.7rem 1rem !important;
        width: 100% !important;
        border-radius: 4px;
        border: 1px solid #e0e0e0;
        box-sizing: border-box;
    }

.gdpr-consent {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #2e3d33;
    flex-wrap: wrap; /* omogući prijelom ako treba */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gdpr-consent input[type="checkbox"] {
    flex: 0 0 18px; /* fiksna širina i visina */
    height: 18px;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.gdpr-consent label {
    flex: 1 1 auto; /* zauzima preostali prostor */
    margin-left: 0;
    white-space: normal;
    word-wrap: break-word;
    min-width: 0; /* važno za pravilno lomi tekst u flex kontejneru */
}



    .submit-button {
        font-size: 1rem !important;
        padding: 0.85rem 2rem !important;
        border-radius: 30px !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 1rem 0 0 0 !important;
        background-color: #bf9669;
        color: white;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    /* Standardizacija border-a na svim card/box elementima */
    .welcome-inner,
    .purpose-inner,
    .unique-inner {
        border: 1.5px solid #2e3d33 !important;
        box-sizing: border-box;
    }

    .contact-info,
    .contact-info-image,
  .contact-form {
    border: none !important;
    box-shadow: 0 4px 15px rgba(46, 61, 51, 0.15);
    background-color: #fff;
  }

  .contact-info-image{
    box-shadow: none;
  }

    /* Ujednači istaknute okvire/citate */
    .welcome-highlight,
    .philosophy-highlight,
    .purpose-highlight,
    .unique-highlight,
    .leaders-highlight {
        border-left: 4px solid #48524B !important;
        border-radius: 10px !important;
        padding: 1em 1.2em !important;
        margin-bottom: 1.5em !important;
        font-size: 1.1rem !important;
        box-shadow: 0 1px 10px #bf966911 !important;
        background: #E6E7E8 !important;
    }

    /* List itemi ujednačeni */
    .welcome-questions li,
    .philosophy-list li,
    .purpose-list li,
    .unique-approach li {
        padding-left: 1.3em !important;
        font-size: 1.1rem !important;
        font-weight: 300 !important;
    }

    /* Smanji font-size velikih naslova za mobile */
    h1,
    .section-title,
    .purpose-title,
    .philosophy-title,
    .unique-title {
        font-size: 1.6rem !important;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 1024px) {
    section.welcome-purpose {
      padding-left: 0;
      padding-right: 0;
      border-radius: 0;
    }
    .purpose-inner {
      padding-left: 1rem;
      padding-right: 1rem;
      width: 100%;
      max-width: 1000px;
      margin: 0;
      box-sizing: border-box;
    }
  }
  
  @media (min-width: 1025px) and (max-width: 1366px) {
    section.welcome-purpose {
        padding-left: 0;
        padding-right: 0;
        border-radius: 0;
      }
      .purpose-inner,
      .welcome-inner,
      .unique-inner {
        max-width: 1000px;
        width: 100%;
        margin: 0 auto;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
      }
  }