/* Page-specific styles for About, Services, Recruit, Contact pages */

/* Page Layout */
.page-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    overflow: hidden;
}

#three-page-canvas,
#three-about-canvas,
#three-recruit-canvas,
#three-contact-canvas,
#three-services-detail-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #212529;
    max-width: 800px;
    padding: 0 20px;
}

.page-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 200;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.page-hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Services Detail Page */
.services-detail {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    position: relative;
    overflow: hidden;
}

.services-detail .container,
.about-content-section .container,
.careers-content-section .container,
.contact-content-section .container {
    position: relative;
    z-index: 2;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-detail-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.service-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 136, 255, 0.2));
    transition: opacity 0.3s ease;
}

.service-detail-card:hover .service-detail-image {
    transform: scale(1.05);
}

.service-detail-card:hover .service-image-overlay {
    opacity: 0.8;
}

.service-detail-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #212529;
}

.service-detail-card h2 {
    color: #212529;
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.service-detail-content p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-detail-content h3 {
    color: #495057;
    font-size: 1.3rem;
    margin: 30px 0 15px 0;
}

.service-detail-content ul {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail-content li {
    margin-bottom: 8px;
    padding-left: 10px;
    position: relative;
}

.service-detail-content li::before {
    content: '▸';
    color: #495057;
    position: absolute;
    left: -10px;
}

/* About, Recruit, Contact Page Styles */
.about-content-section,
.recruit-content-section,
.contact-content-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    position: relative;
    overflow: hidden;
}

.about-section,
.recruit-section {
    margin-bottom: 80px;
}

.about-section h2,
.recruit-section h2 {
    color: #212529;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.mission-text,
.recruit-intro {
    font-size: 1.4rem;
    color: #495057;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
    font-weight: 300;
}

.about-section p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 30px;
}

.value-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.value-item,
.benefit-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.benefit-item[data-bg="technology"]::before {
    background-image: url('../images/technology.jpg');
}

.benefit-item[data-bg="idea"]::before {
    background-image: url('../images/idea.jpg');
}

.benefit-item[data-bg="growth"]::before {
    background-image: url('../images/growth.jpg');
}

.benefit-item[data-bg="teamwork"]::before {
    background-image: url('../images/teamwork.jpg');
}

.benefit-item h3,
.benefit-item p {
    position: relative;
    z-index: 2;
}

.value-item h3,
.benefit-item h3 {
    color: #495057;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-item p,
.benefit-item p {
    color: #6c757d;
    line-height: 1.6;
}


.company-info-grid,
.environment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.info-item,
.environment-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.info-item h3,
.environment-item h3 {
    color: #495057;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.info-item p,
.environment-item p {
    color: #6c757d;
    line-height: 1.6;
}

.approach-timeline,
.process-timeline {
    margin-top: 40px;
}

.timeline-item,
.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.timeline-number,
.step-number {
    background: linear-gradient(45deg, #00ffff, #0088ff);
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 25px;
    flex-shrink: 0;
}

.timeline-content,
.step-content {
    flex: 1;
}

.timeline-content h3,
.step-content h3 {
    color: #212529;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-content p,
.step-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* Map Section Styles */
.map-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid #e9ecef;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* Recruit Page Styles */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.position-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.position-card h3 {
    color: #495057;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.position-details p {
    color: #212529;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.position-details ul {
    color: #6c757d;
    margin-bottom: 20px;
    padding-left: 20px;
}

.position-details li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-section h2,
.contact-form-section h2 {
    color: #212529;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.contact-info {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.contact-info .info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.contact-info .info-item[data-bg="companyname"]::before {
    background-image: url('../images/companyname.jpg');
}

.contact-info .info-item[data-bg="location"]::before {
    background-image: url('../images/location.jpg');
}

.contact-info .info-item[data-bg="telephonenumber"]::before {
    background-image: url('../images/telephonenumber.jpg');
}

.contact-info .info-item[data-bg="mailaddress"]::before {
    background-image: url('../images/mailaddress.png');
}

.contact-info .info-item[data-bg="businesshours"]::before {
    background-image: url('../images/businesshours.png');
}

.contact-info .info-item .info-content {
    position: relative;
    z-index: 2;
}


.info-content h3 {
    color: #495057;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-content p {
    color: #6c757d;
    line-height: 1.6;
}

.info-content a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #212529;
}

.form-description {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-form {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    color: #212529;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    color: #212529;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #495057;
    box-shadow: 0 0 10px rgba(73, 80, 87, 0.3);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #6c757d;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.submit-button {
    background: linear-gradient(45deg, #00ffff, #0088ff);
    color: #000000;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

.contact-cta {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    text-align: center;
}

.contact-cta p {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method-btn {
    display: inline-block;
    padding: 18px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-method-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.contact-method-btn[data-bg="telephonenumber"]::before {
    background-image: url('../images/telephonenumber.jpg');
}

.contact-method-btn[data-bg="mailaddress"]::before {
    background-image: url('../images/mailaddress.png');
}

.contact-method-btn {
    position: relative;
    z-index: 2;
}

.phone-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: #ffffff;
}

.email-btn {
    background: linear-gradient(45deg, #00ffff, #0088ff);
    color: #000000;
}

.contact-method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    text-align: center;
}

.cta-section h2 {
    color: #212529;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.cta-section p {
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .page-hero-content h1 {
        font-size: 2.5rem;
    }

    .value-grid,
    .benefits-grid,
    .positions-grid,
    .environment-grid,
    .company-info-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
        justify-items: center;
    }
    
    .contact-info-section,
    .contact-form-section {
        width: 100%;
        max-width: 500px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .timeline-item,
    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .service-detail-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

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