/*SCHRIFTART*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: white;
    color: black;
}

/* ALLGEMEIN */
a {
    color: black;
    text-decoration: none;
    text-decoration-color: white;
    transition: all 0.3s ease;
}

a:hover {
    color: grey;
    text-underline-offset: 0.3rem;
    text-decoration-color: rgb(181, 181, 181);
}

.nav-links a:hover {
    text-decoration: underline;
}
.icons {
    gap: 2rem;
    display: flex;
}

/* DESKTOP NAV */
nav,
.nav-links {
    display: flex;
}

nav {
    justify-content: space-between;
    align-items: center;
    height: 8vh;
    padding: 20px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.2rem;
    padding: 0;
}

.nav-links a {
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    
}

.logo:hover {
    cursor: default;
}
/*DROPDOWN MENU*/
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    padding: 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 0.5rem;
    color: black;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: black;
    text-decoration: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}
/* HAMBURGER MENU */
#hamburger-nav {
    display: none;
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}


.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: black;
    border-radius: 2px;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    list-style: none;
}

.menu-links li {
    padding: 1rem;
    text-align: center;
}

.menu-links.open {
    max-height: 300px;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-actions i,
.mobile-actions a {
    font-size: 1.4rem;
    color: black;
    cursor: pointer;
}
#favorites-toggle-mobile.active {
    color: red;
}
/*HOME SECTION*/
.home {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.9rem 1.6rem;
    border-radius: 4px;
    text-decoration: none;
}

.btn-primary {
    background: #d8c08d;
    color: black;
    border:1px solid #d8c08d;
}

.btn-secondary {
    background: white;
    border: 1px solid black;
    color: black;
}
/*PRODUCT SECTION*/

#products {
    padding: 2rem 4rem;
}

.heading {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section_text {
    
    margin-bottom: 1.5rem;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    
}

.product-card {
    background: white;
    border: 1px solid #ddd;
    padding: 1rem;
    transition: 0.3s ease;
    border-radius: 4px;
    border: rgb(53, 53, 53) 0.1rem solid;
    margin-top: 1.5rem;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.product-image img {
    max-width: 100%;
    object-fit: contain;
}


/*CATEGORY BUTTON*/ 

.category-btn {
    padding: 0.6rem 1rem;
    border: 1px solid black;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;   
    display: inline-block;
}

.category-btn:hover {
    background: black;
    color: white;
}

.category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.product-card[id] {
    scroll-margin-top: 80px;
}

.heart {
    cursor: pointer;
    transition: 0.3s;
}

.heart.active {
    color: red;
}

#favorites-toggle.active {
    color: red;
}
.search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#search-input {
    padding: 0.4rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/*CONTACT SECTION*/

#contact {
    padding: 2rem 4rem;
}
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}


.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
    
}
.contact-item i {
    font-size: 1.2rem;
    width: 24px;
}
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    max-width: 600px;
}

.contact-form .box {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.contact-form .message-box {
    min-height: 220px;
    resize: vertical;
}

.contact-btn {
    width: fit-content;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    font-family: inherit;
    border: none;
    cursor: pointer;
}


.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item i {
    font-size: 1.2rem;
    width: 24px;
}

.contact-form {
    flex: 1;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form .box {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

.message-box {
    min-height: 220px;
    resize: vertical;
}

.contact-btn {
    align-self: flex-start;
    padding: 0.9rem 2.2rem;
    border: none;
    background: #d8c08d;
    color: black;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: 0.3s ease;
    border-radius: 4px;
    
}

.contact-btn:hover {
    opacity: 0.85;
}
.mobile-search-wrapper {
    display: none;
    padding: 1rem 1.5rem;
    background: white;
}

.mobile-search-wrapper.show {
    display: block;
}

#mobile-search-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.hover-image {
    position: relative;
    width: 100%;
    height: 260px;
}

.hover-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.hover-image .main-img {
    opacity: 1;
    z-index: 2;
}

.hover-image .hover-img {
    opacity: 0;
    z-index: 1;
}

.hover-image:hover .main-img {
    opacity: 0;
}

.hover-image:hover .hover-img {
    opacity: 1;
}


.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 35px;
}
.hero-title {
    display: flex;
    align-items: center;   
    justify-content: center;
    gap: 1rem;
}

.hero-title img {
    height: 60px;
    transform: translateY(-3px);
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 1rem;
    font-size: 0.9rem;
}

.language-switch a {
    text-decoration: none;
    color: black;
}

.language-switch a.active-lang {
    font-weight: bold;
    text-decoration: underline;
}

.more-products-box {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 12px;
    
}

.more-products-box h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.more-products-box p {
    margin-bottom: 1.5rem;
    color: #555;
}

footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid #ddd;
    margin-top: 3rem;
}

footer nav {
    height: auto;
    padding: 0;
    box-shadow: none;
    justify-content: center;
}

footer .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
