/* Technology Page Specific Styles */

.tech-container {
    padding-top: 120px;
    padding-bottom: 50px;
    width: 100%;
    max-width: var(--max-width, 1400px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Hero Section */
.tech-hero {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 1s ease-out;
}

.big-title {
    font-family: 'ITC Avant Garde Gothic', sans-serif;
    font-size: 3rem;
    /* Adjusted from 5rem to fit frame and match Team page */
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-main);
    font-size: 1.2rem;
    color: var(--color-text-dim);
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
}

/* General Section Styles */
.tech-section {
    padding: 0 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--accent-color, #FF8C00);
    /* Fallback to accent if var not defined in style.css */
    text-transform: uppercase;
}

/* Glass Panels */
.glass-panel {
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    overflow: hidden;
}

/* Intro Split Section */
.horizontal-panel {
    display: flex;
    align-items: center;
    /* Center vertically */
    padding: 60px;
    gap: 50px;
}

.content-left h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #fff;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.content-right p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* How It Works Section */
.large-panel {
    display: flex;
    flex-direction: row;
    min-height: 500px;
}

.text-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-content h3 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
    font-style: italic;
    /* Matches "YENİLİKÇİ..." look roughly or specific instruction */
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.image-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

.large-panel:hover .feature-img {
    transform: scale(1.05);
}

.overlay-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tech-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    background: rgba(50, 50, 50, 0.5);
}

.card-img-container {
    height: 200px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.tech-card:hover .placeholder-img {
    transform: scale(1.1);
}

.tech-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.tech-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }

    .horizontal-panel,
    .large-panel {
        flex-direction: column;
    }

    .big-title {
        font-size: 3rem;
    }

    .content-left h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .tech-hero {
        padding: 40px 10px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* New Text Content Styles */
.text-content-panel {
    padding: 50px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
}

.panel-header {
    flex: 0 0 30%;
    min-width: 250px;
}

.panel-header h3 {
    font-family: 'Outfit', sans-serif;
    /* Explicitly ensure font match */
    font-size: 2rem;
    font-weight: 400;
    /* Lighter weight for luxury feel */
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent-color, #FF8C00);
    padding-bottom: 20px;
    line-height: 1.3;
    letter-spacing: 1px;
}

.panel-body {
    flex: 1;
}

.text-content-panel p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-top: 0;
}

.tech-list {
    list-style: none;
    padding-left: 0;
    margin-top: 25px;
}

.tech-list li {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.tech-list li::before {
    content: "•";
    color: var(--accent-color, #FF8C00);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.tech-list li strong {
    color: #fff;
    font-weight: 600;
    margin-right: 5px;
}

/* Responsive for Text Panels */
@media (max-width: 900px) {
    .text-content-panel {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }

    .panel-header {
        flex: auto;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        /* Separator on mobile */
        padding-bottom: 20px;
    }

    .panel-header h3 {
        border-bottom: none;
        /* Remove side border style */
        padding-bottom: 0;
    }
}