/* ============================================
   LEGERO LIGHTING - Main Stylesheet
   ============================================ */

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #1a1a1a;
    --color-white: #ffffff;
    --color-bg: #f5f5f0;
    --color-bg-light: #fafaf8;
    --color-gray: #888888;
    --color-gray-light: #e5e5e0;
    --color-gray-dark: #333333;
    --color-tan: #c5b99a;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-width: 1200px;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-light);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: 2400px;
    width: calc(100% - 40px);
    margin: auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--color-black);
}

.logo-icon {
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
}

.site-logo img,
.site-logo .custom-logo {
    height: 40px;
    width: auto;
    max-width: none;
}

.site-logo .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.main-nav .nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav .nav-menu li a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-gray-dark);
    transition: color 0.2s;
    padding: 8px 0;
}

.main-nav .nav-menu li a:hover,
.main-nav .nav-menu li.current-menu-item a {
    color: var(--color-black);
}

.legero-main{
	margin-top: 15px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-black);
    transition: transform 0.3s;
}

/* === Page Header === */
.page-header {
    background: #1a1a1a;
    padding: 18px 0;
    margin-bottom: 0;
}

.page-header .page-title {
    color: #ffffff;
}

.page-header-dark {
    background: #1a1a1a;
    color: #ffffff;
}

.page-header-image {
    background: #1a1a1a;
    color: #ffffff;
    padding: 80px 0;
    position: relative;
}

.page-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

/* === Hero Section === */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #333 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--color-white);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.hero-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    max-width: 500px;
}

/* === Category Boxes === */
.category-boxes {
    padding: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.cat-box {
    position: relative;
    padding: 60px 40px;
    display: flex;
    align-items: flex-end;
    min-height: 250px;
    transition: opacity 0.3s;
}

.cat-box:hover {
    opacity: 0.9;
}

.cat-box-dark {
    background: #2a2a2a;
    color: var(--color-white);
}

.cat-box-light {
    background: #d4cfc4;
    color: var(--color-black);
}

.cat-box h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.4;
}

/* === Stats Section === */
.stats-section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--color-gray);
}

.section-heading {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-black);
    display: inline-block;
}

/* === Featured Project === */
.featured-project {
    padding: 0 0 60px;
}

.featured-project-inner {
    position: relative;
}

.featured-project-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-project-info,
.featured-project-placeholder {
    padding: 24px 0;
}

.featured-project-info h3,
.featured-project-placeholder h3 {
    font-size: 20px;
    font-weight: 600;
}

.project-location {
    font-size: 13px;
    color: var(--color-gray);
}

/* === Product Categories (Home) === */
.product-categories-section {
    padding: 40px 0 80px;
    background: var(--color-bg-light);
}

.product-cat-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 24px;
    text-align: center;
}

.product-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 8px;
    transition: transform 0.2s;
}

.product-cat-item:hover {
    transform: translateY(-4px);
}

.product-cat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-gray-light);
}

.product-cat-placeholder-icon {
    width: 100%;
    height: 100%;
    background: var(--color-gray-light);
}

.product-cat-item span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* === Products Page === */
.products-layout {
    padding-bottom: 60px;
}

.product-cat-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.product-cat-card {
    display: block;
    text-align: center;
    transition: transform 0.2s;
}

.product-cat-card:hover {
    transform: translateY(-4px);
}

.product-cat-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--color-bg);
    border-radius: 4px;
}

.product-cat-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-cat-card h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Application Grid */
.application-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.application-card {
    display: block;
    text-align: center;
    transition: transform 0.2s;
}

.application-card:hover {
    transform: translateY(-4px);
}

.application-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--color-bg);
    border-radius: 4px;
}

.application-card h4 {
    font-size: 13px;
    font-weight: 500;
}

/* Smart, Acoustic, Well, Customizable Sections */
.smart-application,
.acoustic-lighting,
.well-lighting,
.customizable-solutions {
    padding: 40px 0;
    border-top: 1px solid var(--color-gray-light);
}

