/* =====================================================
   ILSENORI
   Centros de Mesa para Eventos
===================================================== */


/* =========================
   VARIABLES
========================= */

:root {

    --background: #f7f4ef;
    --background-light: #fbfaf7;

    --dark: #24221f;
    --dark-soft: #514d47;

    --accent: #a47750;
    --accent-dark: #805b3c;

    --border: #ddd7ce;

    --white: #ffffff;

    --serif: "Playfair Display", serif;
    --sans: "DM Sans", sans-serif;

}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: var(--sans);

    background: var(--background);

    color: var(--dark);

    line-height: 1.6;

}

img {

    width: 100%;
    display: block;

}

a {

    text-decoration: none;
    color: inherit;

}


/* =========================
   NAVBAR
========================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(247, 244, 239, 0.9);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(36, 34, 31, 0.08);

}

.nav-container {

    max-width: 1250px;

    margin: auto;

    height: 82px;

    padding: 0 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    font-family: var(--serif);

    font-size: 25px;

    font-weight: 700;

    letter-spacing: 4px;

}

.nav-menu {

    display: flex;

    gap: 38px;

}

.nav-menu a {

    font-size: 14px;

    font-weight: 500;

    transition: 0.3s;

}

.nav-menu a:hover {

    color: var(--accent);

}




/* =========================
   HERO
========================= */

.hero {

    min-height: 100vh;

    max-width: 1250px;

    margin: auto;

    padding: 150px 30px 80px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;

}

.hero-content {

    max-width: 570px;

}

.eyebrow {

    display: block;

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}

.hero h1 {

    font-family: var(--serif);

    font-size: clamp(50px, 6vw, 82px);

    line-height: 1.04;

    font-weight: 500;

    letter-spacing: -2px;

    margin-bottom: 28px;

}

.hero h1 span,
.about h2 span,
.contact h2 span {

    color: var(--accent);

    font-style: italic;

}

.hero p {

    max-width: 500px;

    color: var(--dark-soft);

    font-size: 17px;

    margin-bottom: 38px;

}

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;

}

.btn {

    padding: 15px 24px;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s;

}

.btn-primary {

    background: var(--dark);

    color: var(--white);

}

.btn-primary:hover {

    background: var(--accent);

}

.btn-outline {

    border: 1px solid var(--dark);

}
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    background: #25D366;
    color: #ffffff;

    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-whatsapp i {
    font-size: 17px;
}
.btn-outline:hover {

    background: var(--dark);

    color: var(--white);

}


/* =========================
   HERO IMAGE
========================= */

.hero-image {

    position: relative;

}

.hero-image-frame {

    position: relative;

    height: 600px;

    overflow: hidden;

    background: #ded7cd;

}

.hero-image-frame img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.8s ease;

}

.hero-image:hover img {

    transform: scale(1.03);

}

.hero-badge {

    position: absolute;

    left: -35px;

    bottom: 35px;

    width: 170px;

    height: 170px;

    border-radius: 50%;

    background: var(--dark);

    color: white;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 20px;

}

.hero-badge strong {

    font-family: var(--serif);

    font-size: 19px;

    letter-spacing: 2px;

}

.hero-badge span {

    font-size: 10px;

    color: #cfc9c0;

    margin-top: 5px;

}


/* =========================
   INTRO
========================= */

.intro {

    max-width: 800px;

    margin: auto;

    text-align: center;

    padding: 120px 30px;

}

.intro h2 {

    font-family: var(--serif);

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.1;

    font-weight: 500;

    margin-bottom: 25px;

}

.intro h2 span {

    color: var(--accent);

    font-style: italic;

}

.intro p {

    max-width: 600px;

    margin: auto;

    color: var(--dark-soft);

}


/* =========================
   PRODUCTS
========================= */

.products-section {

    max-width: 1250px;

    margin: auto;

    padding: 80px 30px 130px;

}

.section-header {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 50px;

}

.section-header h2 {

    font-family: var(--serif);

    font-size: 52px;

    font-weight: 500;

    line-height: 1;

}

.section-header p {

    max-width: 300px;

    color: var(--dark-soft);

    font-size: 14px;

}


/* =========================
   PRODUCT GRID
========================= */

.products-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 60px 30px;

}

.product-card {

    background: var(--background-light);

}

.product-image {

    height: 480px;

    position: relative;

    overflow: hidden;

    background:  var(--background);

}

.product-image img {

    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;

}

.product-card:hover .product-image img {

    transform: scale(1.04);

}

.product-number {

    position: absolute;

    top: 20px;

    left: 20px;

    width: 45px;

    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,0.9);

    font-size: 12px;

    font-weight: 600;

}


/* PLACEHOLDER */

.product-placeholder {

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #ddd5ca,
            #eee9e1
        );

}

.product-placeholder div {

    text-align: center;

}

.product-placeholder span {

    display: block;

    font-size: 12px;

    color: var(--accent);

    letter-spacing: 3px;

    margin-bottom: 8px;

}

.product-placeholder strong {

    font-family: var(--serif);

    font-size: 38px;

    font-weight: 500;

}


/* PRODUCT INFO */

.product-info {

    padding: 28px 5px;

}

.product-info > span {

    color: var(--accent);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

}

.product-info h3 {

    font-family: var(--serif);

    font-size: 34px;

    font-weight: 500;

    margin: 7px 0 10px;

}

.product-info p {

    max-width: 470px;

    color: var(--dark-soft);

    font-size: 14px;

    margin-bottom: 20px;

}

