/* ===================================
   Subpage Styles - Ahmet Yum
   =================================== */

/* Header Override for Subpages */
.subpage .header {
    position: absolute;
    background: transparent;
    border-bottom: none;
}

.subpage .header .logo-text,
.subpage .header .logo-text-bold,
.subpage .header .logo-text-light,
.subpage .header .logo-main,
.subpage .header .nav-link,
.subpage .header .logo-icon {
    color: #fff;
}

.subpage .header .logo-text-bold {
    color: #fff;
}

.subpage .header .logo-text-light {
    color: rgba(255, 255, 255, 0.75);
}

/* Beyaz Logo Boyutları - Subpage Header */
.subpage .header .logo-img {
    height: 38px;/*70px*/
}

.subpage .header .logo-text {
    font-size: 1.5rem;
}

/* Beyaz Logo Boyutları - Footer */
.footer .logo-img,
.footer-brand .logo-img {
    height: 38px;
}

.footer .logo-text,
.footer-brand .logo-text {
    font-size: 1.5rem;
}

.subpage .header .nav-link:hover,
.subpage .header .nav-link.active {
    color: rgba(255, 255, 255, 0.7);
}

.subpage .header .menu-toggle span {
    background: #fff;
}

/* ================================================================
   SUBPAGE — MOBİL MENÜ PANEL OVERRİDE
   Subpage'lerde header transparan + beyaz renkli olduğu için
   mobil menü paneli açıldığında nav-link renkleri koyu renge
   döndürülür. Panel her zaman beyaz arka planlıdır.
================================================================ */

/* Menü paneli açıkken nav-link'leri koyu yap */
.subpage .header .nav.active .nav-link {
    color: var(--color-gray-800);
}

.subpage .header .nav.active .nav-link:hover,
.subpage .header .nav.active .nav-link.active {
    color: var(--color-black);
}

/* Menü paneli açıkken hamburger toggle ikonunu da koyu yap */
.subpage .header .menu-toggle.active span {
    background-color: var(--color-black);
}



/* Page Hero */
.page-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.page-hero-year {
    position: absolute;
    bottom: 60px;
    right: 40px;
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.25em;
    z-index: 3;
}

/* Split Hero Layout - Agora Style */
.page-hero-split {
    min-height: 480px;
}

.page-hero-split .container {
    width: 100%;
}

.page-hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
}

.page-hero-left {
    flex: 1;
    max-width: 500px;
}

.page-hero-left h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

.page-hero-right {
    flex: 1;
    max-width: 420px;
}

.page-hero-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.page-hero-right .page-breadcrumb {
    justify-content: flex-start;
}

@media (max-width: 992px) {
    .page-hero-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .page-hero-left,
    .page-hero-right {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-hero-split {
        min-height: 380px;
    }

    .page-hero-left h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}

/* Services Intro */
.services-intro {
    max-width: 700px;
    margin-bottom: 60px;
}

.services-intro p {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse>* {
    direction: ltr;
}

.service-item-content {
    padding-right: 40px;
}

.service-item.reverse .service-item-content {
    padding-right: 0;
    padding-left: 40px;
}

.service-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray-400);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.service-item h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-black);
    margin-bottom: 20px;
}

.service-item p {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.service-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: var(--color-gray-700);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-black);
    border-radius: 50%;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--color-black);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background: var(--color-gray-800);
    transform: translateY(-2px);
}

.service-item-image {
    border-radius: 8px;
    overflow: hidden;
}

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

.service-item:hover .service-item-image img {
    transform: scale(1.03);
}

/* Page CTA */
.page-cta {
    background: linear-gradient(135deg, #6b3a3a 0%, #4a2828 100%);
    padding: 50px 0;
    margin-top: 60px;
}

.page-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.page-cta h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 12px;
}

.page-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

/* About Page CTA Variant */
.about-cta {
    background: linear-gradient(135deg, #7c4444 0%, #5a3232 100%);
}

/* Team Grid for Ekibimiz Page */
.team-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member-card {
    text-align: center;
}

.team-member-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 3/4;
}

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

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

.team-member-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-black);
    margin-bottom: 8px;
}

.team-member-card .role {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: 12px;
}

.team-member-card .specialty {
    font-size: 0.8125rem;
    color: var(--color-gray-400);
}

/* About Page Content */
.about-content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-content-section.reverse {
    direction: rtl;
}