.smart-application p,
.acoustic-lighting p,
.well-lighting p,
.customizable-solutions p {
    max-width: 800px;
    color: var(--color-gray-dark);
    line-height: 1.7;
}

/* === Product Category Archive === */
.category-banner {
    margin-bottom: 40px;
}

.category-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.category-banner-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--color-bg);
    border-radius: 4px;
}

.category-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-banner-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.category-banner-info p {
    font-size: 14px;
    color: var(--color-gray-dark);
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Products with Sidebar */
.products-with-sidebar {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.products-full-grid {
    padding-bottom: 60px;
}

.products-full-grid .products-grid {
    grid-template-columns: repeat(4, 1fr);
}

.products-sidebar .sidebar-widget {
    margin-bottom: 24px;
}

.products-sidebar .sidebar-widget h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-gray-light);
}

.products-sidebar .sidebar-widget ul li {
    margin-bottom: 6px;
}

.products-sidebar .sidebar-widget ul li a {
    font-size: 13px;
    color: var(--color-gray);
    transition: color 0.2s;
}

.products-sidebar .sidebar-widget ul li a:hover,
.products-sidebar .sidebar-widget ul li.active a {
    color: var(--color-black);
    font-weight: 500;
}

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

/* === Product Card === */
.product-card {
    display: block;
    text-align: center;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card-title {
    font-size: 14px;
    font-weight: 500;
}

/* === Single Product === */
.product-detail {
    padding-bottom: 40px;
}

.product-detail {
    padding: 30px 0 20px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-main-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-img-wrap img,
#product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.product-thumbnails .thumb {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.product-thumbnails .thumb.active {
    border-color: #1a1a1a;
}

.product-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a1a1a;
}

.product-description {
    font-size: 18px;
    color: #444;
    line-height: 2;
    margin-bottom: 28px;
    text-align: justify;
}

.product-features h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.features-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.feature-item {
    text-align: center;
    flex: 0 0 100px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    background: var(--color-bg);
    border-radius: 4px;
}

.feature-item p {
    font-size: 11px;
    color: var(--color-gray);
    line-height: 1.3;
}

.customizable-note {
    font-size: 12px;
    color: var(--color-gray);
    margin-top: 16px;
    font-style: italic;
}

/* Product Data Sheet */
.product-data-sheet {
    padding: 30px 0 50px;
}

.product-data-sheet h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.data-sheet-table > table {
    width: 100%;
}

.specs-col {
    width: 50%;
    vertical-align: top;
    padding-right: 40px;
}

.specs-col:last-child {
    padding-right: 0;
    padding-left: 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border: none;
}

.specs-table th,
.specs-table td {
    padding: 9px 0;
    font-size: 14px;
    border: none;
    text-align: left;
    vertical-align: top;
}

.specs-table th {
    font-weight: 700;
    color: #1a1a1a;
    width: 45%;
}

.specs-table td {
    color: #444;
    font-weight: 400;
}

.spec-color-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 2px 0;
}

.spec-color-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

/* Related Products */
.related-products {
    padding: 40px 0 60px;
}

.related-products h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* === Projects Page === */

.projects-hero {
    width: 100%;
    height: 50vh;
    min-height: 350px;
    background: url('') center/cover no-repeat;
    background-color: #2a2a2a;
    display: flex;
    align-items: flex-end;
    padding: 40px 60px;
    position: relative;
}

.projects-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.projects-hero h1 {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    position: relative;
    z-index: 1;
}

.project-filters {
    padding: 40px 0 30px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    background: #3a3a3a;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover,
.filter-tab.active {
    background: #1a1a1a;
    color: #fff;
}

.projects-grid-section {
    padding-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.project-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-3px);
}

.project-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 10px;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-image .placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e3, #d0d0c8);
}

.project-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 2px;
}

