@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500&display=swap');

/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: #2c2c2c;
    background-color: #f7f3f0; /* Warm solid clay-like background */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, .header-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

section {
    padding: 10rem 2rem; /* Increased spacing between sections */
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease, color 0.3s ease;
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    padding: 1rem 4rem;
    background-color: rgba(247, 243, 240, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

header.scrolled {
    padding: 0.8rem 4rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.header-title, .header-title a {
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    text-align: center;
    flex-grow: 1;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(to right, #eeb697, #8db7a8, #ead3b8, #e7b2b2) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
}

.menu-toggle .bar {
    width: 24px;
    height: 1px;
    background-color: #000;
}

.header-right {
    min-width: 150px;
    text-align: right;
}

.header-right.hidden {
    display: none !important;
}

/* Language switch */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 90px;
    justify-content: flex-end;
}

.lang-switch button {
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #999;
    cursor: pointer;
    padding: 0.3rem 0.2rem;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.lang-switch button:hover {
    color: #eeb697;
}

.lang-switch button.active {
    color: #2c2c2c;
    font-weight: 500;
    border-bottom-color: #eeb697;
}

.lang-switch-divider {
    color: #ccc;
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .lang-switch {
        min-width: auto;
    }
}

.cta-button {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    background-color: #000;
    color: #fff;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #333;
}

.nav-links li a.active {
    font-weight: 500;
    color: #eeb697;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background-color: #f7f3f0;
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.77,0,0.175,1);
    padding: 5rem 3rem;
    box-shadow: 5px 0 15px rgba(0,0,0,0.05);
}

.side-menu.open {
    left: 0;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
}

.side-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.side-menu .nav-links li a {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

.side-menu .nav-links li.hidden {
    display: none !important;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
#hero {
    min-height: 70vh;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f7f3f0;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content .hero-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.05));
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    color: #333;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    font-style: italic;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 400;
}

.hero-links a {
    color: #8a8a8a;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}

.hero-links a:hover {
    color: #eeb697;
    border-bottom-color: #eeb697;
}

.hero-links-divider {
    color: #ccc;
}

/* Gallery Section */
#gallery {
    padding: 2rem 4rem 10rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.gallery-grid img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.6s ease;
}

.gallery-grid img:hover {
    transform: translateY(-10px);
}

/* Concept Section */
#concept {
    background-color: #fff;
    text-align: center;
}

#concept h2 {
    font-size: 2.5rem;
    margin-bottom: 6rem;
    letter-spacing: 0.15em;
}

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

.step-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.step:hover .step-image img {
    transform: scale(1.1);
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    font-weight: 300;
}

/* Sobre mí Section */
#sobre-mi {
    background-color: #fcfaf9;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    font-weight: 300;
}

/* Collection Section */
#collection {
    padding: 10rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy h3 {
    margin: 3rem 0 1rem;
    font-size: 1.5rem;
}

/* Location Section */
#location {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #eee;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Contact Page Specifics */
.contact-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto 10rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin: 2rem 0 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-info p {
    font-weight: 300;
    color: #666;
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 2rem;
    background-color: #25d366;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input, 
.form-group textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    background-color: rgba(255,255,255,0.5);
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

/* Craft subsections (Cerámica / Velas) */
.craft-subsection {
    margin-bottom: 8rem;
}

.craft-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #8b7355;
    margin-bottom: 5rem;
    position: relative;
}

.craft-title::before,
.craft-title::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: #8b7355;
    vertical-align: middle;
    margin: 0 1.2rem;
}

/* Process Page Specifics */
.process-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 8rem;
}

.craft-subsection .process-section .process-step:last-child {
    margin-bottom: 0;
}

.process-step.reverse {
    flex-direction: row-reverse;
}

.process-content {
    flex: 1;
}

.process-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: rgba(141, 85, 36, 0.1);
    display: block;
    margin-bottom: -2rem;
}

.process-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.process-content p {
    font-weight: 300;
    color: #666;
    font-size: 1.1rem;
}

