/* 
 * Clear Enterprise Website - Inner Pages Stylesheet
 * Styles for Project Management, Development, and Portfolio pages
 */

/* ====================
   Page Hero Section
   ==================== */
.page-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, var(--trust-blue), var(--soft-azure));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px; /* Account for fixed header */
    color: var(--pure-white);
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-xl);
}

.page-hero h1 {
    font-size: var(--font-3xl);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-hero p {
    font-size: var(--font-lg);
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Hexagon Background */
.hexagon-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-hexagon {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

.bg-hexagon:nth-child(1) {
    top: -50px;
    left: 10%;
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.bg-hexagon:nth-child(2) {
    bottom: -70px;
    right: 15%;
    width: 300px;
    height: 300px;
    animation-delay: -3s;
}

.bg-hexagon:nth-child(3) {
    top: 20%;
    right: -50px;
    width: 180px;
    height: 180px;
    animation-delay: -5s;
}

.bg-hexagon:nth-child(4) {
    bottom: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    animation-delay: -7s;
}

/* ====================
   Section Intro
   ==================== */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    font-size: var(--font-lg);
    color: var(--deep-charcoal);
}

/* ====================
   Methodology Section
   ==================== */
.methodology-section {
    padding: var(--space-3xl) 0;
    background-color: var(--pure-white);
}

.methodology-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.methodology-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--trust-blue);
    margin: var(--space-sm) auto 0;
}

.methodology-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.step-hexagon {
    position: relative;
    width: 100%;
    max-width: 500px;
    min-height: 300px;
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--trust-blue);
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-xl);
    font-weight: bold;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.step-content {
    background-color: var(--off-white);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    position: relative;
    z-index: 1;
    border-top: 3px solid var(--trust-blue);
}

.step-content h3 {
    color: var(--trust-blue);
    margin-bottom: var(--space-md);
    text-align: center;
}

.step-content ul {
    list-style-type: disc;
    padding-left: var(--space-lg);
}

.step-content ul li {
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

/* Hexagon step styling */
.step-content::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 30px solid var(--off-white);
    z-index: -1;
}

/* Connecting lines between steps */
.methodology-steps::before {
    content: '';
    position: absolute;
    height: 80%;
    width: 2px;
    background: linear-gradient(to bottom, var(--trust-blue), transparent);
    left: 50%;
    transform: translateX(-50%);
    top: 10%;
    opacity: 0.3;
    z-index: 0;
}

/* ====================
   Benefits Section
   ==================== */
.benefits-section {
    padding: var(--space-3xl) 0;
    background-color: var(--off-white);
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.benefit-card {
    background-color: var(--pure-white);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--trust-blue), var(--soft-azure));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--pure-white);
    font-size: var(--font-xl);
}

.benefit-card h3 {
    color: var(--trust-blue);
    margin-bottom: var(--space-md);
}

/* ====================
   Expertise Section
   ==================== */
.expertise-section {
    padding: var(--space-3xl) 0;
    background-color: var(--pure-white);
}

.expertise-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2xl);
}

.expertise-text {
    flex: 1;
    min-width: 300px;
}

.expertise-text h2 {
    margin-bottom: var(--space-lg);
}

.expertise-list {
    margin-top: var(--space-lg);
    list-style-type: none;
}

.expertise-list li {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: flex-start;
}

.expertise-list i {
    color: var(--trust-blue);
    margin-right: var(--space-sm);
    margin-top: 5px;
}

.expertise-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

/* Professional team member image container */
.hex-image-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    background: var(--pure-white);
    padding: 8px;
}

.hex-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    filter: brightness(1.05) contrast(1.05);
}

.hex-image-container::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: linear-gradient(135deg, 
        rgba(63, 136, 197, 0.1) 0%, 
        rgba(103, 176, 239, 0.05) 50%,
        transparent 100%);
    border-radius: 12px;
    z-index: 1;
    pointer-events: none;
}

.hex-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hex-image-container:hover .hex-image {
    transform: scale(1.02);
}

/* ====================
   CTA Section
   ==================== */
.cta-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--trust-blue), var(--soft-azure));
    color: var(--pure-white);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: var(--space-md);
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    font-size: var(--font-lg);
}

.cta-section .cta-button {
    display: inline-block;
    background-color: var(--digital-coral);
    color: var(--pure-white);
    padding: var(--space-md) var(--space-xl);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--digital-coral);
}

.cta-section .cta-button:hover {
    background-color: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
}

/* ====================
   Development Page Specific
   ==================== */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.service-card {
    background-color: var(--pure-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

.service-content {
    padding: var(--space-lg);
}

.service-content h3 {
    color: var(--trust-blue);
    margin-bottom: var(--space-md);
}

/* Service Icons */
.service-icon {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--trust-blue), var(--soft-azure));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: var(--font-lg);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ====================
   Portfolio Page Specific
   ==================== */
.project-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.project-card {
    background-color: var(--pure-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

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

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

.project-content {
    padding: var(--space-lg);
}

.project-content h3 {
    color: var(--trust-blue);
    margin-bottom: var(--space-md);
}

.project-stats {
    margin-top: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.project-stat {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: var(--space-sm);
    background-color: var(--off-white);
    border-radius: 4px;
}

.stat-value {
    font-size: var(--font-xl);
    font-weight: bold;
    color: var(--trust-blue);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--font-sm);
    color: var(--deep-charcoal);
}

.project-link {
    display: inline-block;
    margin-top: var(--space-md);
    color: var(--trust-blue);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--trust-blue);
    transition: width 0.3s ease;
}

.project-link:hover::after {
    width: 100%;
}

/* Project tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.project-tag {
    background-color: rgba(63, 136, 197, 0.1);
    color: var(--trust-blue);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    font-size: var(--font-sm);
}

/* ====================
   Responsive Styles
   ==================== */
@media (max-width: 992px) {
    .page-hero h1 {
        font-size: var(--font-2xl);
    }
    
    .expertise-content {
        flex-direction: column;
    }
    
    .hex-image-container {
        width: 250px;
        height: 250px;
    }
    
    .methodology-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
    }
    
    .page-hero h1 {
        font-size: var(--font-xl);
    }
    
    .page-hero p {
        font-size: var(--font-md);
    }
    
    .step-hexagon {
        max-width: 100%;
    }
    
    .project-showcase {
        grid-template-columns: 1fr;
    }
}