/* Projelendirme Sayfası CSS - p- prefix ile sınıf isimleri */
:root {
    --p-primary-color: rgb(34, 156, 10);
    --p-primary-shadow: rgba(34, 156, 10, 0.3);
    --p-dark-bg: #0a0a0a;
    --p-dark-card: #141414;
    --p-dark-card-hover: #1d1d1d;
    --p-text-light: #ffffff;
    --p-text-secondary: #ababab;
    --p-spacing-sm: 15px;
    --p-spacing-md: 30px;
    --p-spacing-lg: 60px;
}
/* Genel Stiller */
.p-main {
    background-color: black;
    color: var(--p-text-light);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden; /* Yatay kaydırmayı engeller */
}
/* Container stilleri */
.p-container, .p-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}
.p-hero-section .p-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.p-cta-section .p-container {
    text-align: center;
    max-width: 800px;
}
/* Hero Section */
.p-hero-section {
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.p-hero-bg, .p-cta-bg, .p-stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.p-hero-bg-image, .p-cta-bg-image, .p-stats-bg-image {
    width: 100%;
    height: 150%;
    object-fit: cover;
    display: block;
}
.p-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}
.p-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                transparent 0%, 
                rgba(0, 0, 0, 0.4) 50%, 
                rgb(0, 0, 0) 100%);
    z-index: 1;
}
.p-hero-content {
    max-width: 600px;
    margin-bottom: 0;
    padding: 40px 0;
}
.p-hero-title {
    font-size: 7rem; /* rem kullanımı daha responsive */
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
}
.p-highlight {
    display: block;
    color: var(--p-primary-color);
    font-size: 9rem;
    text-shadow: var(--p-primary-shadow) 5px 5px 0px;
}
.p-hero-description {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
}
/* Button Styles */
.p-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid var(--p-primary-color);
    color: var(--p-primary-color);
}
.p-button:hover {
    background-color: var(--p-primary-color);
    color: #000;
    transform: translateY(-2px);
}
.p-button-cta {
    font-size: 18px;
    padding: 16px 36px;
    background-color: var(--p-primary-color);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 156, 10, 0.3);
}
.p-button-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 156, 10, 0.4);
}
.p-icon-play {
    margin-right: 8px;
}
.p-icon-arrow {
    margin-left: 8px;
}
/* Floating Cards */
.p-hero-cards {
    position: relative;
    width: 380px;
    z-index: 3;
    perspective: 1000px;
    margin-left: auto;
    height: 400px;
}
.p-card {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(34, 156, 10, 0.2);
    padding: 20px;
    transform-origin: center;
    box-shadow: rgba(34, 156, 10, 0.1) 0px 20px 40px;
    transition: all 0.5s ease;
    width: 300px;
}
.p-card-1 {
    left: -90px;
    top: -60px;
    z-index: 3;
    animation: floatCard1 4s ease-in-out infinite;
}
.p-card-2 {
    right: -50px;
    top: 200px;
    z-index: 2;
    animation: floatCard2 4s ease-in-out infinite;
    animation-delay: 0.5s;
}
.p-card-3 {
    left: -100px;
    top: 400px;
    z-index: 1;
    animation: floatCard3 4s ease-in-out infinite;
    animation-delay: 1s;
}
@keyframes floatCard1 {
    0% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-15px) rotate(-8deg); }
    100% { transform: translateY(0) rotate(-10deg); }
}
@keyframes floatCard2 {
    0% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-12px) rotate(7deg); }
    100% { transform: translateY(0) rotate(5deg); }
}
@keyframes floatCard3 {
    0% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    100% { transform: translateY(0) rotate(-3deg); }
}
.p-card-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
}
.p-card-text {
    font-size: 18px;
    color: var(--p-text-secondary);
}
/* Tabs Section */
.p-tabs-section {
    padding: 100px 0;
    overflow: hidden; /* Taşmaları engeller */
}
.p-tabs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.p-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    width: 100%;
}
.p-tab-btn {
    padding: 14px 32px;
    background-color: transparent;
    border: 1px solid var(--p-primary-color);
    color: var(--p-text-light);
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}
.p-tab-btn:hover {
    border-color: var(--p-primary-color);
    transform: translateY(-3px);
}
.p-tab-btn.p-active {
    background-color: var(--p-primary-color);
    color: #000;
    box-shadow: 0 6px 15px var(--p-primary-shadow);
}
.p-tab-contents {
    width: 100%;
    position: relative;
    overflow: hidden; /* Taşmaları engeller */
}
.p-tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.p-tab-content.p-active {
    display: block;
    opacity: 1;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
.p-content-row {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
}
.p-content-col {
    flex: 1;
    min-width: 300px;
}
.p-content-title {
    font-size: 3.5rem; /* rem kullanımı daha responsive */
    font-weight: 800;
    margin-bottom: 16px;
}
.p-content-description {
    font-size: 19px;
    line-height: 1.6;
    color: var(--p-text-secondary);
    margin-bottom: 24px;
}
.p-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.p-feature {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
}
.p-icon-check {
    color: var(--p-primary-color);
    margin-right: 10px;
}
/* Image Container */
.p-image-container {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    aspect-ratio: 16 / 9; /* Sabit oran korur */
}
.p-content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}
.p-image-overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(34, 156, 10, 0.2), transparent);
    z-index: 4;
    pointer-events: none;
}
.p-content-image:hover {
    transform: scale(1.03);
}
/* Stats Section */
.p-stats-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.p-stats-section .p-overlay {
    background: rgba(0, 0, 0, 0.85);
}
.p-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.p-stat-item {
    flex: 1;    
    min-width: 200px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* Safari için */
    border: 1px solid rgba(34, 156, 10, 0.1);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.p-stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(25deg, rgba(34, 156, 10, 0.2), transparent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.p-stat-number {
    font-size: 3.5rem; /* rem kullanımı daha responsive */
    font-weight: 800;
    color: var(--p-primary-color);
    margin-bottom: 10px;
}
.p-stat-text {
    font-size: 16px;
    color: var(--p-text-light);
}
/* CTA Section */
.p-cta-section {
    margin-top: 120px;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.p-cta-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.4) 50%, rgb(0, 0, 0) 100%);
    z-index: 1;
}
.p-cta-title {
    font-size: 4rem; /* rem kullanımı daha responsive */
    font-weight: 800;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
/* Responsive Design */
@media screen and (max-width: 1200px) {
    .p-container, .p-tabs-container {
        padding: 0 30px;
    }
}
@media screen and (max-width: 992px) {
    html {
        font-size: 95%; /* Tüm rem değerlerini küçültür */
    }
    
    .p-hero-section .p-container {
        flex-direction: column;
        justify-content: center;
        padding-top: 60px;
    }
    
    .p-hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .p-hero-cards {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 0;
        perspective: none;
        height: auto;
    }
    
    .p-card {
        position: relative;
        width: 100%;
        max-width: 240px;
        margin-bottom: 20px;
        animation: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }
    
    .p-card-1 {
        transform: translateY(0) rotate(0) !important;
    }
    
    .p-card-2 {
        transform: translateY(0) rotate(0) !important;
    }
    
    .p-card-3 {
        transform: translateY(0) rotate(0) !important;
    }
    
    .p-stats-row {
        justify-content: center;
    }
    
    .p-image-container {
        width: 100%;
        margin: 0 auto;
    }
    
    .p-content-image {
        width: 100%;
    }
    
    .p-image-overlay2 {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    html {
        font-size: 90%; /* Tüm rem değerlerini daha da küçültür */
    }
    
    .p-hero-section {
        min-height: 600px;
        padding-top: 80px; /* Header için boşluk */
    }
    
    .p-tabs-section,
    .p-stats-section,
    .p-cta-section {
        padding: 60px 0;
    }
    
    .p-content-row {
        flex-direction: column-reverse;
        gap: 20px;
    }
    
    .p-content-col {
        min-width: 100%;
    }
    
    .p-tab-buttons {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .p-tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .p-stat-item {
        flex: 0 0 calc(50% - 20px); /* 2 sütun grid */
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 576px) {
    .p-hero-title{
        font-size: 6rem;
    }
    .p-highlight {
        display: block;
        color: var(--p-primary-color);
        font-size: 8rem;
        text-shadow: var(--p-primary-shadow) 5px 5px 0px;
    }
    html {
        font-size: 65%; /* Tüm rem değerlerini daha da küçültür */
    }
    
    .p-container, .p-tabs-container {
        padding: 0 15px;
    }
    
    .p-hero-section {
        min-height: 1200px; /* Daha fazla yükseklik */
        padding: 80px 0 40px;
    }
    
    .p-hero-description {
        font-size: 16px;
    }
    
    .p-tab-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .p-tab-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .p-stat-item {
        flex: 0 0 100%;
    }
    
    .p-card {
        max-width: 100%;
        width: 85%;
    }
    
    .p-feature {
        font-size: 14px;
    }
    
    .p-button, .p-button-cta {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 16px;
    }
    
    .p-content-description {
        font-size: 16px;
    }
}
@media screen and (max-width: 375px) {
    html {
        font-size: 80%; /* En küçük ekranlar için daha küçük font */
    }
    
    .p-hero-section {
        min-height: 450px;
    }
    
    .p-container, .p-tabs-container {
        padding: 0 10px;
    }
}