/* ============================================================
   MEMORIAL QR – style.css
   Elegantna, kameno-zlatna paleta | Cormorant Garamond + DM Sans
============================================================ */

/* ── CSS Variables ── */
:root {
    --gold: #C9A84C;
    --gold-light: #e8c96e;
    --gold-dim: #8a6d28;
    --charcoal: #1a1714;
    --charcoal-2: #252119;
    --stone: #2e2a25;
    --stone-light: #f5f0ea;
    --stone-mid: #e8dfd4;
    --cream: #faf7f3;
    --text-main: #1a1714;
    --text-muted: #6b6259;
    --text-light: #c8bfb5;
    --white: #ffffff;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;

    --radius: 12px;
    --radius-sm: 6px;
    --shadow-card: 0 8px 40px rgba(26, 23, 20, .12);
    --shadow-gold: 0 0 40px rgba(201, 168, 76, .25);

    --transition: all .3s cubic-bezier(.25, .8, .25, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-main);
    background: var(--cream);
    line-height: 1.75;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ── Section helpers ── */
.section-pad {
    padding: 100px 0;
}

.section-light {
    background: var(--cream);
}

.section-dark {
    background: var(--charcoal);
}

.section-stone {
    background: var(--stone-light);
}

/* ── Eyebrow label ── */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .75rem;
}

.section-eyebrow.light {
    color: var(--gold-light);
}

/* ── Section Titles ── */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal);
    margin-bottom: 1.25rem;
}

.section-title.light {
    color: var(--cream);
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

.section-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.section-sub-light {
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
}

/* ── Buttons ── */
.btn-primary-gold {
    background: var(--gold);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .08em;
    padding: .8rem 2rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-gold:hover {
    background: var(--gold-light);
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, .35);
}

.btn-outline-stone {
    background: transparent;
    color: var(--charcoal);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: .9rem;
    padding: .8rem 2rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(26, 23, 20, .25);
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-stone:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-light-custom {
    background: transparent;
    color: var(--cream);
    font-family: var(--font-body);
    font-weight: 400;
    padding: .8rem 2rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, .35);
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-light-custom:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.btn-cta-nav {
    background: var(--gold);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .85rem;
    padding: .55rem 1.4rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: var(--transition);
}

.btn-cta-nav:hover {
    background: var(--gold-light);
    color: var(--charcoal);
}


/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    background: rgba(250, 247, 243, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(201, 168, 76, .12);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: .65rem 0;
    box-shadow: 0 4px 30px rgba(26, 23, 20, .08);
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: .4rem;
}

.brand-qr {
    color: var(--gold);
    font-size: 1.3rem;
}

.brand-qr.large {
    font-size: 2.2rem;
}

.brand-accent {
    color: var(--gold);
}

.nav-link {
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 400;
    color: var(--text-main) !important;
    padding: .4rem .85rem !important;
    letter-spacing: .02em;
    transition: color .25s;
}

.nav-link:hover {
    color: var(--gold) !important;
}

/* Hamburger custom */
.navbar-toggler {
    border: none;
    padding: .4rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
}

.toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: none;
}


/* ============================================================
   HERO
============================================================ */
#hero {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-bg-texture {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 80% 40%, rgba(201, 168, 76, .07) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(201, 168, 76, .04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-text {
    padding-top: 80px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero-note {
    font-size: .875rem;
    color: var(--text-muted);
}

.hero-note strong {
    color: var(--charcoal);
}

/* QR Card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
}

.qr-card-wrapper {
    position: relative;
    width: 320px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, .18) 0%, transparent 70%);
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: .6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.qr-card {
    width: 280px;
    background: var(--charcoal);
    border-radius: var(--radius);
    border: 1px solid rgba(201, 168, 76, .3);
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-card);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.qr-card-inner {
    text-align: center;
}

.qr-frame {
    background: var(--cream);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.qr-svg {
    width: 100%;
    height: auto;
    color: var(--charcoal);
}

.qr-card-label {
    font-family: var(--font-body);
    font-size: .8rem;
    color: var(--text-light);
    letter-spacing: .08em;
    margin: 0;
}

.qr-card-badge {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--charcoal);
    font-size: .75rem;
    font-weight: 500;
    padding: .35rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: var(--text-muted);
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: .4;
        transform: scaleY(.6);
    }
}


/* ============================================================
   ŠTA JE QR – About
============================================================ */
.about-visual {
    display: flex;
    justify-content: center;
}

.stone-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.stone-shape {
    width: 180px;
    height: 260px;
    background: linear-gradient(160deg, #3a3530 0%, #1a1714 100%);
    border-radius: 50% 50% 45% 45% / 40% 40% 60% 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(26, 23, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.stone-icon {
    font-size: 1.8rem;
    color: var(--gold);
    opacity: .7;
}

.stone-qr-chip {
    background: var(--cream);
    border-radius: 8px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--charcoal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.stone-badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    max-width: 240px;
}

.stone-badge {
    background: rgba(201, 168, 76, .12);
    border: 1px solid rgba(201, 168, 76, .25);
    color: var(--gold-dim);
    font-size: .75rem;
    padding: .3rem .75rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Feature list */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(201, 168, 76, .1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
}

.feature-item strong {
    display: block;
    color: var(--charcoal);
    margin-bottom: .2rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: .9rem;
    margin: 0;
}


/* ============================================================
   PROCES
============================================================ */
.process-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.process-card:hover {
    border-color: rgba(201, 168, 76, .3);
    transform: translateY(-4px);
}

.process-card--accent {
    background: rgba(201, 168, 76, .08);
    border-color: rgba(201, 168, 76, .25);
}

.process-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 300;
    color: rgba(201, 168, 76, .15);
    line-height: 1;
    margin-bottom: .5rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.process-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.process-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: .75rem;
}

.process-text {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.process-text strong {
    color: var(--gold-light);
}


/* ============================================================
   PRIMERI
============================================================ */
.example-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    background: var(--white);
}

.example-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(26, 23, 20, .18);
}

.example-thumb {
    height: 220px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.example-thumb-inner {
    text-align: center;
}

.example-avatar {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, .35);
    margin-bottom: .5rem;
    display: block;
}

.example-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--cream);
    margin: 0;
}

.example-years {
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    margin: 0;
    letter-spacing: .05em;
}

.example-qr-badge {
    position: absolute;
    bottom: .75rem;
    right: .75rem;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--cream);
}

