/* CSS Reset & Variables */
:root {
    --color-blue-dark: #1a243d;
    --color-blue-light: #354775;
    --color-orange-dark: #f57d20;
    --color-orange-light: #fa981b;
    --color-white: #ffffff;
    --color-bg: #ffffff;
    --color-text-dark: #2d3748;
    --color-text-muted: #718096;

    --font-primary: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px rgba(26, 36, 61, 0.05);
    --shadow-md: 0 10px 15px rgba(26, 36, 61, 0.1);
    --shadow-lg: 0 20px 25px rgba(26, 36, 61, 0.15);
    --shadow-hover: 0 25px 35px rgba(245, 125, 32, 0.15);

    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--color-blue-dark);
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.font-light {
    font-weight: 300;
}

/* Buttons */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange-dark), var(--color-orange-light));
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(245, 125, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(245, 125, 32, 0.4);
}

.btn-outline {
    border: 2px solid var(--color-white);
    color: var(--color-white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-blue-dark);
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-blue-dark);
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--color-orange-light);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a:not(.btn-outline) {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
}

.nav-menu a:not(.btn-outline):hover {
    color: var(--color-white);
}

.nav-menu a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-orange-light);
    transition: var(--transition);
}

.nav-menu a:not(.btn-outline):hover::after {
    width: 100%;
}

.nav-menu .btn-outline {
    padding: 10px 24px;
    font-size: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: var(--transition);
}

/* Toggle Animation Classes */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* New Hero Section */
.new-hero {
    background-color: var(--color-white);
    padding-top: 220px;
    padding-bottom: 140px;
    position: relative;
    overflow: hidden;
}

/* Subtle background accent */
.new-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 125, 32, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    left: -200px;
    border-radius: 50%;
    z-index: 0;
}

.new-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.new-hero-left {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.new-hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Subtle blob behind the image */
.new-hero-right::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(53, 71, 117, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.amazon-logo {
    max-width: 140px;
    margin-bottom: 12px;
}

.fba-private-label {
    margin-bottom: 12px;
}

.fba-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-orange-dark);
    /* Accent color */
    line-height: 1;
    letter-spacing: -1px;
    margin-right: 12px;
}

.private-label-text {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-blue-dark);
    letter-spacing: -0.5px;
}