.about-content-section.reverse>* {
    direction: ltr;
}

.about-text h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
    margin: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-family: 'Libre Baskerville', serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* ===================================
   About Page - Premium Design
   =================================== */

/* About Hero Variant */
.about-hero {
    min-height: 420px;/*480*/
}

/* About Story Section */
.about-story-section {
    padding: 100px 0 60px;
    background: #f7f7f5;
}

.about-intro {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.about-badge svg {
    width: 16px;
    height: 16px;
    color: #1a1a1a;
}

.about-intro h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-intro h2 span {
    background: linear-gradient(135deg, #1a1a1a 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-intro-text {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* About Content Main */
.about-content-main {
    /*padding: 80px 0 100px;*/
    background: #fff;
}

/* About Block - Image + Content */
.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-block.reverse {
    direction: rtl;
}

.about-block.reverse>* {
    direction: ltr;
}

.about-block-image {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-block-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

.about-block:hover .about-block-image {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-block-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-block:hover .about-block-image img {
    transform: scale(1.05);
}

.about-block-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.about-block:hover .about-block-overlay {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.06);
}

.overlay-stat {
    display: flex;
    flex-direction: column;
}

.overlay-stat .stat-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.overlay-stat .stat-text {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 6px;
    font-weight: 500;
}

.about-block-content {
    padding: 20px 0;
}

.about-block-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: #f5f5f5;
    border-radius: 6px;
}

.about-block-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-block-content p {
    font-size: 1.0625rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* About Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 60px 0;
}

.about-stat-card {
    background: #fff;
    border-radius: 28px;
    padding: 32px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a1a1a 0%, #333 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-stat-card:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.about-stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: #f5f5f5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.stat-icon svg {
    color: #1a1a1a;
    stroke-width: 1.5;
}

.about-stat-card:hover .stat-icon {
    background: #1a1a1a;
}

.about-stat-card:hover .stat-icon svg {
    color: #fff;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .stat-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.stat-info .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 8px;
    font-weight: 500;
}

/* About Values Section */
.about-values-section {
    margin-top: 80px;
    padding: 80px 0;
    background: #f7f7f5;
    border-radius: 32px;
}

.values-header {
    text-align: center;
    margin-bottom: 56px;
}

.values-header .about-block-badge {
    margin-bottom: 16px;
    background: rgba(26, 26, 26, 0.06);
    color: #1a1a1a;
}

.values-header h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.values-header p {
    font-size: 1rem;
    color: #6b7280;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background: #fff;
    border-radius: 28px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    cursor: pointer;
}

.value-card:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.value-icon {
    width: 72px;
    height: 72px;
    background: #f5f5f5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #1a1a1a;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: #1a1a1a;
    color: #fff;
}

.value-card h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    transition: color 0.4s ease;
}

.value-card p {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    transition: color 0.4s ease;
}

/* Responsive for About Page */
@media (max-width: 1024px) {
    .about-block {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-block.reverse {
        direction: ltr;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-values-section {
        border-radius: 24px;
        margin: 60px 0;
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .about-story-section {
        padding: 60px 0 40px;
    }

    .about-content-main {
        padding: 60px 0 80px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-stat-card {
        border-radius: 20px;
        padding: 24px 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        border-radius: 20px;
        padding: 32px 24px;
    }

    .about-block-image img {
        height: 300px;
    }

    .about-block-image {
        border-radius: 20px;
    }

    .about-values-section {
        border-radius: 20px;
        margin: 40px 0;
        padding: 48px 0;
    }
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--color-gray-100);
    padding: 40px;
    border-radius: 8px;
}

.contact-info-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.25rem;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-item svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-500);
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin: 0;
}

.contact-info-item a {
    color: var(--color-black);
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-form h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.25rem;
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--color-black);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-black);
}

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

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--color-black);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--color-gray-800);
}

/* Map */
.map-section {
    margin-top: 80px;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    background: var(--color-gray-200);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-item.reverse {
        direction: ltr;
    }

    .service-item-content {
        padding-right: 0;
    }

    .service-item.reverse .service-item-content {
        padding-left: 0;
    }

    .team-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content-section.reverse {
        direction: ltr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 350px;
        padding-bottom: 40px;
    }

    .page-hero-year {
        bottom: 40px;
        right: 24px;
        font-size: 1.25rem;
    }

    .services-list {
        gap: 60px;
    }

    .team-page-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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