.project-card-location {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* === Single Project === */
.project-detail {
    padding: 30px 0 20px;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.project-detail-image img {
    width: 100%;
}

.project-detail-image .placeholder-image.large {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #e8e8e3, #d0d0c8);
}

.project-products-used {
    padding: 30px 0;
}

.project-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-testimonial {
    padding: 40px 0;
}

.testimonial-box {
    background: #f5f5f0;
    padding: 40px;
}

.testimonial-box blockquote {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    margin: 0 0 16px;
}

.testimonial-box cite {
    display: block;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    font-style: normal;
}

.project-gallery {
    padding: 20px 0 40px;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.project-gallery-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-detail-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.project-products {
    padding: 40px 0;
}

.project-testimonial {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--color-gray-light);
}

.testimonial-content blockquote {
    font-size: 16px;
    font-style: italic;
    color: var(--color-gray-dark);
    max-width: 700px;
    margin: 0 auto 16px;
    line-height: 1.7;
}

.testimonial-content cite {
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
}

/* === Application Page === */
.application-types-section {
    padding-bottom: 40px;
}

.application-type-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.application-type-block:nth-child(even) {
    direction: rtl;
}

.application-type-block:nth-child(even) > * {
    direction: ltr;
}

.app-type-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg);
    border-radius: 4px;
}

.app-type-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.app-type-info p {
    font-size: 14px;
    color: var(--color-gray-dark);
    line-height: 1.7;
    margin-bottom: 16px;
}

.app-smart-section,
.app-acoustic-section {
    padding: 40px 0;
}

.app-smart-section p,
.app-acoustic-section p {
    max-width: 800px;
    color: var(--color-gray-dark);
    line-height: 1.7;
}

/* === About Page === */
.about-intro {
    text-align: center;
    padding: 60px 0;
}

.about-intro h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.about-journey {
    padding: 60px 0;
    background: var(--color-bg);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.about-journey h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 32px;
    text-align: center;
}

.journey-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.journey-stat h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.journey-stat p {
    font-size: 13px;
    color: var(--color-gray);
}

.about-founder {
    padding: 60px 0;
}

.about-founder h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.founder-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: start;
}

.founder-image {
    width: 200px;
    height: 250px;
    background: var(--color-bg);
    border-radius: 4px;
    overflow: hidden;
}

.founder-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.founder-text p {
    font-size: 13px;
    color: var(--color-gray);
    margin-bottom: 16px;
}

.founder-text blockquote {
    font-size: 14px;
    font-style: italic;
    color: var(--color-gray-dark);
    line-height: 1.7;
    border-left: 3px solid var(--color-tan);
    padding-left: 16px;
}

.about-team {
    padding: 40px 0;
}

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

.team-member {
    text-align: center;
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: var(--color-bg);
}

.team-member h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-member p {
    font-size: 12px;
    color: var(--color-gray);
}

.about-light-journey {
    padding: 60px 0;
}

.about-light-journey h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    text-align: center;
}

.service-item {
    padding: 24px 16px;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    background: var(--color-bg);
    border-radius: 8px;
}

.service-item h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-suppliers {
    padding: 40px 0 60px;
}

.about-suppliers h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.supplier-logos {
    display: flex;
    gap: 32px;
    align-items: center;
}

.supplier-logo {
    width: 120px;
    height: 60px;
    background: var(--color-bg);
    border-radius: 4px;
}

/* === Contact Page === */
.contact-intro {
    text-align: center;
    padding: 40px 0;
}

