/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    font-family: 'Inter', sans-serif;
    color: #111;
    min-height: 100vh;
}

/* Helper body styling specifically for scrollable content subpages */
.subpage-body {
    background-color: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
}

/* --- Header / Navigation Bar --- */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    z-index: 10;
}

.logo img {
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo img:hover {
    transform: scale(1.05);
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
}

.menu-toggle .bar {
    width: 35px;
    height: 2px;
    background-color: #d17a5b;
    /* Copper color accent */
    transition: all 0.3s ease;
}

/* --- Side Fullscreen Slide Menu --- */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 550px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 100;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 50px;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
}

.side-menu.open {
    right: 0;
}

.close-toggle {
    position: absolute;
    top: 40px;
    right: 50px;
    font-size: 40px;
    background: none;
    border: none;
    color: #111;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-toggle:hover {
    transform: rotate(90deg);
}

.menu-logo img {
    height: 75px;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.nav-links a:hover,
.nav-links .active-link {
    color: #d17a5b;
    letter-spacing: 8px;
}

/* --- Hero Image Slider (Index Only) --- */
.slider-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slide-content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    pointer-events: none;
    z-index: 2;
}

.slide-content h1,
.slide-content h2,
.slide-content .subtitle {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 1)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

.slide-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 5px;
    color: #111;
}

.slide-content .subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    color: #ddd;
    margin-bottom: 20px;
    font-weight: 400;
}

.slide-content h1 {
    font-family: 'Syne', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: 14px;
    text-transform: uppercase;
    line-height: 1.1;
    color: #111;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    color: #111;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-btn:hover {
    background: #d17a5b;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: #d17a5b;
    transform: scale(1.3);
}

/* --- O Nama Layout Section --- */
.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 160px 40px 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.about-image-card {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: #fcfcfc;
    aspect-ratio: 16 / 10;
    position: relative;
}

.about-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.about-image-card:hover img {
    transform: scale(1.04);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin-top: 20px;
}

.about-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #333;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.about-subtext-mobile {
    display: none;
}


/* --- Galerija Layout Section (New CSS Additions) --- */
.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 160px 40px 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Scroll context hint styled cleanly to match your sidebar layouts */
.scroll-hint {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    align-self: flex-end;
    /* Aligns smoothly to the side indicator path */
}

/* Clean, modern masonry-ready vertical item container */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 side-by-side items on desktop */
    gap: 30px;
    width: 100%;
}

