/*@font-face {
    font-family: 'kugile'; 
    src: url('fonts/kugile/Kugile_Demo.ttf'); 
}*/
a{
    text-decoration: none;
}

@font-face{
    font-family: 'cinzel'; 
    src: url('fonts/Cinzel/Cinzel-VariableFont_wght.ttf'); 
}

:root {
    --primary-color: unset;
    --prymary-color2: unset;
    --bg-light: unset;
    --bg-lighter: unset;
    --text-dark: unset;
    --shadow: unset;
    --btn-hover: unset;
    --zoom-glow: unset;
    --abtb-bg: unset;
    --puo: unset;
}


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

h1, h2, h3, h4, h5, h6 {
    /* font-family: 'cinzel';  */
    color: var(--text-dark);
}

h1 {
    font-size: 2.5em;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

img{
    max-inline-size: 100%;
    display: block;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-switcher .current-lang {
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
}

.language-switcher .current-lang img {
    width: 20px;
    height: 15px;
    margin-right: 8px;
}

.language-switcher .current-lang span {
    font-weight: bold;
    color: #333;
}

.language-switcher .lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 5px 0;
}

.language-switcher:hover .lang-dropdown {
    display: block;
}

.language-switcher .lang-dropdown a {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
}

.language-switcher .lang-dropdown a:hover {
    background-color: #f0f0f0;
}

.language-switcher .lang-dropdown img {
    width: 20px;
    height: 15px;
    margin-right: 8px;
}

/*aici e tot pu header*/

header {
    position: relative;
    color: white;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
    padding: 20px;
    overflow: hidden; /* Hide overflow from slides */
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind nav and overlay */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

nav {
    position: absolute;
    top: 0;
    left: 0; /* Full width from left */
    width: 100%; /* Full width */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background-color: rgba(0,0,0,0.2);
    z-index: 2;
}

.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    position: relative; /* Added for positioning on mobile */
    z-index: 1001; /* Ensure it's above the mobile nav links */
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

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

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

nav .logo a {
    color: white;
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
    letter-spacing: 2px;
}

nav .nav-links {
    display: flex; /* Restored for desktop */
    gap: 30px;
    list-style: none;
}

.nav-links-mobile { /* Separated from nav .nav-links */
    display: none; /* Hidden by default on desktop */
}

nav .nav-links-mobile.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0; /* Changed to 0 to cover the whole screen below nav */
    left: 0;
    width: 100%;
    height: 100vh; /* Make it full height */
    background-color: rgba(0,0,0,0.95); /* Darker overlay */
    padding-top: 80px; /* Space for the fixed nav bar */
    z-index: 999;
    justify-content: flex-start; /* Align items to the top */
    align-items: center;
}

nav .nav-links-mobile li {
    text-align: center;
    margin: 20px 0; /* More spacing */
}

nav .nav-links-mobile a {
    color: white;
    text-decoration: none;
    font-size: 1.5em; /* Larger font size for mobile links */
    padding: 10px 0;
    display: block;
}

nav .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav .nav-links a:hover::after {
    width: 100%;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

header .overlay h2 {
    font-size: 4.5em;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    font-weight: 700;
    letter-spacing: 3px;
    color: white;
    animation: fadeIn 1s ease-in-out 0.5s both;
    position: relative;
}

header .overlay h5 {
    font-size: 1.8em;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    min-height: 1.8em; /* Reserve space for content */
    opacity: 1; /* Make text visible for typing animation */
}

header .overlay h5::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 1.2em;
    background-color: var(--primary-color);
    animation: blink 1s infinite;
    margin-left: 2px; /* Small gap between text and cursor */
}

header .overlay h5.typing-active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Enhanced Navigation with Stitch Effects */
nav .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    overflow: hidden;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--prymary-color2), var(--primary-color));
    transition: width 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

nav .nav-links a:hover::after {
    width: 100%;
}

nav .nav-links a:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 10px var(--prymary-color);
}

/* Enhanced Hamburger Menu */
.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background: linear-gradient(90deg, var(--primary-color), var(--prymary-color2));
}

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

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background: linear-gradient(90deg, var(--primary-color), var(--prymary-color2));
}

/* Parallax Background Animation removed */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth fade-in for overlay h5 text */
header .overlay h5 {
    animation: fadeIn 0.2s ease-in-out 1s both;
}

/* ===== COOL ANIMATIONS ===== */