.contact-intro h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.contact-intro p {
    font-size: 14px;
    color: var(--color-gray-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px 0;
}

.contact-info p {
    font-size: 14px;
    color: var(--color-gray-dark);
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-detail h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-detail p {
    font-size: 13px;
    color: var(--color-gray);
    margin-bottom: 0;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-light);
    font-family: var(--font-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    border-radius: 0;
    background: var(--color-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-black);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 40px;
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--color-gray-dark);
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.form-message {
    margin-top: 12px;
    font-size: 14px;
}

.form-message.success {
    color: #2d7d2d;
}

.form-message.error {
    color: #d32f2f;
}

.contact-map {
    margin: 40px 0 60px;
}

.contact-map iframe {
    border-radius: 4px;
}

/* === Gallery Page === */
.gallery-section {
    padding-bottom: 60px;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:nth-child(3n+1) {
    grid-row: span 2;
}

.gallery-pagination {
    text-align: right;
    padding: 24px 0;
}

.gallery-pagination a,
.gallery-pagination span {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
}

.no-gallery {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: var(--color-gray);
}

/* === Footer === */
.site-footer {
    background: var(--color-bg);
    padding: 60px 0 0;
    margin-top: 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 20px;
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 18px;
    color: var(--color-gray-dark);
    line-height: 1.7;
}

.footer-col ul li a {
    font-size: 18px;
    color: var(--color-gray-dark);
    transition: color 0.2s;
}


.footer-col ul li a:hover {
    color: var(--color-black);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-links a {
    color: var(--color-gray-dark);
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--color-black);
}

.footer-bottom {
    padding: 24px 0;
}

.footer-logo img{
	max-width: 150px;
    width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo .logo-icon {
    font-size: 20px;
}

.footer-logo .logo-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
}

.social-links a{
	width: 30px;
}

/* === Placeholder Images === */
.placeholder-image {
    width: 100%;
    height: 100%;
    min-height: 80px;
    background: linear-gradient(135deg, #e8e8e3 0%, #d5d5cf 100%);
}

.placeholder-image.large {
    min-height: 300px;
}

/* === Pagination === */
.projects-pagination,
.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 24px 0;
}

.projects-pagination a,
.projects-pagination span,
.page-numbers {
    display: inline-block;
    padding: 8px 14px;
    font-size: 13px;
    border: 1px solid var(--color-gray-light);
    transition: all 0.2s;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .product-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-gray-light);
        padding: 24px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .nav-menu {
        flex-direction: column;
        gap: 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .cat-box {
        min-height: 180px;
    }

    .product-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-cat-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }

    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-banner-inner {
        grid-template-columns: 1fr;
    }

    .products-with-sidebar {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .application-type-block {
        grid-template-columns: 1fr;
    }

    .application-type-block:nth-child(even) {
        direction: ltr;
    }

    .journey-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .founder-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(3n+1) {
        grid-row: span 1;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-col {
        display: block;
        width: 100%;
        padding: 0;
    }

    .data-sheet-table > table,
    .data-sheet-table > table > tbody,
    .data-sheet-table > table > tbody > tr,
    .data-sheet-table > table > tbody > tr > td {
        display: block;
        width: 100%;
    }

    .specs-col:last-child {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 18px;
    }

    .product-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-tab {
        padding: 6px 14px;
        font-size: 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .about-intro h2 {
        font-size: 28px;
    }
}

/* === WhatsApp Order Button === */
.product-whatsapp-order {
    margin: 30px 0;
}

.legero-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.legero-whatsapp-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.legero-whatsapp-btn svg {
    flex-shrink: 0;
}

/* === Elementor Page Compatibility === */
.legero-elementor-page {
    padding-top: 0;
}

.legero-elementor-page .elementor-section.elementor-section-stretched {
    max-width: 100%;
}

.product-elementor-content {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-gray-light);
}

/* === Footer Copyright === */
.footer-copyright {
    margin-top: 10px;
    font-size: 13px;
    color: var(--color-gray);
}


/* ============================================
   ANIMATIONS & SCROLL EFFECTS
   ============================================ */

/* --- Scroll-triggered reveal animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children delays */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.24s; }
.stagger > *:nth-child(4) { transition-delay: 0.36s; }
.stagger > *:nth-child(5) { transition-delay: 0.48s; }
.stagger > *:nth-child(6) { transition-delay: 0.6s; }
.stagger > *:nth-child(7) { transition-delay: 0.72s; }

/* --- Hero entrance animation --- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-animate > *:nth-child(1) {
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}
.hero-animate > *:nth-child(2) {
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}
.hero-animate > *:nth-child(3) {
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}

/* --- Enhanced nav hover --- */
.main-nav .nav-menu li a {
    position: relative;
}
.main-nav .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-black);
    transition: width 0.3s ease;
}
.main-nav .nav-menu li a:hover::after,
.main-nav .nav-menu li.current-menu-item a::after {
    width: 100%;
}

/* --- Feature card BG zoom on hover --- */
[data-id="0c73b90"],
[data-id="a2e24bb"],
[data-id="ccdda6a"],
[data-id="636c747"] {
    background-size: 110% !important;
    transition: background-size 0.6s ease, box-shadow 0.3s ease;
}
[data-id="0c73b90"]:hover,
[data-id="a2e24bb"]:hover,
[data-id="ccdda6a"]:hover,
[data-id="636c747"]:hover {
    background-size: 120% !important;
    box-shadow: inset 0 0 80px rgba(0,0,0,0.2);
}

/* --- Product card enhanced hover --- */
.product-card-anim {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card-anim:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.product-card-anim img {
    transition: transform 0.5s ease;
}
.product-card-anim:hover img {
    transform: scale(1.06);
}

/* --- Button hover effects --- */
.elementor-button {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}
.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* --- Stats banner text animation --- */
@keyframes statsFade {
    from { opacity: 0; letter-spacing: 4px; }
    to   { opacity: 1; letter-spacing: normal; }
}
.stats-animate.visible h2 {
    animation: statsFade 1s ease both;
}

/* --- Smooth image loading --- */
.elementor-image img {
    transition: opacity 0.4s ease;
}

/* --- Reduce motion for accessibility --- */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-animate > * {
        animation: none !important;
        opacity: 1 !important;
    }
    .stagger > * {
        transition-delay: 0s !important;
    }
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */

.cat-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px 0 50px;
    align-items: center;

}

.cat-hero-image {
    max-height: 380px;
    overflow: hidden;
    display: flex;
}

.cat-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cat-hero-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #e8e8e3, #d0d0c8);
}

