/* General styles for the main section and text */
body {
    font-family: "Host Grotesk", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
}

/* General styles for the header */
header {
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    padding: 1px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 {
    margin: 0 0 0 10px; 
    font-size: 2em;
    color: #333; 
}

nav {
    margin-left: auto; 
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: #333; 
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

nav ul li a:hover {
    color: white;
    background-color: #333; 
}

.whatsapp-icon {
    width: auto;
    height: auto;
}

#home-text.fade-out {
    animation: fadeOutText 1s forwards;
}

#home-text.fade-in {
    animation: fadeInText 1s forwards;
}

.background-fade-in {
    animation: fadeIn 1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOutText {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.background-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

main {
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: background-image 1s ease-in-out;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#home-text {
    font-family: "Oxygen", sans-serif;
    font-size: 3rem;
    font-weight: 400;
    font-style: normal;

    margin: 0px 250px;
    position: relative;
    z-index: 1;
    transition: opacity 1s ease-in-out;
    text-align: center; 
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5), 
        -2px -2px 4px rgba(0, 0, 0, 0.5), 
        2px -2px 4px rgba(0, 0, 0, 0.5), 
        -2px 2px 4px rgba(0, 0, 0, 0.5); 
    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(5px); 
    border-radius: 10px; 
}

.background-fade.show {
    opacity: 1;
}

/* General styles for the footer */
footer {
    text-align: center;
    padding: 1px 0;
    background-color: #f1f1f1;
    color: #333;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex;
    align-items: center;
}

.facebook-icon {
    font-size: 20px; 
    color: #3b5998; 
    margin-left: 10px; 
    vertical-align: middle; 
}

.whatsapp-icon {
    font-size: 20px; 
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 50%;
    color: #25D366; 
}

#additional-info {
    background-color: #151515;    ;
    padding: 20px;
    text-align: center;
}

#additional-info .large-text,
#additional-info .small-text {
    color: #A0522D; 
}

hr {
    border: none;
    height: 10px;
    background-color: #A0522D;
    margin: 0px 0;
}

.text-large {
    font-family: "Roboto Mono", monospace;
    letter-spacing: 7px;
    color: #A0522D;
    font-size: 3rem; 
}

.text-medium {
    font-family: "Roboto Mono", monospace;
    letter-spacing: 7px;
    color: #666;
    font-size: 2rem; 
}

.text-medium-small {
    font-family: "Rubik", monospace;
    letter-spacing: 2px;
    margin: 10px 500px;
    color: white;
    font-size: 1.75rem; 
}

@media screen and (max-width: 480px) {
    header .container {
        flex-direction: column;
        padding: 10px;
    }

    header h1 {
        font-size: 1.5em;
        margin: 10px 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li .dropdown {
        position: static;
        width: 100%;
    }

    #home-text {
        font-size: 1.5rem;
        margin: 0 20px;
    }

    .text-large {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .text-medium {
        font-size: 1.5rem;
    }

    .text-medium-small {
        font-size: 1.2rem;
        margin: 10px 20px;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        padding: 10px;
    }

    header h1 {
        font-size: 1.8em;
        margin: 10px 0;
        order: 1;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 24px;
        cursor: pointer;
        order: 2;
    }

    nav {
        width: 100%;
        order: 3;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }

    nav ul li .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 5px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    #home-text {
        font-size: 2.5rem;
        margin: 0 100px;
    }

    .text-medium-small {
        margin: 10px 200px;
    }
}

/* Hamburger menu styles */
.hamburger {
    display: none; 
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        color: #333;
        padding: 5px 10px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        z-index: 1000;
    }

    nav ul.show {
        display: flex;
    }

    header .container {
        position: relative;
    }
}

/* General styles for the about page */
.about-page {
    min-height: 100vh;
    background-attachment: fixed;
    padding: 120px 20px 40px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(160, 82, 45, 0.1);
    padding: 40px;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.wood-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, #A0522D, transparent);
    margin: 20px auto;
    max-width: 200px;
}