/* 1. STITCH-BY-STITCH ANIMATION - Handwerkskunst Effekt */
@keyframes stitchReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(15px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* 2. ELEGANT FLOATING ANIMATION */
@keyframes elegantFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 3. LUXURY GOLD SPARKLES */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* 4. STRICKMUSTER HOVER EFFECT */
@keyframes knitPattern {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* 5. MORPHING TRANSITION */
@keyframes morphing {
    0% {
        border-radius: 0%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 50%;
        transform: rotate(90deg);
    }
    50% {
        border-radius: 25%;
        transform: rotate(180deg);
    }
    75% {
        border-radius: 50%;
        transform: rotate(270deg);
    }
    100% {
        border-radius: 0%;
        transform: rotate(360deg);
    }
}

/* 6. PARALLAX DEEP SCROLL - REMOVED */
/* This animation was used for header zoom effect and has been removed */

/* 7. TEXT TYPING EFFECT */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* 8. BOUNCING ELEMENT */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 9. SLIDE IN FROM LEFT/RIGHT */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 10. ZOOM WITH GLOW */
@keyframes zoomGlow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px var(--puo));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px var(--prymary-color));
    }
    100% {
        transform: scale(1.02);
        filter: drop-shadow(0 0 10px var(--zoom-glow));
    }
}

/* 11. RIPPLE EFFECT */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* 12. SHAKE EFFECT */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px);
    }
}

/* 13. SHIMMER EFFECT - Für Header Text */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) skewX(-25deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(200%) skewX(-25deg);
        opacity: 0;
    }
}

/* 14. GLOW PULSE EFFECT */
@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px var(--zoom-glow));
    }
    50% {
        filter: drop-shadow(0 0 20px var(--primary-color));
    }
}

/* 15. RIPPLE EFFECT FOR BUTTONS */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: var(--zoom-glow);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* 16. LOADING ANIMATION */
@keyframes loadingStitch {
    0% {
        transform: translateY(-10px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-10px);
        opacity: 0.5;
    }
}

/* 17. MAGNETIC HOVER EFFECT */
@keyframes magneticPull {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.02) rotate(1deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* 18. TEXT REVEAL EFFECT */
@keyframes textReveal {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* 19. IMAGE SLIDE REVEAL */
@keyframes slideReveal {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 20. FLOATING PARTICLES */
@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Fix for 857px breakpoint - overlay_h5 overflow issue */
@media (max-width: 900px) {
    header .overlay h5 {
        font-size: 1.4em;
        letter-spacing: 3px;
        white-space: normal;
        line-height: 1.3;
    }
}

/* Tablet adjustment - show hamburger menu earlier */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    nav .logo a {
        font-size: 1.5em;
    }

    /* Hide desktop nav links on tablet, show hamburger */
    nav .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    header .overlay h2 {
        font-size: 3em;
    }

    header .overlay h5 {
        font-size: 1.2em;
        letter-spacing: 2px;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 15px 20px;
    }

    nav .logo a {
        font-size: 1.3em;
    }

    header .overlay h2 {
        font-size: 2.5em;
    }

    header .overlay h5 {
        font-size: 1em;
        letter-spacing: 1px;
    }
}

/* Mobile styles for gallery - full width */
@media (max-width: 768px) {
    .gallery {
        padding: 40px 0;
    }
    
    .gallery img {
        width: 100vw;
        max-width: none;
    }
}


/*aici vine tot pu about the brand*/

.abtb div{
    background-color: var(--bg-light);
    padding: 1%;
    flex: 1;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-origin: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.abtb div::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: var(--abtb-bg);
    background-size: 100px 100px, 20px 20px;
    transform: rotate(45deg);
    animation: knitPattern 4s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* .abtb div:hover::before {
    opacity: 1;
} - Hover effect removed */
.abtb div::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, var(--puo), transparent);
    transform: rotate(45deg);
    animation: knitPattern 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* .abtb div:hover::before {
    opacity: 1;
} - Hover effect removed */

/* .abtb div:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(212, 175, 55, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(212, 175, 55, 0.1);
    background: linear-gradient(135deg, #fbeee6 0%, #fff7f0 50%, rgba(212, 175, 55, 0.05) 100%);
} - Hover effect removed */

.abtb hr{
    margin-block: 15px;
    margin-bottom: 25px;
    position: relative;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    height: 2px;
    border: none;
    animation: slideInLeft 1s ease-out both;
}

.abtb div:nth-child(1) hr { animation-delay: 0.5s; }
.abtb div:nth-child(2) hr { animation-delay: 0.7s; }
.abtb div:nth-child(3) hr { animation-delay: 0.9s; }
.abtb div:nth-child(4) hr { animation-delay: 1.1s; }

.abtb{
    display: flex;
    gap: 2%;
    padding: 8%;
    column-width: 1fr;
    height: auto;
    min-height: auto;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
}

@media (max-width: 900px){
    .abtb{
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: auto;
    padding: 5%;
    }
    .abtb div{
        padding-inline: 30px;
    }
}

/*aici e tot pu about designer*/

.abtd{
    background-color: var(--bg-light);
    padding: 80px 5%;
    max-width: 100%;
    margin: auto;
    text-align: center;
}


button{
    padding: 10px 15px;
    border-radius: 0px;
    
    margin-top: 20px;
    width: max-content;
}

button:hover{
    background-color: var(--btn-hover);
}

button a{
    color: black;
    text-decoration: none;

}
.abtd img{
    width: 35vw;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto 20px auto;
}

@media (max-width: 1200px){
    .abtd{
        flex-direction: column;
        align-content: center;
        justify-content: center;
    }
    .abtd img{
        width: 80vw;
        max-width: 400px;
    }
}

/*gallery*/

.gallery{
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 40px 5%;
    gap: 20px;
    max-width: 100%;
    margin: auto;
    max-height: 100vh;
    overflow: auto;
    position: relative;
}



.gallery h1 {
    margin-bottom: 20px;
    animation: bounceIn 1s ease-out;
    text-shadow: 2px 2px 4px var(--shadow);
    position: relative;
}

.gallery h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: slideInLeft 1.5s ease-out;
}

.gallery img{
    width: 70%;
    margin: 0;
    padding: 0;
    max-width: 800px;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: box-shadow 0.2s ease;
    flex-shrink: 1;
    min-height: 0;
    animation: slideInRight 1s ease-out both;
    position: relative;
    overflow: hidden;
}



.gallery img:nth-child(2) { 
    animation-delay: 0.3s;
    animation-name: slideInLeft;
}

.gallery button {
    animation: bounceIn 1.5s ease-out 0.5s both;
    position: relative;
    overflow: hidden;
}

.gallery button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--btn-bg), transparent);
    transition: left 0.5s ease;
}

