/* ==========================================================================
   Pages Specific Styles (Subpages)
   ========================================================================== */

/* Subpage Hero */
.subpage-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--col-primary-bg) 0%, #f0f4f8 100%);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.subpage-hero .page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--col-primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.subpage-hero .page-subtitle {
    font-size: 1.25rem;
    color: var(--col-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Page Specifics */
.about-page-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Products Page Specifics */
.products-page-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

.products-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-catalog-card {
    display: flex;
    flex-direction: column;
    background: var(--col-white, #ffffff);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.product-catalog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-catalog-card:hover .product-catalog-image img {
    transform: scale(1.05);
}

/* Leadership Profile Section */
.leadership-profile-section {
    padding: 100px 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}

.leader-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.leader-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-content {
    padding-top: 20px;
}

.leader-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--col-primary-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.leader-title {
    font-size: 1.25rem;
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 2rem;
}

.leader-bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--col-text);
    margin-bottom: 1.5rem;
}

/* Vision & Philosophy Section */
.leadership-vision-section {
    padding: 100px 0;
    background-color: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.vision-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--col-text);
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vision-card {
    background: var(--col-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.vision-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.vision-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--col-primary-dark);
    margin-bottom: 15px;
}

.vision-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--col-text-light);
    margin: 0;
}

/* Product Details Layout */
.product-details-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding: 80px 0;
    align-items: flex-start;
}

.product-sidebar {
    position: sticky;
    top: 120px;
    background: var(--col-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--col-primary-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.category-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-nav-item {
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--col-text);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1rem;
}

.category-nav-item:hover,
.category-nav-item.active {
    background: #f0f4f8;
    color: var(--col-brand-red);
}

/* Product Showcase Area */
.product-showcase {
    background: var(--col-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.product-showcase-header {
    height: 350px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.product-showcase-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-showcase-content {
    padding: 0 40px 40px;
}

.product-showcase-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--col-primary-dark);
    margin-bottom: 20px;
}

.product-showcase-desc p {
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.features-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--col-text);
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--col-brand-red);
    font-weight: 900;
}

.spec-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}

.spec-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--col-text-light);
    font-weight: 600;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--col-primary-dark);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(88, 195, 45, 0.2);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 195, 45, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Responsive Rules inside Pages */
@media (max-width: 992px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }

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

    .product-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 40px;
    }

    .product-showcase-header {
        height: 250px;
    }

    .product-showcase-title {
        font-size: 2rem;
    }
}