/* --- Variables & Reset --- */
:root {
    --primary-color: #d4a373; /* A warm bakery brown/gold */
    --secondary-color: #fefae0; /* Cream/Vanilla */
    --text-color: #333;
    --bg-color: #fff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    /*width: 90%;*/
    /*max-width: 1200px;*/
    margin: 0 50px;
    padding: 20px 0;
}

h1, h2, h3 {
    margin-bottom: 15px; 
    line-height: 1; /* Reduces the gap for big titles */
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Header --- */
.header {
    background: var(--bg-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000; 
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img{
    width: 115px;
    height: 100px;
    padding: 5px 10px; /* Box logo style from sketch */
}

.nav-menu {
    display: flex;
    gap: 70px;
    font-size: 1.5em;
}

.nav-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background: url('images/lucy_background.jpeg');
    padding: 50px 0;
    background-size:cover;
    height: 100dvh;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-text h1 {
    font-size: 4rem;
    font-family: Georgia, serif;
    letter-spacing: 0px;
    word-spacing: 0px;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    font-style: italic;
    font-variant: small-caps;
    text-transform: uppercase;
    text-shadow: -6px 2px 26px rgba(255,255,255,1);
}

.hero-text span {
    font-weight: 300;
    font-size: 2rem;
    text-shadow: -6px 2px 26px rgba(255,255,255,1);
}

.hero-text p{
    font-family: Georgia, serif;
    font-size: 1em;
    letter-spacing: 0px;
    word-spacing: 0px;
    color: #000000;
    font-weight: 400;
    text-decoration: none;
    font-style: italic;
    font-variant: normal;
    text-transform: none;
    text-shadow: -6px 2px 26px rgba(255,255,255,1);
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    border: 2px solid var(--text-color);
    padding: 10px 20px;
    border-radius: 30px; /* Rounded button from sketch */
    margin-top: 20px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: white;
    color: white;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

/* --- Categories --- */
.categories {
    text-align: center;
    padding: 50px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 20px;
    margin-top: 30px;
}

.cat-card img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
}

/* --- Instagram --- */
.instagram {
    text-align: center;
    padding: 40px 0;
    background-color: #fafafa;
}

.insta-box {
    border: 2px solid #ccc;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: white;
}

.insta-header {
    text-align: left;
    margin-bottom: 20px;
    font-weight: bold;
    border: 1px solid #333;
    display: inline-block;
    padding: 5px 5px;
}

.insta-feed-placeholder {
   
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #999;
    font-family: cursive; /* Looking like handwriting */
}

/* --- Testimonials --- */
.testimonials {
    padding: 50px 0;
    background-color: var(--secondary-color);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.stars {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* --- Footer --- */
.footer {
    background-color: #f4f4f4;
    padding: 40px 0;
    border-top: 1px solid #ccc;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-col ul {
    list-style: none;
}

.social-icons {
    margin-top: 10px;
    font-size: 1.5rem;
}

.social-icons a {
    margin-right: 15px;
}

/* --- RESPONSIVE DESIGN (Mobile) --- */
@media (max-width: 768px) {
    /* Header */
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        display: none; /* Hidden by default on mobile */
        border-bottom: 1px solid #ddd;
        font-size: 1.2em;
    }

    .nav-menu.active {
        display: flex;
    }

    /* Hero */
    .hero-content {
        flex-direction: column; /* Stack vertically */
        text-align: center;
    }

    /* Categories */
    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet/mobile */
    }

    /* Testimonials & Footer */
    .testimonial-grid, .footer-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        text-align: center;
    }
}


/* On Mobile Phones (max-width: 480px) */
@media (max-width: 480px) { 
    .category-grid {
        grid-template-columns: 1fr; /* 1 column on small phones */
    }

    .insta-box {
        padding: 10px; /* Reduce padding so images have more space */
        max-width: 95%; /* Use almost full screen width */
        height: 400px;
    }

    .insta-header{
        margin-bottom: 0;
        padding: 5px 5px;
    }
}

/* --- RESPONSIVE PART (Add to your existing Media Queries) --- */

/* On Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .insta-box {
        padding: 10px; /* Reduce padding so images have more space */
        max-width: 95%; /* Use almost full screen width */
        height: 400px;
    }
    
   
    .insta-header{
        margin-bottom: 0;
        padding: 5px 5px;
    }
}



/*///////////////////////////////////////////////////ABOUT//////////////////////////////////////////////////*/

/* --- About Lucy Section --- */
.about-lucy {
    padding: 60px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(90, 62, 43, 0.1);
}