.example-body {
    padding: 1.25rem 1.5rem;
}

.example-desc {
    font-size: .875rem;
    color: var(--text-muted);
    margin-bottom: .75rem;
}

.example-tag {
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(201, 168, 76, .12);
    color: var(--gold-dim);
    border: 1px solid rgba(201, 168, 76, .2);
    padding: .25rem .75rem;
    border-radius: 20px;
}


/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    border-color: rgba(201, 168, 76, .2);
    transform: translateY(-4px);
}

.testimonial-card--featured {
    background: var(--charcoal);
    border-color: rgba(201, 168, 76, .25);
}

.testimonial-card--featured .testimonial-text {
    color: var(--text-light);
}

.testimonial-card--featured .testimonial-author strong {
    color: var(--cream);
}

.testimonial-card--featured .testimonial-author span {
    color: var(--text-light);
}

.testimonial-stars {
    color: var(--gold);
    font-size: .85rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    background: rgba(201, 168, 76, .1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
}

.testimonial-author strong {
    display: block;
    font-size: .9rem;
    color: var(--charcoal);
}

.testimonial-author span {
    font-size: .8rem;
    color: var(--text-muted);
}


/* ============================================================
   CTA SEKCIJA
============================================================ */
.section-cta {
    padding: 120px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, .12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--cream);
    margin-bottom: 1.25rem;
}

.cta-title em {
    color: var(--gold);
    font-style: italic;
}

.cta-sub {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.cta-btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-guarantee {
    color: var(--text-light);
    font-size: .8rem;
    margin: 0;
}

.cta-guarantee i {
    color: var(--gold);
}


/* ============================================================
   KONTAKT
============================================================ */
.contact-info-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--text-muted);
    font-size: .95rem;
}

.contact-info-item i {
    color: var(--gold);
    font-size: 1.1rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.form-label {
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .03em;
    margin-bottom: .4rem;
}

.custom-input {
    border: 1px solid var(--stone-mid);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--text-main);
    background: var(--cream);
    transition: var(--transition);
}

.custom-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, .12);
    background: var(--white);
}

.btn-submit {
    padding: .9rem;
    font-size: .95rem;
    letter-spacing: .06em;
    position: relative;
}

.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-success {
    background: rgba(201, 168, 76, .12);
    border: 1px solid rgba(201, 168, 76, .3);
    color: var(--gold-dim);
    border-radius: var(--radius-sm);
    padding: .85rem 1.25rem;
    font-size: .9rem;
}


/* ============================================================
   FOOTER
============================================================ */
#footer {
    background: var(--charcoal-2);
}

.footer-top {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--cream);
}

.footer-brand-tagline {
    font-size: .875rem;
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

.footer-qr-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
}

.footer-qr-icon {
    font-size: 2rem;
    color: var(--gold);
}

.footer-qr-label {
    font-size: .875rem;
    color: var(--cream);
    margin: 0;
}

.footer-qr-sub {
    font-size: .75rem;
    color: var(--text-light);
    margin: 0;
}

.footer-col-title {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-links li {
    color: var(--text-light);
    font-size: .875rem;
}

.footer-links a {
    color: var(--text-light);
    transition: color .25s;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-link {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.social-link i {
    font-size: 1rem;
    color: var(--gold);
}

.footer-bottom {
    padding: 1.5rem 0;
}

.footer-bottom p {
    font-size: .8rem;
    color: var(--text-light);
}

.footer-legal a {
    color: var(--text-light);
    transition: color .25s;
    margin: 0 .2rem;
}

.footer-legal a:hover {
    color: var(--gold);
}


/* ============================================================
   AOS overrides
============================================================ */
[data-aos] {
    pointer-events: auto !important;
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991px) {

    .hero-text,
    .hero-visual {
        padding-top: 40px;
    }

    .hero-visual {
        padding-bottom: 60px;
    }

    .section-pad {
        padding: 70px 0;
    }

    .footer-top {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .qr-card-wrapper {
        width: 260px;
        height: 300px;
    }

    .qr-card {
        width: 230px;
    }

    .contact-form {
        padding: 1.75rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn-primary-gold,
    .btn-outline-stone {
        text-align: center;
    }

    .cta-btn-group {
        flex-direction: column;
        align-items: center;
    }
}

#toTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: var(--charcoal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(201, 168, 76, .35);
}

#toTop.visible {
    opacity: 1;
    visibility: visible;
}

#toTop:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}