@font-face {
    font-family: 'Signature';
    src: url('fonts/Signature.woff2') format('woff2'),
        url('fonts/Signature.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sloop Script Pro';
    src: url('fonts/SloopScriptPro.woff2') format('woff2'),
        url('fonts/SloopScriptPro.woff') format('woff'),
        url('fonts/SloopScriptPro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AmsterdamOne';
    src: url('fonts/AmsterdamOne.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-padding-top: 80px;
}

html,
body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Sanchez', serif;

    /* Tvoja slika kao pozadina */
    background:
        url('images/background.png') no-repeat center center / cover,
        linear-gradient(135deg, #d9ead3cc, #f9f3d6cc);
    background-size: cover;
    background-attachment: fixed;

    /* Da tekst i elementi budu čitljivi preko slike */
    color: #545454;
    line-height: 1.6;
    overflow-x: hidden;
    height: 100%;
    scroll-behavior: smooth;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    /* beli providni sloj */
    z-index: -1;
}

.container {
    max-width: 500px;
    margin: 5px auto;
    padding: 30px;
    background-color: #fff;
    border: 2px solid #8f8541;
    /* maslinasta */
    border-radius: 10px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

input[type="file"],
textarea {
    width: 100%;
    margin: 5px 0 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    height: 120px;
    font-family: inherit;
    border-color: #a5ad71;
    background-color: #fafaf5;
    transition: border-color 0.3s ease;
}

textarea:focus {
    border-color: #d4af37;
    /* zlatna */
    outline: none;
    background-color: #fffbe6;
}

button {
    background-color: #aea38f;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #cbb4b4;
}

.preview-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.preview-grid img,
.gallery-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.preview-grid img:hover,
.gallery-grid img:hover {
    transform: scale(1.05);
}

#result-message {
    margin-top: 10px;
    font-size: 0.9rem;
}

.error-msg {
    color: #b30000;
}

.success-msg {
    color: #337a00;
}

/* Modal styles */
.modal {
    display: none;
    /* skriven po defaultu */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fffbe6;
    margin: 5% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-btn {
    color: #a5ad71;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #d4af37;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.preview-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    /* da slika zadrži proporcije i popuni kutiju */
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    cursor: default;
    transition: transform 0.3s ease;
}


@media (max-width: 480px) {

    .preview-grid img,
    .gallery-grid img {
        height: 80px;
    }

    button {
        font-size: 1rem;
        padding: 10px;
    }

    .container {
        max-width: 320px;
    }
}


.welcome-banner {
    color: #8f8541;
    /* maslinasto zelena */
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 5px;
    user-select: none;
}

.welcome-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.welcome-banner p {
    font-size: 1.2rem;
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
}

.welcome-banner .banner-image {
    display: block;
    margin: 0px auto 20px auto;
    /* centrirana sa razmakom odozgo */
    max-width: 500px;
    /* možeš promeniti veličinu */
    width: 100%;
    height: auto;
    user-select: none;
}

.welcome-banner .banner-image-love {
    display: block;
    margin: 0px auto 0px auto;
    /* centrirana sa razmakom odozgo */
    max-width: 120px;
    /* možeš promeniti veličinu */
    width: 80%;
    height: auto;
    user-select: none;
}

input[type="file"]:focus {
    border-color: #45a049;
    background-color: #fffbe6;
}

/* Hover efekat na input polje */
input[type="file"]:hover {
    border-color: #45a049;
    background-color: #fffbe6;
}

input[type="file"]::file-selector-button:hover {
    background-color: #8b9160;
}

input[type="file"]::file-selector-button {
    background-color: #c5b88f;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 5px;
    transition: background-color 0.3s ease;
}

.text-love {
    font-size: 2.2rem;
    color: #dbc84a;
}

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

header {
    background-color: #e5dcdc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    width: auto;
    height: 110px;
}

/* Burger dugme */
.burger {
    font-size: 28px;
    color: #545454;
    background: none;
    border: none;
    display: none;
    cursor: pointer;
    margin-left: 180px;
}

.burger a:hover {
    background-color: #e5dcdc;
}

/* Horizontalni meni za desktop */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-left: 30px;
    font-size: 16px;
    text-decoration: none;
}

.main-nav li a {
    text-decoration: none;
    color: #545454;
    font-size: 18px;
    padding: 8px 12px;
    transition: background 0.3s;
}

.main-nav li a:hover {
    background-color: #cbb4b4;
    border-radius: 5px;
}

/* RESPONSIVE STILOVI */
@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        background-color: #e5dcdc;
        position: absolute;
        top: 81px;
        left: 0;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
        gap: 10px;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .logo img {
        display: flex;
        align-items: center;
        width: 100%;
        margin-right: 20px;
        height: 80px;
        width: 80px;
    }
}

.howto {
    padding: 50px 5px;
}

.howto-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.text-column {
    max-height: 300px;
}

.image-column {
    flex: 1 1 500px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
}

.image-column img {
    width: 48%;
    height: 180px;
    /* DODAJE se visina */
    object-fit: cover;
    /* VAŽNO – da se slika "prilagodi" */
    border-radius: 12px;
}

.trusted {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 10px;
}

.subheading {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
    color: #7d5e5e;
}

h1, h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #513636;
}

.highlight {
    color: #d38585;
}

.pricing-text {
    font-size: 32px;
    text-align: center;
    color: #513636;
    font-weight: 800;
    margin: 0 auto;
}

.description {
    max-width: 480px;
    margin-bottom: 25px;
    font-size: 15px;
    color: #533245;
}

.icons-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    font-size: 14px;
}

