/* ==========================================
   ASMECOM - Interior Pages Styles
   ========================================== */

/* Page Header */
.page-header {
    position: relative;
    padding: 10rem 0 6rem;
    background: var(--dark-color);
    color: var(--white);
    overflow: hidden;
    margin-top: 80px;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.9;
}

.page-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-main {
    padding-right: 2rem;
}

.content-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.content-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.content-text:last-child {
    margin-bottom: 0;
}

/* Info Boxes */
.info-box {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

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

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.info-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-medium);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.value-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.value-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: var(--white);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.value-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.team-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-image-placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.team-content {
    padding: 2rem;
}

.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-medium);
}

/* Service Details */
.service-detail {
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    color: var(--white);
}

.service-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.service-detail-content {
    max-width: 800px;
}

.service-detail-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

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

.service-feature {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.service-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.service-feature-text {
    font-size: 1rem;
    color: var(--gray-medium);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

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

.project-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    z-index: 2;
}

.project-status.status-completed {
    background: var(--primary-color);
    color: var(--white);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-medium);
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Blog/News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.news-link:hover {
    gap: 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.form-submit {
    width: 100%;
}

/* Contact Info */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-info-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 20px;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: var(--white);
}

.contact-info-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.contact-info-text {
    font-size: 1rem;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--gray-light);
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-medium);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-title {
        font-size: 3rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-main {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 8rem 0 4rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.125rem;
    }

    .content-title {
        font-size: 2rem;
    }

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

    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }

    .service-detail-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .tabs {
        flex-direction: column;
        gap: 0;
    }

    .tab-button {
        text-align: left;
        border-bottom: 1px solid var(--gray-light);
        border-left: 3px solid transparent;
    }

    .tab-button.active {
        border-bottom-color: var(--gray-light);
        border-left-color: var(--primary-color);
    }
}