.about-header h1 {
    color: #A0522D;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

@media screen and (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .about-container {
        padding: 20px;
    }

    .about-content p {
        font-size: 1.1rem;
    }
}

.about-container {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-controls {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 2;
}

.slider-arrow {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 768px) {
    .slider-arrow {
        padding: 10px 15px;
        font-size: 18px;
    }
}

.progress-container {
    position: absolute;
    top: 80px;
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 999; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header {

    z-index: 1000; 
}

.hamburger {

    z-index: 1001; 
}

nav {

    z-index: 1000; 
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #A0522D, #D2691E); 
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 3px 3px 0; 
    box-shadow: 0 0 10px rgba(160, 82, 45, 0.5); 
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1)
    );
    animation: shine 1s infinite linear;
}

@media screen and (max-width: 768px) {
    header {
        padding: 8px 0;
        height: 80px;
    }

    header .container {
        height: 100%;
        padding: 0 15px;
        display: grid;
        grid-template-columns: 55px 1fr 40px; 
        align-items: center;
        gap: 10px;
    }

    header img {
        height: auto;
        width: 55px;
        justify-self: start;
    }

    header h1 {
        font-size: 1.6em;
        margin: 0;
        text-align: center;
        justify-self: center;
        grid-column: 2;
    }

    .hamburger {
        font-size: 1.5em;
        justify-self: end;
    }

    .progress-bar {
        top: 15px;
    }
}

@keyframes buttonClick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.filter-link.animate {
    animation: buttonClick 0.3s ease-in-out;
}

#products-preview {
    background-color: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-5px);
}

.preview-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(160, 82, 45, 0.8);
    padding: 15px;
    color: white;
    text-align: center;
}

.preview-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    font-family: "Rubik", sans-serif;
}

.preview-button {
    display: inline-block;
    background: #A0522D;
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-family: "Rubik", sans-serif;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 30px;
}

/* Styles for the products preview section */
.preview-button:hover {
    background: #8B4513;
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .preview-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .preview-item img {
        height: 250px;
    }
}

/* General styles for the products page */
.products-container {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    gap: 2rem;
}

.filters {
    width: 200px;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.filters h3 {
    font-size: 1.5rem;
    color: #A0522D; 
    text-transform: uppercase;
    margin-bottom: 1rem;
    border-bottom: 2px solid #A0522D; 
    padding-bottom: 0.5rem;
    font-family: 'Rubik', sans-serif;
}

.filters ul {
    list-style: none;
    padding: 0;
}

.filters .filter-link {
    display: block;
    padding: 0.5rem;
    color: #333;
    text-decoration: none;
}

.filters .filter-link.active {
    background: #4CAF50;
    color: white;
    border-radius: 4px;
}

.products-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.description {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.contact-btn {
    width: 100%;
    padding: 0.8rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-btn:hover {
    background: #45a049;
}

@media (max-width: 768px) {
    .products-container {
        flex-direction: column;
    }

    .filters {
        width: 100%;
    }
}

.products-grid {
    max-height: 80vh;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-card {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    margin-bottom: 10px;
    height: 200px;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; 
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px); 
}

.lightbox-content {
    position: relative;
    margin: auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1001; 
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox .nav {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    user-select: none;
    cursor: pointer;
}

.lightbox .nav:hover {
    color: #bbb;
}

.lightbox .prev {
    left: 10px; 
}

.lightbox .next {
    right: 10px; 
}

@media (max-width: 768px) {
    .filters {
        margin-top: 60px; 
    }
}

.product-card {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.product-card.fade-out {
    opacity: 0;
    transform: scale(0.8);
}

.product-card.fade-in {
    animation: fadeInProduct 0.3s ease-out forwards;
}

@keyframes fadeInProduct {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    perspective: 2000px;
}

.preview-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.filters {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

#category-list li:nth-child(1) .filter-link { animation-delay: 0.3s; }
#category-list li:nth-child(2) .filter-link { animation-delay: 0.4s; }
#category-list li:nth-child(3) .filter-link { animation-delay: 0.5s; }
#category-list li:nth-child(4) .filter-link { animation-delay: 0.6s; }
#category-list li:nth-child(5) .filter-link { animation-delay: 0.7s; }
#category-list li:nth-child(6) .filter-link { animation-delay: 0.8s; }
#category-list li:nth-child(7) .filter-link { animation-delay: 0.9s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-link:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.price-label {
    background-color: #A0522D;
    color: white;
    padding: 8px;
    text-align: center;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.9;
}

/* General styles for the contact page */

.contact-container {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-container {
    max-width: 1400px;
    margin: 120px auto 60px;
    padding: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.map-container {
    width: 100%;
    height: 700px;
}

.contact-details {
    background: #f5f5f5;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-family: 'Montserrat', sans-serif;
}

.contact-details h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

.contact-item {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-size: 1.2em;
}

.contact-item:has(.fa-phone) {
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 15px;
    color: #A0522D;
    width: 25px;
    font-size: 1.4em;
}

.whatsapp-button {
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.whatsapp-button:hover {
    background: #1ea952;
}

.whatsapp-button i {
    margin-right: 12px;
    font-size: 1.4em;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 400px;
    }
    .contact-details {
        padding: 30px;
    }
}
