/* --- 3. HERO SECTION --- */
.hero-wrapper {
    position: relative; width: 100%; min-height: calc(100vh - var(--navbar-height)); overflow: hidden;
    display: flex; align-items: center; justify-content: center; text-align: center;
    background-image:   linear-gradient(
            90deg,
            rgba(0,0,0,0.35) 0%,
            rgba(0,0,0,0.05) 50%,
            rgba(0,0,0,0.35) 100%
    ),
    linear-gradient(
            145deg,
            rgba(255,255,255,0.2),
            rgba(0,0,0,0.5)
    ),
    url('../images/index_background.webp');
    background-size: cover;

}
.hero-banner {


}
.hero-content { max-width: 1000px; margin: 0 auto; color: var(--white); z-index: 2; padding: 0 20px; }

.hero-content h1 {
    font-size: clamp(2.2rem, 6.25vw, 3.8rem);
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}
.hero-content p {
    font-size: clamp(0.85rem, 1.875vw, 1.1rem);
    margin-bottom: 40px;
    font-weight: bold;
    color: var(--white);
    opacity: 0.95;
}

.hero-btns { display: flex; gap: 20px; justify-content: center; align-items: center; }

.btn-hero {
    padding: 10px 20px;
    border-radius: var(--btn-radius);
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    font-weight: bold;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-contact-hero {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    backdrop-filter: blur(5px);
}
.btn-contact-hero:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }

.btn-catalog-hero {
    background: var(--grad-hero-btn);
    color: var(--white);
}
.btn-catalog-hero:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* --- 4. ABOUT SECTION --- */
.about-section { min-height: calc(100vh - var(--navbar-height)); background-color: var(--white); overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
.about-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: flex-start; }

/* Bento Grid */
.bento-wrapper { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 60px 140px 220px; gap: 20px; }
.bento-box {
    border-radius: 20px; padding: 24px; display: flex; flex-direction: column;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05); transition: var(--transition);
    cursor: pointer; position: relative; z-index: 1;
}
.bento-box:hover { transform: translateY(-10px) scale(1.02); z-index: 10; box-shadow: 0 30px 60px rgba(0,0,0,0.12); }

.box-large { height: 220px; justify-content: flex-end; }
.box-small { height: 140px; justify-content: space-between; }

/* Grid Alignment */
.bento-wrapper .bento-box:nth-child(1) { grid-column: 1; grid-row: 2 / 3; }
.bento-wrapper .bento-box:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
.bento-wrapper .bento-box:nth-child(3) { grid-column: 1; grid-row: 3 / 4; }
.bento-wrapper .bento-box:nth-child(4) { grid-column: 2; grid-row: 3 / 4; }