.gallery-item {
    border-radius: 24px;
    /* Tight modern radius for complex grids */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    background-color: #fcfcfc;
    aspect-ratio: 16 / 10;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Matching premium lively interaction movement */
.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* --- Subtle Premium Fade In Animations --- */
.animate-fade-in {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Layout Breaks --- */
@media(max-width: 992px) {
    .slide-content h1 {
        font-size: 3.5rem;
        letter-spacing: 8px;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .logo img,
    .menu-logo img {
        height: 60px;
    }

    .about-container,
    .gallery-container {
        padding-top: 130px;
    }

    .about-gallery {
        gap: 20px;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Drop down to two columns on tablets */
        gap: 20px;
    }
}

/* Mobile Layout Snapping (Matches both O Nama and Galerija wireframes) */
@media(max-width: 768px) {
    .about-gallery {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-gallery .about-image-card:nth-child(2) {
        order: 3;
    }

    .about-content {
        order: 2;
        margin-bottom: 20px;
    }

    .about-subtext-mobile {
        display: block;
        font-family: 'Inter', sans-serif;
        font-size: 1.2rem;
        letter-spacing: 1px;
        color: #111;
        margin-top: 40px;
        order: 4;
    }

    .about-text {
        display: none;
    }

    /* Gallery Mobile adjustments: stacks images into a smooth vertical scroll stream */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .scroll-hint {
        align-self: center;
        /* Centers the hint text on mobile screens */
        margin-bottom: 20px;
    }
}

@media(max-width: 576px) {
    .navbar {
        padding: 20px 25px;
    }

    .slide-content h1 {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .logo img,
    .menu-logo img {
        height: 50px;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .prev-btn {
        left: 15px;
    }

    .next-btn {
        right: 15px;
    }

    .about-container,
    .gallery-container {
        padding: 110px 20px 60px 20px;
    }

    .about-image-card,
    .gallery-item {
        border-radius: 20px;
    }

    .about-image-card:hover,
    .gallery-item:hover {
        transform: translateY(-6px) scale(1.01);
    }
}


/* --- Kontakt Layout Section (Premium Glassmorphism Style) --- */

/* Gives the page an elegant dark backdrop to make the frosted glass pop */
.contact-page-bg {
    background: linear-gradient(135deg, #a1a1a1 0%, #f7f7f7 100%) !important;
    color: #000000 !important;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 160px 40px 80px 40px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Frosted Glass Card Design */
.contact-glass-card {
    width: 100%;
    max-width: 650px;
    background: rgba(255, 255, 255, 0.03);
    /* Ultra sheer transparency */
    backdrop-filter: blur(16px);
    /* Blurs the background behind the card */
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(216, 116, 116, 0.795);
    /* Crisp premium thin border */
    border-radius: 32px;
    /* Smooth aesthetic curvature */
    padding: 50px 45px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.5s ease,
        box-shadow 0.5s ease;
}

/* Lively Hover Animation on the whole card */
.contact-glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(209, 122, 91, 0.3);
    /* Soft copper glow hint on card edge */
    box-shadow: 0 30px 60px rgba(209, 122, 91, 0.05), 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-title {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: 2px;
    margin-bottom: 35px;
    text-transform: uppercase;
    text-align: center;
    /* Clean text glow */
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Glass Input & Textarea Elements */
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.02);
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    /* Pill curved fields */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    outline: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Subtle input placeholder color */
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
    color: rgb(0, 0, 0);
    transition: color 0.3s ease;
}

/* Fields Hover & Focus State Animations */
.contact-form input[type="email"]:hover,
.contact-form textarea:hover {
    border-color: rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: #d17a5b;
    /* Transitions seamlessly into your signature copper accent */
    box-shadow: 0 0 15px rgba(209, 122, 91, 0.15);
    transform: translateY(-2px);
}

/* Change placeholder opacity on focus */
.contact-form input[type="email"]:focus::placeholder,
.contact-form textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.contact-form textarea {
    resize: none;
}

/* High-End Lively Submit Button */
.submit-btn {
    align-self: center;
    width: auto;
    min-width: 180px;
    padding: 14px 35px;
    background: #ffffff;
    color: #000000;
    border: 1px solid transparent;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Lively morphing transition on button hover */
.submit-btn:hover {
    background: #d17a5b;
    /* Slips flawlessly into brand copper tone */
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(209, 122, 91, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* --- Responsive Adaptations --- */
@media(max-width: 992px) {
    .contact-container {
        padding-top: 140px;
    }
}

@media(max-width: 768px) {
    .contact-glass-card {
        padding: 40px 30px;
        border-radius: 24px;
    }

    .contact-title {
        font-size: 1.75rem;
        margin-bottom: 25px;
    }
}

@media(max-width: 576px) {
    .contact-container {
        padding: 120px 20px 60px 20px;
    }

    .contact-glass-card {
        padding: 35px 20px;
    }

    .submit-btn {
        width: 100%;
    }

    /* Stretches dynamically to span full width on touch screens */
}


/* --- Webshop Layout Section (Premium Light Glassmorphism Catalog) --- */

.shop-page-light {
    background-color: #ffffff !important;
    color: #111111 !important;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 160px 40px 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.shop-header {
    text-align: center;
    margin-bottom: 20px;
}

.shop-main-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.shop-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #666666;
    letter-spacing: 0.5px;
}

/* Three-column layout on desktop grids */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

/* Premium Frosted Milk Glass E-commerce Cards */
.product-card {
    background: rgba(255, 255, 255, 0.4);
    /* Frosted semi-transparency */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Extremely soft dark perimeter boundary */
    border-radius: 32px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    /* Clean crisp micro shadow */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.5s ease,
        box-shadow 0.5s ease,
        background-color 0.5s ease;
}

.product-image-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-color: #f7f7f7;
}

.product-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-info {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-family: 'Syne', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #d17a5b;
    /* Your signature brand copper accent */
    margin-bottom: 20px;
}

/* Elegant Pop-Up Hover Mechanics */
.product-card:hover {
    transform: translateY(-12px);
    /* High-end fluid vertical pop */
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(209, 122, 91, 0.2);
    /* Injects soft hint of brand copper color on line border */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 40px rgba(209, 122, 91, 0.02);
}

.product-card:hover .product-image-frame img {
    transform: scale(1.05);
    /* Soft inner parallax zooming */
}

/* Solid contrasting buy button matching your look */
.buy-btn {
    width: 100%;
    padding: 14px 0;
    background-color: #111111;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Button morphs perfectly to brand copper color on hover */
.buy-btn:hover {
    background-color: #d17a5b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(209, 122, 91, 0.2);
}

.buy-btn:active {
    transform: translateY(0);
}

/* --- Responsive Webshop Breaks --- */
@media(max-width: 1100px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media(max-width: 992px) {
    .shop-container {
        padding-top: 140px;
    }

    .shop-main-title {
        font-size: 2.1rem;
    }
}

@media(max-width: 768px) {

    /* Seamless vertical stack scroll to match your exact layout frame blueprint */
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-card {
        padding: 20px;
        border-radius: 24px;
    }
}

@media(max-width: 576px) {
    .shop-container {
        padding: 120px 20px 60px 20px;
    }

    .shop-main-title {
        font-size: 1.8rem;
    }
}