.main-title {
    font-size: 4.2rem;
    font-weight: 900;
    color: var(--color-blue-dark);
    line-height: 0.95;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.offer-title {
    font-size: 4.2rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.2;
    margin-top: 40px;
    margin-bottom: 40px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blank-product-img {
    max-width: 75%;
    /* Shrink image */
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(26, 36, 61, 0.15));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blank-product-img:hover {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .new-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .new-hero-left {
        align-items: center;
        text-align: center;
    }

    .fba-private-label {
        text-align: center;
    }

    .fba-text,
    .private-label-text {
        font-size: 2.4rem;
    }

    .main-title,
    .offer-title {
        font-size: 2.8rem;
    }
}

/* Offer Section (Old Hero) */
.hero {
    position: relative;
    background: #1a243d;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 40px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 152, 27, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--color-white);
    margin-top: 40px;
    margin-bottom: 40px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-content h1 span.font-light {
    display: inline-block;
    transform: translateY(10px);
}

.hero-blocks {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.hero-block {
    background: #364775;
    padding: 30px 50px;
    border-radius: 0;
    border: none;
    color: var(--color-white);
    font-size: 1.75rem;
    line-height: 1.3;
    transform: skewX(-15deg);
}

.hero-block-content {
    display: block;
    transform: skewX(15deg);
}

.hero-block strong {
    font-size: 2.75rem;
    font-weight: 700;
}

.hero-image-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-image {
    width: 60%;
    margin: 0 auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: none;
    transform: translateY(-20px);
}

.hero-call-action p {
    color: var(--color-white);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.btn-phone {
    display: inline-block;
    background: linear-gradient(135deg, #f57d20, #fa981b);
    color: var(--color-white);
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.btn-phone:hover {
    transform: translateY(-3px);
    color: var(--color-white);
}

/* Bonus Assets Section */
.bonus-section {
    padding: 20px 0;
    position: relative;
    z-index: 1;
    margin-top: -1px;
}

.bonus-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.blue-line {
    background: #1a243d;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 22%);
}

.orange-line {
    background: #f57d20;
    clip-path: polygon(0 22%, 100% 50%, 100% 62.5%, 0 25%);
}

.light-orange-line {
    background: #f8981f;
    clip-path: polygon(0 25%, 100% 62.5%, 100% 71%, 0 27%);
}

.bonus-title {
    margin-bottom: 20px;
    color: var(--color-white);
    font-size: 2.5rem;
    text-align: center;
}

.bonus-subtitle {
    color: var(--color-white);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.9;
}

.bonus-blocks {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.bonus-block {
    padding: 40px 30px 0;
    border: none;
    flex: 1;
    min-width: 250px;
    border-radius: 0;
    text-align: left;
    color: var(--color-white);
    position: relative;
    overflow: visible;
    height: 330px;
    transform: skewY(-5deg);
}

.bonus-block-content {
    transform: skewY(5deg);
}

.bonus-block h3 {
    font-size: 1.75rem;
    color: var(--color-white);
    margin-bottom: 0;
    line-height: 1.2;
}

.per-product {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-block.block-1 {
    background: #364775;
}

.bonus-block.block-2 {
    background: #f57f20;
}

.bonus-block.block-3 {
    background: #f8991f;
}

.bonus-img {
    width: 100%;
    margin: 0 auto;
    display: block;
}

.block-1 .bonus-img {
    transform: translateY(10px) rotate(-5deg);
}

.block-2 .bonus-img {
    transform: translateY(10px) rotate(5deg);
}

.block-3 .bonus-img {
    width: 75%;
    transform: translateY(10px) rotate(-5deg);
}

/* Proizvodi Section */
.products-section {
    padding: 40px 0 100px;
    background-color: var(--color-white);
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-inline: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(26, 36, 61, 0.05);
    border: 1px solid rgba(26, 36, 61, 0.08);
    padding: 0;
    overflow: hidden;
}

.product-main-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

.product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    margin-top: 20px;
    margin-bottom: auto;
    padding: 0 30px 30px;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 0;
    padding: 0 30px;
}

.thumbnail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 0;
    width: 100%;
}

.thumbnail-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail-item img:hover,
.thumbnail-item.active img {
    border-color: var(--color-orange-dark);
}

.thumbnail-item:hover img,
.thumbnail-item.active img {
    transform: scale(1.05);
}

.gallery-label {
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-orange-dark);
    background: linear-gradient(135deg, #f57d20, #fa981b);
}

.thumbnail-item .gallery-label {
    width: 100%;
    box-sizing: border-box;
    padding: 2px 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 6px;
    background: #364775;
    text-align: center;
}

.thumbnail-item.active .gallery-label {
    background: linear-gradient(135deg, #f57d20, #fa981b);
}

.active-variation {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(135deg, #f57d20, #fa981b);
    border-radius: var(--radius-pill);
    text-align: center;
    padding: 6px 20px;
    margin: -10px auto 15px;
    letter-spacing: 0.5px;
    display: inline-block;
    align-self: center;
}

.product-row .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-row .product-info {
    padding: 32px;
    flex: 1;
}

.product-info h3 {
    font-size: 2rem;
    color: var(--color-blue-dark);
    margin-bottom: 16px;
}

.product-info p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* About Us Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-blue-light), var(--color-blue-dark));
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(250, 152, 27, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}

.about-section h2 {
    color: var(--color-white);
    margin-bottom: 24px;
}

.about-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background-color: #f8f9fa;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-section h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-blue-dark);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.contact-section p {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 32px 0;
    background-color: var(--color-blue-dark);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 16px 24px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-radius: var(--radius-md);
        margin: 0 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        background: var(--color-blue-dark);
        padding: 24px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        z-index: 100;
        gap: 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .new-hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-blocks {
        flex-direction: column;
        gap: 20px;
    }

    .hero-block {
        padding: 20px 30px;
    }

    .hero-image {
        width: 100%;
        transform: none;
        margin-top: 20px;
    }

    .bonus-blocks {
        flex-direction: column;
        gap: 80px;
        padding: 0 16px;
    }

    .bonus-block {
        height: auto;
        padding-bottom: 0;
    }

    .bonus-img {
        margin-bottom: -40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .bonus-section {
        padding: 60px 0;
    }

    .blue-line {
        clip-path: polygon(0 0, 100% 0, 100% 25%, 0 22%);
    }

    .orange-line {
        clip-path: polygon(0 22%, 100% 25%, 100% 32%, 0 25%);
    }

    .light-orange-line {
        clip-path: polygon(0 25%, 100% 32%, 100% 37%, 0 27%);
    }
}