.gallery button:hover::before {
    left: 100%;
}

@media (max-width: 768px){
    .gallery img{
        width: 90vw;
        border-radius: none;
    }
}

/*catalogul*/

.catalog {
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
    padding-top: 20px;
    padding-bottom: 50px;
    text-align: center;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
}

.catalog::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--prymary-color) 0%, transparent 70%);
    animation: elegantFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.catalog h1 {
    font-size: 3em;
    margin-bottom: 50px;
    margin-top: 0;
    letter-spacing: 2px;
    animation: bounceIn 1.2s ease-out;
    position: relative;
    text-shadow: 2px 2px 4px var(--shadow);
}

.catalog h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--prymary-color2), var(--primary-color));
    animation: shimmer 2s ease-in-out infinite;
    border-radius: 2px;
}

.scroller {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    position: relative;
}

.scroller::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--bg-lighter) 0%, transparent 20%, transparent 80%, var(--bg-lighter) 100%);
    z-index: 1;
    pointer-events: none;
}

.scroller .inner {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 25s linear infinite;
    position: relative;
    z-index: 2;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

.catalog .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    height: 350px;
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    overflow: visible;
}



.catalog .box:hover {
    box-shadow: 0 5px 15px var(--shadow);
}

.img-container {
    width: 200px;
    height: 250px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.catalog .box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
}

.catalog .box:hover img {
    transform: scale(1.02) rotate(1deg);
}

.catalog .box h3 {
    font-size: 1.8em;
    letter-spacing: 1px;
    margin-top: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.catalog .box:hover h3 {
    color: var(--text-dark);
    transform: translateY(-2px);
}

/*place your order*/

.puo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 5% 20px;
    height: 100vh;
    max-height: 100vh;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    position: relative;
    overflow: hidden;
}

.puo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="yarn" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,25 Q30,20 35,25 T45,25" stroke="rgba(212,175,55,0.1)" stroke-width="1" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23yarn)"/></svg>');
    animation: parallaxMove 20s linear infinite;
    pointer-events: none;
}

.puo div {
    width: 100%;
    max-width: 1200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
    margin-bottom: 40px;
    flex-grow: 1;
    min-height: 0;
    position: relative;
    animation: stitchReveal 1.5s ease-out;
}

.puo div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--puo) 0%, transparent 50%, var(--puo) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* .puo div:hover::before {
    opacity: 1;
} */