.cat-hero-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    color: #1a1a1a;
}

.cat-hero-info p {
    font-size: 16px;
    line-height: 2;
    color: #444;
    text-align: justify;
    margin-bottom: 16px;
}

.cat-products-section {
    padding: 0 0 60px;
}

.cat-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 80%;
    margin: auto;
}

.cat-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.cat-card-img {
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #e8e7e3;
    max-width: 300px;
}

.cat-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.cat-card-placeholder {
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, #dddcd8, #c8c7c3);
    border-radius: 4px;
}

.cat-card-bottom {
    background: #fff;
    padding: 5px 50px 5px 16px;
    position: absolute;
    bottom: 15px;
}

.cat-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}


/* ============================================================
   BREADCRUMB
   ============================================================ */

.legero-product-breadcrumb {
    padding: 16px 0 5px;
    font-size: 16px;
    color: #888;
    font-family: 'ABCFavoritExtended', sans-serif;
}

.legero-product-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.legero-product-breadcrumb a:hover {
    color: #1a1a1a;
}

.legero-product-breadcrumb span {
    color: #1a1a1a;
    font-weight: 500;
}

/* ============================================================
   PRODUCT VARIANTS GRID
   ============================================================ */

.legero-variants {
    padding: 30px 0 60px;
}

.legero-variants h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.variant-grid {
	display: flex;
    justify-content: flex-start;
    gap: 25px;
}

/* ============================================================
   APPLICATION IMAGES SECTION
   ============================================================ */

.product-application {
    padding: 30px 0 60px;
}

.product-application h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.application-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* ============================================================
   RESPONSIVE - Category + Variants
   ============================================================ */

@media (max-width: 768px) {
    .cat-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 0 30px;
    }
    .cat-products {
        grid-template-columns: repeat(2, 1fr);
    }
    .variant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .application-grid {
        grid-template-columns: 1fr;
    }
    .cat-products {
        grid-template-columns: 1fr;
    }
    .variant-grid {
        grid-template-columns: 1fr;
    }
}


.footer-col ul li {
line-height: 1;
    margin-bottom: 5px;
}