/* ===================================
   Additional Page Styles
   =================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 20px 80px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Company Story */
.company-story {
    padding: 80px 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    margin-bottom: 1.5rem;
}

.story-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

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

/* Our Values */
.our-values {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-card p {
    line-height: 1.7;
}

/* Why Different */
.why-different {
    padding: 80px 0;
}

.why-different h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.differences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.difference-item {
    padding: 2rem;
    border-left: 4px solid var(--secondary-color);
    background-color: var(--light-bg);
    border-radius: 4px;
    transition: var(--transition);
}

.difference-item:hover {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.difference-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.difference-item p {
    line-height: 1.7;
}

/* Team Section */
.our-team {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.member-image {
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.team-member h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.member-bio {
    padding: 0 1.5rem 2rem;
    line-height: 1.6;
}

/* Certifications */
.certifications {
    padding: 80px 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cert-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-top: 4px solid var(--secondary-color);
}

.cert-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cert-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Service Detail Pages */
.service-detail {
    padding: 80px 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.service-detail-text h2 {
    margin-bottom: 1.5rem;
}

.service-detail-text h3 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.service-detail-text ul {
    list-style: none;
    padding: 0;
}

.service-detail-text ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-detail-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.service-detail-sidebar {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 8px;
    height: fit-content;
}

.sidebar-box {
    margin-bottom: 2rem;
}

.sidebar-box:last-child {
    margin-bottom: 0;
}

.sidebar-box h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.sidebar-box ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* Product Pages */
.products-showcase {
    padding: 80px 0;
}

.product-category {
    margin-bottom: 5rem;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-header {
    margin-bottom: 2.5rem;
}

.category-header h2 {
    margin-bottom: 1rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-detail-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-detail-image {
    height: 280px;
    overflow: hidden;
}

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

.product-detail-body {
    padding: 2rem;
}

.product-detail-body h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.product-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 0.5rem;
}

/* Gallery Page */
.gallery-section {
    padding: 80px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-image {
    height: 300px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.9), transparent);
    color: var(--white);
    padding: 2rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-section h2 {
    margin-bottom: 1.5rem;
}

.contact-info-section p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.contact-detail-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    min-width: 24px;
}

.contact-detail-text h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-detail-text p {
    margin: 0;
    color: var(--text-light);
}

.contact-form-section {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form-section h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
}

/* Responsive Design for Additional Pages */
@media (max-width: 968px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .story-content,
    .service-detail-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .differences-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 100px 20px 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .gallery-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}