.icon-block {
    text-align: center;
}

.btn {

    display: block;
    width: 100%;
    padding: 12px;
    background: #513636;
    color: white;
    text-align: center;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
}

.btn:hover {
    background-color: #cbb4b4;
    color: #545454;
}

.guarantee {
    font-size: 14px;
    color: #5a1533;
}

/* ✅ Responsive layout: stacked content on mobile */
@media (max-width: 768px) {

 .steps-container {
    flex-wrap: nowrap;
  }

  .steps-container > div {
    flex: 1 1 20%; /* Primer, da budu u jednom redu */
    margin-bottom: 0;
  }

  .step {
   padding: 0.6rem;
  }

    h1, h2 {
        font-size: 32px;
    }

    .icons-row {
        flex-direction: column;
        gap: 16px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

.icon-image img {
    width: 50px;
    height: 40px;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
}

.step {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    width: 200px;
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step img {
    width: 100px;
    max-height: 70px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.step p {
    font-size: 1rem;
    color: #333;
    margin: 0;
}



h1.title, h2.title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}

.pricing {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.card {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: left;
    width: 100%;
    max-width: 360px;
    flex: 1 1 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.card h2 {
    margin: 0 0 15px;
    font-size: 1.5em;
}

.price {
    font-size: 2em;
    margin-top: auto;
    flex-direction: column;
}

.price span {
    display: block;
    font-size: 0.8em;
    color: #777;
}

.card p {
    margin: 8px 0;
    color: #333;
}

.card strong {
    font-weight: bold;
}

.popular {
    border: 2px solid #513636;
}

.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: #513636;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

/* Mobile slider styles */
@media (max-width: 768px) {


    .card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    	background: white;
    	border-radius: 8px;
    	box-shadow: 0 0 10px rgba(0,0,0,0.1);
    	padding: 1rem;
    }

    .btn {
        width: 100%;
    }

    .pricing-grid {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      gap: 1rem;
      padding: 1rem;
    }
}

footer .social-icons {
    margin-bottom: 15px;
}

footer .social-icons a {
    color: #533245;
    margin: 0 10px;
    font-size: 24px;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: #533245;
}

footer {
    background-color: #e5dcdc;
    padding: 30px 20px;
    text-align: center;
}

@media (max-width: 500px) {
    footer .social-icons a {
        font-size: 20px;
        margin: 0 8px;
    }
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.features li i {
    color: #d38585;
    margin-right: 12px;
    font-size: 18px;
    min-width: 20px;
}

h4, h3 {
    text-align: center;
}

h1.title-faq, h2.title-faq {
    text-align: center;
    font-size: 2em;
    margin-bottom: 5px;
    margin-top: 80px;
}

h4.highlight, h3.highlight {
    margin-bottom: 40px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 500;
    color: #501336;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #eeeded;
    color: #501336;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    font-size: 16px;
    color: #533245;
}

.accordion-content p {
    padding: 0 0 18px 0;
    margin: 0;
}

.contact {
    padding: 60px 20px;
    color: #533245;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.contact .intro-text {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #5a5a5a;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.contact-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px 25px;
    width: 280px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.contact-card i {
    font-size: 2.5em;
    color: #d38585;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #533245;
}

.contact-card p {
    font-size: 0.95em;
    margin-bottom: 10px;
    color: #555;
}

.contact-info {
    font-weight: bold;
    color: #533245;
    font-size: 0.95em;
}

a:not(.logo img) {
    text-decoration: none;
    color: #545454;
    font-size: 18px;
    padding: 8px 12px;
    transition: background 0.3s;
}

a:not(.logo img):hover {
    background-color: #cbb4b4;
    border-radius: 5px;
}

main {
    flex: 1;
    padding: 20px;
    padding-top: 50px;
    /* prilagodi visini headera */
}

.image-mockup-img {
    max-width: 400px;
    max-height: 250px;
}

.image-mockup {
    margin: auto;
    flex-direction: column;
    align-items: center;
}

section {
    scroll-margin-top: 840px;
    /* prilagodi visini headera */
}

#contact {
    scroll-margin-top: 80px;
    /* ili visina tvog headera */
}

#faq {
    scroll-margin-top: 80px;
}

@media (max-width: 380px) {
    .image-mockup-img {
        max-width: 350px;
        max-height: 250px;
    }

}