.process-image {
    flex: 1.2;
}

.process-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* La Cabaña Section */
#cabana {
    text-align: center;
}

#cabana h2 {
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.cabana-subtitle {
    font-size: 1rem;
    color: #8b7355;
    letter-spacing: 0.1em;
    margin-bottom: 5rem;
    font-weight: 300;
}

.cabana-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cabana-item {
    min-width: 180px;
}

.cabana-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #8b7355;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.cabana-item p {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #2c2c2c;
    line-height: 1.6;
}

.cabana-description {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #666;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.9;
}

/* Footer */
footer {
    padding: 6rem 2rem;
    background-color: #fff;
    text-align: center;
}

.social-links {
    margin-bottom: 3rem;
}

.social-icon {
    margin: 0 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.8rem;
    color: #999;
}

footer p {
    font-size: 0.8rem;
    color: #bbb;
    letter-spacing: 0.05em;
}

/* Fade-in Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive fixes */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    header {
        padding: 1rem 2rem;
    }
    
    .header-right {
        min-width: auto;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .process-step, .process-step.reverse {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .process-image img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 6rem 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid img {
        height: 400px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.hero-whatsapp { margin-top: 1.5rem; }

/* Impresión 3D */
#impresion-3d .about-image img { max-width: 520px; margin: 0 auto; display: block; }
#impresion-3d .about-content p { margin-bottom: 1.2rem; }

.cabana-closed {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8a6d4b;
    border: 1px solid #eeb697;
    border-radius: 30px;
    padding: 0.5rem 1.4rem;
    margin-bottom: 2.5rem;
}

/* Colecciones de temporada */
#temporada { max-width: 1200px; margin: 0 auto; }
#temporada > h2 { text-align: center; letter-spacing: 0.15em; margin-bottom: 1.5rem; }
.temp-intro { text-align: center; color: #666; font-weight: 300; margin-bottom: 2.5rem; }
.season-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 3rem; }
.season-tab { font: inherit; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; background: transparent; color: #555; border: 1px solid #ccc; border-radius: 30px; padding: 0.7rem 1.6rem; cursor: pointer; transition: all 0.2s; }
.season-tab:hover { border-color: #eeb697; color: #333; }
.season-tab.active { background: #000; border-color: #000; color: #fff; }
.season-panel[hidden] { display: none; }
.season-panel h3 { text-align: center; font-size: 1.8rem; margin-bottom: 1rem; }
.season-lead { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; color: #555; font-weight: 300; font-size: 1.1rem; }
.season-banner { display: block; width: 100%; max-width: 1100px; margin: 0 auto 1rem; border-radius: 2px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1100px; margin: 0 auto; }
.tile { position: relative; overflow: hidden; margin: 0; aspect-ratio: 1; border-radius: 2px; background: #eee; }
.tile.w2 { grid-column: span 2; aspect-ratio: auto; }
.tile.fill { aspect-ratio: auto; }
.tile.w3 { grid-column: span 3; aspect-ratio: 1600 / 586; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 0.9rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.7)); }
.tile figcaption strong { display: block; font-size: 1rem; font-weight: 500; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.tile figcaption span { display: block; font-size: 0.8rem; font-weight: 300; line-height: 1.4; opacity: 0.95; }
.season-cta, .season-soon { text-align: center; }
.season-cta { margin-top: 2.5rem; }
.season-soon { max-width: 560px; margin: 0 auto; padding: 2rem 0; }
.season-soon p { color: #666; font-weight: 300; }
@media (max-width: 700px) {
    .season-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .tile.w2, .tile.w3 { grid-column: span 2; }
    .tile.w2 { aspect-ratio: 16 / 9; }
    .tile.fill { grid-column: span 2; aspect-ratio: 16 / 9; }
    .tile figcaption { padding: 1.8rem 0.7rem 0.6rem; }
    .tile figcaption strong { font-size: 0.85rem; }
    .tile figcaption span { font-size: 0.7rem; }
    .season-tab { padding: 0.6rem 1.1rem; }
}
.season-grid.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
