/* =========================================
   ILLUMINATE HOME
========================================= */

* {
    box-sizing: border-box;
}


body {
    margin: 0;
    background: #fffdf5;
    color: #222;
    font-family:
        Arial,
        "Noto Sans Thai",
        sans-serif;
}


/* =========================================
   NAVBAR
========================================= */

.home-navbar {

    height: 76px;

    padding:
        0 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #fffdf5;

    border-bottom:
        1px solid #eee5d8;

    position: sticky;

    top: 0;

    z-index: 100;

}


.nav-left,
.nav-right {

    display: flex;

    align-items: center;

    gap: 22px;

}


.home-navbar a {

    text-decoration: none;

    color: #222;

    font-size: 14px;

    font-weight: 500;

    transition: 0.2s;

}


.home-navbar a:hover {

    transform: translateY(-2px);

    opacity: 0.65;

}


.brand-logo {

    font-size: 29px !important;

    font-weight: 800 !important;

    letter-spacing: 1px;

    text-align: center;

}


.brand-logo small {

    display: block;

    font-size: 10px;

    font-weight: 400;

    letter-spacing: 0;

    margin-top: -3px;

}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 540px;

    display: grid;

    grid-template-columns:
        42% 58%;

    background: #f8f0dd;

}


.hero-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 70px 8%;

    position: relative;

}


.hero-small {

    font-size: 18px;

    margin: 0 0 12px;

    letter-spacing: 2px;

}


.hero h1 {

    font-size: clamp(42px, 5vw, 72px);

    line-height: 0.95;

    margin: 0 0 25px;

    font-weight: 800;

}


.hero-description {

    font-size: 16px;

    line-height: 1.8;

    color: #666;

}


.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 20px;

    flex-wrap: wrap;

}


.cute-button {

    display: inline-block;

    padding: 12px 18px;

    border: 1px solid #222;

    border-radius: 12px;

    color: #222;

    text-decoration: none;

    font-size: 13px;

    font-weight: bold;

    transition: 0.2s;

}


.cute-button:hover {

    transform: translateY(-3px);

}


.cute-button.pink {

    background: #f7c9c5;

}


.cute-button.yellow {

    background: #f3df99;

}


.hero-image {

    min-height: 540px;

    background:
        linear-gradient(
            135deg,
            #f4e4c8,
            #f7d9d1,
            #eee7ca
        );

    display: flex;

    align-items: center;

    justify-content: center;

}


.hero-placeholder {

    width: 80%;

    height: 78%;

    border-radius: 30px;

    background:
        rgba(255,255,255,0.35);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    font-size: 34px;

    font-weight: bold;

    text-align: center;

    letter-spacing: 2px;

}


.hero-placeholder span {

    margin-top: 12px;

    font-size: 14px;

    font-weight: normal;

    letter-spacing: 0;

}


/* =========================================
   INTRO
========================================= */

.intro {

    text-align: center;

    padding: 55px 20px 30px;

}


.intro h2 {

    margin: 0;

    font-size: 30px;

}


.intro p {

    color: #777;

}


/* =========================================
   COLLECTIONS
========================================= */

.collections {

    max-width: 1050px;

    margin: auto;

    padding:
        20px 25px 70px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

}


.collection-card {

    border-radius: 28px;

    padding: 45px 35px;

    min-height: 240px;

    position: relative;

    overflow: hidden;

    border: 2px solid #222;

}


.collection-card.nails {

    background: #f6c7c5;

}


.collection-card.keychains {

    background: #f2dfa1;

}


.collection-icon {

    font-size: 45px;

}


.collection-card h3 {

    font-size: 30px;

    margin: 12px 0;

}


.collection-card p {

    max-width: 300px;

    line-height: 1.6;

}


.collection-card a {

    display: inline-block;

    margin-top: 12px;

    color: #222;

    font-weight: bold;

    text-decoration: none;

    border-bottom: 1px solid #222;

}


/* =========================================
   PRODUCTS
========================================= */

.products-section {

    background: #fff;

    padding:
        65px 5% 80px;

}


.section-heading {

    text-align: center;

    margin-bottom: 35px;

}


.section-heading h2 {

    font-size: 30px;

    margin-bottom: 8px;

}


.section-heading p {

    color: #777;

}


.products-grid {

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}


.product-card {

    background: #fffdf5;

    border: 1px solid #ddd;

    border-radius: 20px;

    overflow: hidden;

    transition: 0.2s;

}


.product-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 10px 25px
        rgba(0,0,0,0.08);

}