.puo img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/*.puo button {
    padding: 10px 15px;
    border-radius: 0px;
    margin-top: 20px;
    width: max-content;
    background-color: transparent;
    border: none;
    cursor: pointer;
    animation: bounceIn 1.5s ease-out 0.5s both;
    position: relative;
    overflow: hidden;
}

.puo button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.puo button:hover::before {
    left: 100%;
}

.puo button:hover {
    background-color: #ffd4ba;
}

.puo button a {
    color: black;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.h1-link:hover h1 {
    transform: translateY(-3px) scale(1.02);
}*/

/*faq*/ 

.faq{
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stitchPattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(212,175,55,0.1)"/><circle cx="5" cy="5" r="0.5" fill="rgba(212,175,55,0.05)"/><circle cx="25" cy="25" r="0.5" fill="rgba(212,175,55,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23stitchPattern)"/></svg>');
    animation: elegantFloat 12s ease-in-out infinite;
    pointer-events: none;
}

.faq h1 {
    animation: bounceIn 1s ease-out;
    position: relative;
    z-index: 2;
}

.faq hr{
    margin-block: 15px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    height: 2px;
    border: none;
    animation: slideInLeft 1.2s ease-out both;
    position: relative;
    z-index: 2;
}

.faq h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--text-dark);
    position: relative;
    padding: 15px 0;
    transition: all 0.3s ease;
    animation: slideInRight 0.8s ease-out both;
    z-index: 2;
    position: relative;
}

.faq h3:nth-child(3) { animation-delay: 0.1s; }
.faq h3:nth-child(6) { animation-delay: 0.2s; }
.faq h3:nth-child(9) { animation-delay: 0.3s; }
.faq h3:nth-child(12) { animation-delay: 0.4s; }
.faq h3:nth-child(15) { animation-delay: 0.5s; }
.faq h3:nth-child(18) { animation-delay: 0.6s; }
.faq h3:nth-child(21) { animation-delay: 0.7s; }
.faq h3:nth-child(24) { animation-delay: 0.8s; }
.faq h3:nth-child(27) { animation-delay: 0.9s; }

.faq span {
    display: block;
    padding: 15px 0;
    line-height: 1.7;
    color: var(--text-dark);
    animation: fadeIn 0.5s ease-out;
    position: relative;
    z-index: 2;
    background: #ffffffb3;
    border-radius: 10px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
    /* Text-Umbruch Lösungen für lange Wörter */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
    max-width: 100%;
}

/*footer*/

footer{
    background-color: var(--bg-light);
    padding: 60px 5%;
    color: var(--text-dark);
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

footer h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-color);
}

footer p{
    margin: 15px 0;
    font-size: 1.1em;
}

footer a{
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover{
    text-decoration: underline;
    color: var(--text-dark);
}

footer p b{
    padding-right: 10px;
}

/* Styling for the How to Order page */
.order-info {
    padding: 80px 5%;
    background-color: var(--bg-lighter);
    min-height: 70vh;
    text-align: center;
}

.order-info h1 {
    margin-bottom: 30px;
}

.order-info p {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.h1-link {
    text-decoration: none;
    color: inherit;
}

/* Specific styling for the header on the order page */
.order-header {
    height: 50vh;
    min-height: initial; /* Reset min-height to its default */
}

/* === FAQ RESPONSIVE OPTIMIERUNG FÜR KLEINE BILDSCHIRME === */

/* Mobile FAQ Optimierung für Bildschirme unter 640px */
@media (max-width: 640px) {
    .faq {
        padding: 30px 20px; /* Reduziertes Padding für kleine Bildschirme */
    }
    
    .faq h3 {
        font-size: 1.2em; /* Kleinere Überschriften für mobile */
        padding: 10px 0;
        line-height: 1.4;
    }
    
    .faq span {
        padding: 15px; /* Angepasstes Padding */
        margin: 8px 0;
        font-size: 15px; /* Etwas kleinere Schrift für bessere Passform */
        line-height: 1.6; /* Angepasste Zeilenhöhe */
        /* Verstärkte Text-Umbruch Eigenschaften für mobile */
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        white-space: normal;
        max-width: 100%;
        box-sizing: border-box; /* Sicherstellen, dass Padding zur Breite gehört */
    }
}

/* Extra kleine Bildschirme (360x640px und ähnlich) */
@media (max-width: 480px) {
    .faq {
        padding: 20px 15px;
    }
    
    .faq h3 {
        font-size: 1.1em;
        padding: 8px 0;
    }
    
    .faq span {
        padding: 12px;
        font-size: 14px;
        line-height: 1.5;
        /* Maximale Breiten-Kontrolle für sehr kleine Bildschirme */
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
    
    /* Spezielle Behandlung für sehr lange Wörter wie "Sendungsverfolgungsnummer" */
    .faq span::after {
        content: '';
        display: table;
        clear: both;
    }
}
