* {
    box-sizing: border-box;
}

:root {
    --bg-color: #f4f1ea;
    --accent-color: #c5a059;
    --text-color: #000042;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-family: 'Playfair Display', sans-serif;
}

body {
    font-family: 'Readex Pro', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}


.site-header {
    text-align: center;
    padding: 1.5rem 2rem;
    background-color: rgba(244, 241, 234, 0.99);
    color: var(--bg-color);
    position: fixed;
    transition: ease;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    color: var(--text-color);
    transition: transform 0.4s ease, padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;

}

.site-header.compact {
    padding: 0.5rem 2rem;
    background: rgba(26, 38, 57, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 66, 0.2);
}

.site-header .nav-urls {
    list-style: none;
    display: flex;
    gap: 2rem;
}


.site-header a {
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--accent-color);
}

.logo {
    text-decoration: none;
    font-family: 'Playfair Display', sans-serif;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* ===== INDEX.HTML STYLES ===== */

.home-workshops-parallax {
    position: relative;
    background: linear-gradient(180deg, rgba(20, 25, 40, 0.95), rgba(26, 38, 57, 0.98));
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.workshops-overlay {
    position: relative;
    background: transparent;
    padding: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workshop-carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

.workshop-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0;
    scroll-snap-type: x mandatory;
    width: 100%;
    flex: 1;
    gap: 0;
}

.workshop-track::-webkit-scrollbar {
    display: none;
}

.ws-slide {
    position: relative;
    min-width: 100%;
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    filter: brightness(0.7);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.ws-slide-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem;
    text-align: center;
}

.ws-slide-content h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s ease;
}

.ws-desc {
    color: #f0f0f0;
    font-family: 'Readex Pro', sans-serif;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ==========================================
   THE HOVER STATE (Zoom Out & Darken)
========================================== */
.ws-slide:hover img {
    transform: scale(1);
    filter: brightness(0.3);
}

.ws-slide:hover .ws-desc {
    opacity: 1;
    transform: translateY(0);
}

.ws-slide:hover .ws-slide-content h3 {
    transform: translateY(-10px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 66, 0.7);
    color: var(--bg-color);
    font-size: 1rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.left-btn {
    left: 2%;
}

.carousel-btn.right-btn {
    right: 2%;
}

/* ==========================================
   WORKSHOP SLIDER BUTTON ANIMATION
========================================== */
@keyframes buttonFlash {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

.btn-flash {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    animation: buttonFlash 2s infinite;
    transition: transform 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: 'Readex Pro', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-flash:hover {
    transform: scale(1.05);
}

.catalog-slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.catalog-slider-wrapper h2 {
    font-family: 'Playfair Display';
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0;
    width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.catalog-card {
    position: relative;
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: 280px;
    aspect-ratio: 4/5;
    border-radius: 1px;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-5px);
}

.catalog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalog-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.catalog-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-overlay h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.btn-primary {
    background-color: #d4af37;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--text-color);
    color: var(--accent-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* ===== CATALOG.HTML STYLES ===== */

.page-hero {
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--bg-color);
    padding: 12rem 2rem 6rem 2rem;
    text-align: center;
    z-index: 10;
    background-attachment: fixed;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin: 1rem;
    color: var(--accent-color);
    text-shadow: 2px 4px 8px rgba(26, 38, 57, 0.9);
}

.page-hero p {
    font-size: 1rem;
    width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
    grid-auto-flow: dense;
}

.product-card {
    background: var(--bg-color);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
    transition: border 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.4);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 38, 57, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 10px 24px;
    font-family: 'Readex Pro', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.btn-quick-view {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.product-card:hover .btn-quick-view {
    transform: translateY(0);
}

.product-info {
    padding: 1rem;
    background-color: var(--bg-color);
    text-align: left;
}

.product-category {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.product-title {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.product-price {
    font-family: 'Readex Pro', sans-serif;
    font-size: .8rem;
    font-weight: bold;
    color: var(--text-color);
    opacity: 0.8;
}

.feature-card {
    grid-column: span 2;
    height: 380px;
}

.artisan-card {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.artisan-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
    object-fit: cover;
    z-index: 1;
    filter: contrast(1.1) sepia(0.2);
    transition: transform 0.6s ease;
}

.artisan-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(26, 38, 57, 0.95), transparent);
    width: 100%;
    padding: 3rem 2rem 2rem 2rem;
    color: var(--text-color);
    transform: translateY(60px);
    transition: transform 0.4s ease;
    box-shadow: var(--text-color);
}

.artisan-card:hover .artisan-overlay {
    transform: translateY(0);
}

.team-members {
    margin-top: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
}

.artisan-card:hover .team-members {
    opacity: 1;
}

.member {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding: 0.5rem 0;
    color: var(--bg-color);
}

.member .name {
    color: var(--accent-color);
    font-weight: bold;
}

.process-card {
    position: relative;
    background: #000;
}

.process-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.process-card:hover video {
    opacity: 0.4;
}

.process-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    color: var(--bg-color);
}

.process-text h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.material-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.material-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    transition: filter 0.4s ease, transform 0.8s ease;
}

.material-card:hover .material-bg {
    filter: brightness(0.4);
    transform: scale(1.05);
}

.material-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 400px;
    color: var(--bg-color);
}

.badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 4px 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    border-radius: 20px;
}

.product-modal {
    padding: 0;
    border: none;
    border-radius: 4px;
    background: var(--bg-color);
    max-width: 900px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.product-modal::backdrop {
    background: rgba(26, 38, 57, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#close-quick-view {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: transform 0.2s ease;
}

#close-quick-view:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

.product-modal-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 400px;
}

.modal-img-container {
    flex: 1 1 50%;
    min-width: 50%;
    background: #111;
}

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

.modal-details {
    flex: 1 1 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== VISIT.HTML STYLES ===== */

.map-hours-section {
    padding: 5rem 2rem 2rem 2rem;
    background-color: var(--bg-color);
}

.map-hours-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.map-container,
.hours-container {
    flex: 1;
    min-width: 300px;
    justify-content: space-between;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.map-wrapper iframe {
    border-radius: 4px;
    border: 2px solid var(--text-color);
    box-shadow: 0 10px 20px rgba(0, 0, 66, 0.5);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    height: 450px;
    margin-top: 1rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 66, 0.5);
}

.hours-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #eee;
    /* font-weight: bold; */
}

.hours-table .time {
    /* font-weight: bold; */
    text-align: right;
    color: var(--bg-color);
}

.tips-section {
    padding: 2rem 2rem 6rem 2rem;
    background-color: var(--bg-color);
    text-align: center;
}

.tips-section h2 {
    color: var(--text-color);
    margin-bottom: 3rem;
}

.tips-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background-color: var(--bg-color);
    padding: 2.5rem 2rem;
    border-top: 4px solid var(--accent-color);
    border-radius: 2px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tip-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.tip-card p {
    color: var(--text-color);
    opacity: 0.85;
    line-height: 1.6;
}

/* ===== WORKSHOPS.HTML STYLES ===== */

.workshop-zigzag {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    gap: 4rem;
}

.workshop-zigzag.reverse {
    flex-direction: row-reverse;
}

.zigzag-text {
    flex: 1;
}

.zigzag-text h4 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.zigzag-img {
    flex: 1;
    position: relative;
}

.zigzag-img img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.img-accent-border {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: 4px;
    z-index: 1;
    transition: all 0.4s ease;
}

.workshop-zigzag.reverse .img-accent-border {
    left: 20px;
}

.workshop-zigzag:hover img {
    transform: translateY(-5px);
}

.workshop-zigzag:hover .img-accent-border {
    transform: translate(10px, -10px);
}

.modern-modal {
    border: none;
    border-radius: 4px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modern-modal::backdrop {
    background-color: rgba(26, 38, 57, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    padding: 3rem 2rem;
    background-color: var(--bg-color);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    height: 2rem;
    width: 2rem;
    border-radius: 2px;
    font-size: 2.5rem;
    color: var(--bg-color);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 100;
    background-color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

#successMessage {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

#successMessage h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

#successMessage p {
    color: var(--text-color);
    font-size: 1.1rem;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backdropFadeIn {
    from {
        background-color: rgba(26, 38, 57, 0);
        backdrop-filter: blur(0px);
    }

    to {
        background-color: rgba(26, 38, 57, 0.6);
        backdrop-filter: blur(8px);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes backdropFadeOut {
    from {
        background-color: rgba(26, 38, 57, 0.6);
        backdrop-filter: blur(8px);
    }

    to {
        background-color: rgba(26, 38, 57, 0);
        backdrop-filter: blur(0px);
    }
}

.modern-modal[open] {
    animation: modalFadeIn 0.4s ease forwards;
}

.modern-modal[open]::backdrop {
    animation: backdropFadeIn 0.4s ease forwards;
}

.modern-modal.closing {
    animation: modalFadeOut 0.4s ease forwards;
}

.modern-modal.closing::backdrop {
    animation: backdropFadeOut 0.4s ease forwards;
}

.modal-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin: 0.5rem 0;
    color: var(--accent-color);
}

.modal-details .product-desc {
    margin: 1.5rem 0 2rem 0;
    line-height: 1.7;
    opacity: 0.8;
    max-height: 200px;
    overflow-y: auto;
}

.product-desc {
    color: var(--text-color);
}

.btn-whatsapp {
    background-color: var(--accent-color);
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
    padding: 12px 24px;
    font-family: 'Readex Pro', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #a38143;
}

label {
    display: block;
    width: 100%;
    padding: 8px;
    margin-bottom: 5px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid --text-color;
    border-radius: 4px;
    font-family: 'Readex Pro', sans-serif;
}


.site-footer {
    background: var(--text-color);
    border-top: 2px solid var(--accent-color);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
}

.footer-col h4 {
    color: var(--bg-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col a,
.footer-col p {
    display: block;
    color: var(--bg-color);
    opacity: 0.8;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--accent-color);
}