.product-image {

    height: 220px;

    background: #f3eee2;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.product-info {

    padding: 15px;

}


.product-category {

    font-size: 11px;

    color: #999;

}


.product-name {

    font-size: 15px;

    font-weight: bold;

    margin:
        5px 0 8px;

}


.product-price {

    font-weight: bold;

    margin-bottom: 12px;

}


.product-button {

    width: 100%;

    padding: 10px;

    border: 1px solid #222;

    background: #f7c9c5;

    border-radius: 10px;

    cursor: pointer;

    font-weight: bold;

}


/* =========================================
   HANDMADE
========================================= */

.handmade {

    padding: 70px 5%;

    background: #fff5e9;

}


.handmade-box {

    max-width: 950px;

    margin: auto;

    padding: 40px;

    display: flex;

    align-items: center;

    gap: 30px;

    background: #f8d8cf;

    border-radius: 30px;

}


.handmade-icon {

    font-size: 55px;

}


.handmade h2 {

    margin: 0 0 10px;

}


.handmade p {

    line-height: 1.8;

    margin: 0;

}


/* =========================================
   LINE
========================================= */

.line-section {

    padding: 60px 5%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 40px;

    text-align: center;

    background: #fffdf5;

}


.line-section span {

    font-size: 40px;

}


.line-section h2 {

    margin: 8px 0;

}


.line-section p {

    color: #777;

}


.line-button {

    display: inline-block;

    padding: 13px 22px;

    border-radius: 14px;

    border: 1px solid #222;

    background: #c9e6c5;

    color: #222;

    text-decoration: none;

    font-weight: bold;

}


/* =========================================
   FOOTER
========================================= */

footer {

    background: #f6c7c5;

    padding: 45px 7% 20px;

}


.footer-brand {

    text-align: center;

}


.footer-brand strong {

    display: block;

    font-size: 30px;

}


.footer-brand span {

    display: block;

    margin-top: 5px;

}


.footer-menu {

    display: flex;

    justify-content: center;

    gap: 25px;

    margin: 30px 0;

}


.footer-menu a {

    color: #222;

    text-decoration: none;

    font-size: 14px;

}


.copyright {

    text-align: center;

    border-top: 1px solid
        rgba(0,0,0,0.15);

    padding-top: 18px;

    margin: 0;

    font-size: 11px;

}


/* =========================================
   LOADING
========================================= */

.loading {

    grid-column: 1 / -1;

    text-align: center;

    padding: 60px;

    color: #777;

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .home-navbar {

        height: auto;

        min-height: 70px;

        padding: 15px;

        flex-wrap: wrap;

        gap: 15px;

    }


    .nav-left,
    .nav-right {

        gap: 10px;

    }


    .home-navbar a {

        font-size: 12px;

    }


    .brand-logo {

        order: -1;

        width: 100%;

    }


    .hero {

        grid-template-columns: 1fr;

    }


    .hero-image {

        min-height: 300px;

    }


    .hero-placeholder {

        height: 240px;

    }


    .collections {

        grid-template-columns: 1fr;

    }


    .products-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .product-image {

        height: 170px;

    }


    .handmade-box {

        flex-direction: column;

        text-align: center;

    }


    .line-section {

        flex-direction: column;

    }


}


@media (max-width: 500px) {

    .products-grid {

        grid-template-columns: 1fr;

    }


    .hero h1 {

        font-size: 42px;

    }


    .footer-menu {

        flex-direction: column;

        align-items: center;

    }

}

/* =====================================
   PAGE-SPECIFIC STYLES (moved from HTML)
===================================== */
/* =====================================
   HERO CENTER
===================================== */

.hero{

    min-height:calc(100vh - 90px);

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:60px 20px;

    box-sizing:border-box;

}


.hero-content{

    width:100%;

    max-width:800px;

    margin:0 auto;

}


.hero-small{

    margin-bottom:15px;

}


.hero h1{

    margin-left:auto;
    margin-right:auto;

}


.hero-description{

    margin-left:auto;
    margin-right:auto;

}


/* =====================================
   HERO BUTTONS
===================================== */

.hero-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    flex-wrap:wrap;

}


/* =====================================
   MOBILE
===================================== */

@media(max-width:600px){

    .hero{

        min-height:calc(100vh - 70px);

        padding:50px 20px;

    }


    .hero-buttons{

        flex-direction:column;

        width:100%;

    }


    .hero-buttons .cute-button{

        width:100%;

        max-width:280px;

        box-sizing:border-box;

    }

}