.about-text h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--text-brown);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* --- Mission & Vision Section --- */
.mission-vision {
    background-color: var(--bg-medium);
    padding: 80px 0;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.card {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    flex: 1; /* Makes both cards same width */
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-icon img {
    width: 64px;
    height: auto;
    margin-bottom: 25px;
}

.card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-brown);
    margin-bottom: 20px;
}

.card p {
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* Target mobile devices (e.g., phones smaller than 768px) */
@media (max-width: 768px) {

    /* --- 1. Fix "Conoce a Lucy" Section --- */
    .about-content {
        flex-direction: column; /* Stack image and text vertically */
        text-align: center;     /* Center text */
        gap: 30px;              /* Reduce gap between image and text */
    }

    .about-image img {
        /* Make the image bigger on mobile */
        max-width: 250px; 
        height: 250px; /* Ensure it's a perfect circle */
        margin: 0 auto; /* Center the image horizontally */
    }

    .about-text h1 {
        font-size: 2rem; /* Make the main title slightly smaller */
    }

    .about-text p {
        font-size: 1rem; /* Adjust paragraph text size */
        padding: 0 15px; /* Add some padding so text doesn't touch screen edges */
    }


    /* --- 2. Fix "Misión & Visión" Section --- */
    .cards-container {
        flex-direction: column; /* Stack the cards vertically */
        gap: 30px;              /* Add space between the stacked cards */
    }

    .card {
        /* Make cards full width on mobile */
        width: 100%;  
        max-width: none; /* Remove the desktop max-width limit */
        padding: 40px 30px; /* Adjust padding for smaller screens */
    }

    .card h2 {
        font-size: 1.8rem; /* Slightly smaller card titles */
    }
}


/*///////////////////////////////////////////////////ORDENA///////////////////////////////////*/

/* --- Sección de Ordenar (Order Section) --- */

.order-section {
    background-color: var(--secondary-color); /* Tu color crema/vainilla */
    padding: 80px 0;
    
    /* TRUCO: Esto hace que la sección ocupe al menos el 80% de la altura 
       de la pantalla, dándole ese efecto de "Pantalla Completa" */
    min-height: 80vh; 
    
    display: flex;
    align-items: center; /* Centra el contenido verticalmente */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: var(--font-heading, serif); /* Usa tu fuente de títulos */
    font-size: 2.5rem;
    color: var(--primary-color); /* Tu color café/dorado */
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* --- Tarjetas de los Pasos --- */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    flex: 1; /* Hace que las 3 tarjetas tengan el mismo ancho */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Sombra suave */
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px); /* Efecto de elevación al pasar el mouse */
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* --- Botón CTA --- */
.order-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-order {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
    display: inline-block;
}

.btn-order:hover {
    background-color: #b58b5e; /* Un tono un poco más oscuro para el hover */
    transform: scale(1.05);
}

/* --- media query --- */
@media (max-width: 768px) {
    .order-section {
        padding: 50px 0;
        height: auto; /* En móvil dejamos que la altura sea automática */
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .steps-container {
        flex-direction: column; /* Apila las tarjetas verticalmente */
    }

    .step-card {
        margin-bottom: 20px; /* Espacio entre tarjetas apiladas */
    }
}


/*///////////////////////////////////////////////////CONTACTO//////////////////////////////////////*/

/* --- Sección de Contacto --- */
.contact-section {
    background-color: var(--secondary-color); /* Fondo blanco para limpieza */
    padding: 40px 180px;
}

.contact-container {
    max-width: 800px; /*formulario más angosto para que se vea elegante */
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    font-family: var(--font-heading);
    color: var(--primary-color); 
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- Estilos del Formulario --- */
.lucy-form {
    background-color: pink; 
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1; /* Para que email y teléfono ocupen 50% cada uno */
}

label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

/* Los Inputs */
input, textarea {
    padding: 12px 15px;
    border: 1px solid #ccc; /* Borde sutil */
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Efecto al hacer clic en un input */
input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color); 
    box-shadow: 0 0 5px rgba(212, 163, 115, 0.3);
}

/* Botón de Enviar */
.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color); 
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #b58b5e; /* Un tono más oscuro */
}

.form-status {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

/* --- Responsive para Móvil --- */
@media (max-width: 768px) {

    .contact-section{
        padding: 40px 0;
    }

    .lucy-form {
        padding: 20px;
    }

    .form-row {
        flex-direction: column; /* Apilar email y teléfono en celular */
        gap: 0;
    }

    .contact-header h2 {
        font-size: 2rem;
    }
}