.product-link {

    display: inline-flex;

    gap: 10px;

    align-items: center;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    border-bottom: 1px solid var(--dark);

    padding-bottom: 4px;

    transition: 0.3s;

}

.product-link:hover {

    color: var(--accent);

    border-color: var(--accent);

}

.product-link span {

    font-size: 18px;

}


/* =========================
   ABOUT
========================= */

.about {

    max-width: 1250px;

    margin: auto;

    padding: 100px 30px 140px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 100px;

}

.about-content {

    max-width: 520px;

}

.about h2 {

    font-family: var(--serif);

    font-size: 58px;

    font-weight: 500;

    line-height: 1.05;

    margin-bottom: 30px;

}

.about p {

    color: var(--dark-soft);

    margin-bottom: 15px;

}

.text-link {

    display: inline-block;

    margin-top: 20px;

    font-weight: 600;

    font-size: 13px;

    border-bottom: 1px solid var(--dark);

}


/* ABOUT DECORATION */

.about-decoration {

    height: 480px;

    background: var(--dark);

    position: relative;

    overflow: hidden;

    display: flex;

    justify-content: center;

    align-items: center;

}

.about-decoration > span {

    position: relative;

    z-index: 2;

    font-family: var(--serif);

    font-size: 50px;

    color: var(--white);

    letter-spacing: 8px;

}

.decoration-circle {

    position: absolute;

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 50%;

}

.circle-one {

    width: 400px;

    height: 400px;

}

.circle-two {

    width: 600px;

    height: 600px;

}

/* =========================
   CONTACT
========================= */

.contact {
    background: var(--background);
    padding: 120px 30px;
}

.contact-inner {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.contact h2 {
    font-family: var(--serif);
    font-size: clamp(45px, 6vw, 70px);
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 25px;
}

.contact h2 span {
    color: var(--accent);
    font-style: italic;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 35px;
    color: var(--dark-soft);
}
/* =========================
   CONTACT
========================= */

.whatsapp-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 17px 28px;

    background: #25D366;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    transition: 0.3s;

}

.whatsapp-button:hover {

    background: #1ebe5d;

    color: #ffffff;

    transform: translateY(-2px);

}

.whatsapp-icon {

    font-size: 20px;

}



/* =========================
   FOOTER
========================= */

footer {

    background: var(--dark);

    color: var(--white);

    padding: 0 30px 30px;

}

.footer-container {

    max-width: 1250px;

    margin: auto;

    padding: 40px 0;

    border-top: 1px solid rgba(255,255,255,0.12);

    display: flex;

    justify-content: space-between;

}

.footer-brand p {

    color: #aaa49d;

    font-size: 12px;

    margin-top: 8px;

}

.footer-links {

    display: flex;

    gap: 25px;

    align-items: center;

}

.footer-links a {

    font-size: 12px;

    color: #aaa49d;

}

.footer-links a:hover {

    color: white;

}

.footer-bottom {

    max-width: 1250px;

    margin: auto;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.08);

    display: flex;

    justify-content: space-between;

    color: #77736d;

    font-size: 10px;

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .nav-menu,
    .nav-whatsapp {

        display: none;

    }

    .menu-toggle {

        display: block;

    }

    .hero {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .hero-image-frame {

        height: 500px;

    }

    .hero-badge {

        left: 20px;

    }

    .products-grid {

        grid-template-columns: 1fr;

    }

    .about {

        grid-template-columns: 1fr;

        gap: 50px;

    }

}


@media (max-width: 600px) {

    .nav-container {

        height: 70px;

        padding: 0 20px;

    }

    .logo {

        font-size: 21px;

    }

    .hero {

        padding: 120px 20px 60px;

    }

    .hero h1 {

        font-size: 48px;

    }

    .hero p {

        font-size: 15px;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .btn {

        text-align: center;

    }

    .hero-image-frame {

        height: 420px;

    }

    .hero-badge {

        width: 125px;

        height: 125px;

        left: 15px;

        bottom: 15px;

    }

    .hero-badge strong {

        font-size: 14px;

    }

    .hero-badge span {

        font-size: 8px;

    }

    .intro {

        padding: 80px 20px;

    }

    .intro h2 {

        font-size: 38px;

    }

    .products-section {

        padding: 50px 20px 80px;

    }

    .section-header {

        display: block;

    }

    .section-header h2 {

        font-size: 42px;

        margin-bottom: 15px;

    }

    .product-image {

        height: 380px;

    }

    .product-info h3 {

        font-size: 30px;

    }

    .about {

        padding: 70px 20px 90px;

    }

    .about h2 {

        font-size: 43px;

    }

    .about-decoration {

        height: 350px;

    }

    .about-decoration > span {

        font-size: 32px;

    }

    .contact {

        padding: 90px 20px;

    }

    .contact h2 {

        font-size: 45px;

    }

    .footer-container {

        flex-direction: column;

        gap: 30px;

    }

    .footer-links {

        flex-wrap: wrap;

    }

    .footer-bottom {

        flex-direction: column;

        gap: 5px;

    }

}

/* =========================
   SCROLL ANIMATIONS
========================= */

.animate {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

}

.animate.visible {

    opacity: 1;

    transform: translateY(0);

}


/* =========================
   SCROLLED NAVBAR
========================= */

.navbar.scrolled {

    box-shadow: 0 5px 25px rgba(0,0,0,0.05);

}


/* =========================
   MOBILE MENU
========================= */

@media (max-width: 900px) {

    .nav-menu.mobile-active {

        display: flex;

        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        padding: 25px 20px;

        background: var(--background);

        flex-direction: column;

        gap: 20px;

        border-bottom: 1px solid var(--border);

    }

}