/* Bento Colors */
.bento-white { background: #F7F2EE; border: 1px solid #F1EDE9; }
.bento-tan { background: var(--grad-tan); color: var(--white); }
.bento-dark { background: var(--grad-dark); color: var(--white); }

.bento-icon-wrap { width: 45px; height: 45px; margin-bottom: 10px; }
.bento-svg { width: 100%; height: 100%; object-fit: contain; }

.bento-big-text { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: bold; color: var(--white); line-height: 1; margin-bottom: 8px; }
.bento-label { font-size: clamp(0.8rem, 1.5vw, 0.95rem); font-weight: 700; color: #3D2B1F; }
.bento-label-small { font-size: clamp(0.75rem, 1.375vw, 0.85rem); opacity: 0.9; }

/* About Text */
.about-sub { font-size: clamp(0.7rem, 1.25vw, 0.8rem); font-weight: 700; color: var(--accent-wood); letter-spacing: 1px; display: block; margin-bottom: 20px; text-transform: uppercase; }
.about-title { font-size: clamp(1.5rem, 3.75vw, 2.2rem); font-weight: bold; color: var(--primary-dark); margin-bottom: 25px; line-height: 1.1; }
.about-desc { color: var(--text-gray); margin-bottom: 40px; line-height: 1.6; font-size: clamp(0.85rem, 1.5vw, 1rem); }

.feature-line { border-left: 2px solid var(--accent-wood); padding-left: 25px; margin-bottom: 30px; }
.feature-line strong { display: block; color: #3D2B1F; margin-bottom: 5px; font-size: clamp(0.9rem, 1.625vw, 1.1rem); font-weight: 700; }
.feature-line p { font-size: clamp(0.7rem, 1.25vw, 0.8rem); color: var(--text-light-gray); margin: 0; }

.btn-about-more {
    padding: 15px 35px;
    background: linear-gradient(135deg, #513C2E 0%, #746456 100%);
    color: var(--white) !important;
    border-radius: 6px; font-weight: 700; display: inline-block; transition: 0.3s;
}
.btn-about-more:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(81,60,46,0.2); }

/* --- 5. PRODUCTS SECTION --- */
.products-section { min-height: calc(100vh - var(--navbar-height)); background-color: #F8F9FA; border-top: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB; display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
.products-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }


.section-title { font-size: clamp(1.5rem, 3.75vw, 2.2rem); font-weight: bold; color: var(--primary-dark); margin-bottom: 12px; }
.section-subtitle { font-size: clamp(0.8rem, 1.5vw, 0.95rem); color: var(--text-sub); line-height: 1.6; }

.view-all-link { font-size: clamp(0.75rem, 1.375vw, 0.85rem); font-weight: 700; color: var(--text-sub); display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.view-all-link:hover { color: var(--primary-dark); gap: 12px; }

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

.product-card {
    background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid #E5E7EB;
    transition: var(--transition); display: flex; flex-direction: column; height: 100%;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--accent-wood); }

.product-img-wrapper { margin: 15px; height: 200px; border-radius: 12px; overflow: hidden; }
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.product-content { padding: 0 25px 25px 25px; flex-grow: 1; display: flex; flex-direction: column; }
.p-name { font-size: clamp(1rem, 1.875vw, 1.2rem); font-weight: bold; color: var(--primary-dark); margin-bottom: 10px; }
.p-desc { font-size: clamp(0.75rem, 1.375vw, 0.85rem); color: var(--text-sub); line-height: 1.5; margin-bottom: 20px; min-height: 4.5em; }

.p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.p-tags span {
    font-size: 0.75rem; font-weight: bold; color: #4B5563;
    background: var(--bg-light); padding: 5px 12px; border-radius: 6px;
    transition: var(--transition);
}
.product-card:hover .p-tags span { background: var(--primary-dark); color: var(--white); }

/* --- 6. FEATURES SECTION --- */
.features-section { min-height: calc(100vh - var(--navbar-height)); background-color: var(--white); display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
.features-header { margin-bottom: 50px; }
.features-sub { font-size: clamp(0.7rem, 1.25vw, 0.8rem); font-weight: 700; color: var(--accent-wood); letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 10px; }
.features-title { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: bold; color: var(--primary-dark); }

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

.feature-card {
    background: var(--grad-feature); border-radius: 20px; padding: 45px 35px;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 320px; border: 1px solid #EAE6E2; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(81,60,46,0.08); border-color: var(--accent-wood); }

.feature-top p { font-size: clamp(0.8rem, 1.5vw, 0.95rem); line-height: 1.7; color: #4B5563; }

.feature-bottom { display: flex; align-items: center; gap: 15px; margin-top: 30px; padding-top: 25px; border-top: 1px solid rgba(81,60,46,0.1); }
.feature-icon { width: 44px; height: 44px; flex-shrink: 0; }
.feature-icon img { width: 100%; height: 100%; object-fit: contain; }

.feature-text h4 { font-size: clamp(0.9rem, 1.625vw, 1.1rem); font-weight: bold; color: var(--primary-dark); margin-bottom: 4px; }
.feature-text span { font-size: clamp(0.7rem, 1.25vw, 0.8rem); color: var(--text-light-gray); font-weight: bold; }

/* --- 7. COUNTER SECTION --- */
.counter-section {
    min-height: calc(50vh - var(--navbar-height)); display: flex; flex-direction: column; justify-content: center; padding: 60px 0; position: relative;
    background-color: #3d2b1f;
    background-image: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.45) 100%),
    url("../images/background_go.png");
    background-size: cover; background-position: center; color: var(--white);
}
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; width: 100%; }
.counter-item { display: flex; flex-direction: column; justify-content: center; border-left: 3px solid rgba(196,164,132,0.4); padding-left: 40px; }
.counter-content { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.counter-icon { width: 32px; height: 32px; }
.counter-icon img { width: 100%; height: 100%; object-fit: contain; }

.counter-number { font-size: clamp(1.8rem, 4.375vw, 2.6rem); font-weight: bold; margin: 0; line-height: 1; color: var(--white); }
.counter-label { font-size: clamp(0.65rem, 1.25vw, 0.8rem); font-weight: bold; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 5px; }

/* --- 8. CONTACT SECTION --- */
.contact-section { min-height: calc(100vh - var(--navbar-height)); background-color: var(--bg-light); display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
.contact-wrapper { display: flex; background-color: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(81,60,46,0.08); max-width: 1140px; margin: 0 auto; }

.contact-info-panel { flex: 0 0 45%; background: var(--grad-contact-bg); padding: 60px; display: flex; align-items: center; }

.contact-sub { font-size: clamp(0.65rem, 1.25vw, 0.75rem); font-weight: 700; color: var(--text-light-gray); letter-spacing: 1px; display: block; margin-bottom: 15px; }
.contact-title { font-size: clamp(1.3rem, 3.125vw, 1.8rem); font-weight: bold; color: var(--primary-dark); line-height: 1.3; margin-bottom: 20px; }
.contact-desc { font-size: clamp(0.8rem, 1.375vw, 0.9rem); color: var(--text-sub); line-height: 1.6; margin-bottom: 40px; }

.method-item { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 25px; }
.method-icon { width: 40px; height: 40px; background-color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-dark); font-size: 1rem; flex-shrink: 0; }
.method-text strong { font-size: 0.95rem; color: var(--primary-dark); margin-bottom: 4px; display: block; }
.method-text span, .method-text div { font-size: 0.85rem; color: var(--text-sub); }

.contact-form-panel { flex: 1; padding: 60px; }
.quote-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; display: block; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid #EAE6E2; border-radius: 8px;
    font-size: 0.9rem; background-color: #FDFDFD; font-family: inherit;
}

.btn-submit {
    margin-top: 10px; background: var(--grad-submit); color: var(--white);
    padding: 15px; border: none; border-radius: 8px; font-size: 1rem;
    font-weight: 700; cursor: pointer; transition: opacity 0.3s ease;
}
.btn-submit:hover { opacity: 0.9; }



/* --- 10. TOAST MESSAGE --- */
.toast-message {
    position: fixed; top: 20px; right: 20px; background: var(--primary-dark); color: var(--white);
    padding: 16px 25px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex; align-items: center; gap: 12px; z-index: 9999;
    transform: translateY(-150%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast-message.show { transform: translateY(0); }
.toast-content i { color: #BEA48E; font-size: 1.2rem; }
.toast-content span { font-size: 0.9rem; font-weight: bold; }


/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {

    .about-container, .contact-wrapper { flex-direction: column; display: flex; }
    .bento-wrapper { grid-template-rows: auto auto auto; }
    .box-large, .box-small { height: 180px; }
    .products-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    /*.footer-grid { grid-template-columns: 1fr 1fr; }*/
    .contact-info-panel { padding: 40px; }
}

@media (max-width: 600px) {
    /* Mobile Specific Optimization */
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-hero { width: 100%; text-align: center; padding: 12px 24px !important; }

    .products-grid, .features-grid, .counter-grid { grid-template-columns: 1fr; }
    .products-header { flex-direction: column; align-items: flex-start; gap: 15px; }

    .contact-form-panel { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; }

    .btn-about-more, .btn-submit {
        padding: 12px 20px !important;
        width: 100%;
        text-align: center;
    }
}

/* --- Gradient Shift (Hero Overlay - Homepage only) --- */
@keyframes heroGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(81, 60, 46, 0.08) 0%,
        rgba(177, 150, 127, 0.06) 25%,
        rgba(190, 164, 142, 0.07) 50%,
        rgba(156, 130, 109, 0.06) 75%,
        rgba(58, 43, 33, 0.08) 100%
    );
    background-size: 400% 400%;
    animation: heroGradientShift 10s ease infinite;
    pointer-events: none;
    z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
    .hero-wrapper::after { animation: none; }
}