﻿/*
Theme Name: Tetrahedron Theme
Theme URI: https://tetrahedron.com.tr
Author: Tetrahedron
Description: Corporate modern WordPress theme converted from static pages.
Version: 1.0.0
Text Domain: tetrahedron-theme
*/

:root {
    --primary: #0a2463;
    --primary-light: #1e4d8c;
    --accent: #3e92cc;
    --accent-light: #5fb0e6;
    --accent-orange: #f8961e;
    --dark: #1a1a2e;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

.top-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 10px 0;
}

.top-header .dropdown-toggle {
    color: var(--white);
    font-weight: 500;
    border-color: rgba(255,255,255,0.3);
    font-size: .85rem;
}

.top-header .dropdown-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.top-header p,
.top-header a {
    font-size: .85rem;
    color: rgba(255,255,255,0.9);
    margin: 0 15px 0 0;
}

.top-header i {
    color: var(--accent-light);
}

.top-header a:hover {
    color: var(--white);
    text-decoration: none;
}

.navbar {
    padding: 1rem 0;
    background: var(--white) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
}

.navbar .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--dark);
    padding: .5rem 1.2rem !important;
    margin: 0 2px;
    border-radius: 8px;
    transition: all .3s ease;
    font-size: .95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.current {
    color: var(--accent);
    background: rgba(62,146,204,.08);
}

.navbar .nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
}

.hero-section,
.contact-hero,
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
}

.hero-section {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.trusted-tech-section {
    padding: 45px 0 60px;
    background: #fff;
}

.trusted-tech-section h2 {
    color: var(--primary);
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
}

.trusted-tech-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trusted-logo-item {
    background: var(--white);
    border: 1px solid rgba(62,146,204,.15);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(10,36,99,.06);
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.trusted-logo-item img {
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-section h1 span {
    color: var(--accent-light);
}

.hero-section p {
    font-size: 1.25rem;
    color: rgba(255,255,255,.9);
    max-width: 650px;
}

.home-pillars-row {
    position: relative;
    z-index: 2;
}

.home-pillar-card {
    text-align: center;
}

.home-pillar-circle {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.12));
    border: 1px solid rgba(255,255,255,.3);
    box-shadow: 0 12px 30px rgba(8, 28, 73, .25);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .35s ease;
}

.home-pillar-card:hover .home-pillar-circle {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 18px 36px rgba(8, 28, 73, .35);
    border-color: rgba(255,255,255,.45);
}

.home-pillar-circle i {
    font-size: 46px;
    color: var(--white);
}

.home-pillar-title {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.45;
    margin: 0 0 8px;
    text-shadow: 0 2px 8px rgba(5, 20, 55, .28);
}

.home-pillar-desc {
    color: rgba(255,255,255,.9);
    font-size: .9rem;
    line-height: 1.55;
    margin: 0;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(5, 20, 55, .2);
}

.funddesk-why-section {
    padding: 65px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.funddesk-why-section h2 {
    color: var(--primary);
    font-size: 2.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.funddesk-feature-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid rgba(62,146,204,.14);
    box-shadow: 0 10px 30px rgba(10,36,99,.08);
    padding: 28px 24px;
    height: 100%;
    transition: all .3s ease;
}

.funddesk-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(10,36,99,.14);
}

.funddesk-feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.funddesk-feature-icon i {
    color: var(--white);
    font-size: 22px;
}

.funddesk-feature-card h5 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.funddesk-feature-card p {
    color: var(--gray);
    font-size: .94rem;
    margin: 0;
    line-height: 1.65;
}

.workflow-section {
    padding: 85px 0;
    background: #ffffff;
}

.workflow-section h2 {
    color: var(--primary);
    font-size: 2.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.workflow-section p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 0;
}

.workflow-timeline {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 34px 28px;
}

.workflow-step {
    background: var(--white);
    border: 1px solid rgba(62,146,204,.15);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(10,36,99,.08);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all .3s ease;
    position: relative;
}

.workflow-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(10,36,99,.12);
}

.workflow-dot {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.workflow-dot i {
    color: var(--white);
    font-size: 18px;
}

.workflow-step h5 {
    color: var(--primary);
    font-size: 1.02rem;
    font-weight: 600;
    margin: 0;
}

.workflow-timeline .workflow-step:nth-child(1) { grid-column: 1; grid-row: 1; }
.workflow-timeline .workflow-step:nth-child(2) { grid-column: 2; grid-row: 1; }
.workflow-timeline .workflow-step:nth-child(3) { grid-column: 3; grid-row: 1; }
.workflow-timeline .workflow-step:nth-child(4) { grid-column: 4; grid-row: 1; }
.workflow-timeline .workflow-step:nth-child(5) { grid-column: 4; grid-row: 2; }
.workflow-timeline .workflow-step:nth-child(6) { grid-column: 3; grid-row: 2; }
.workflow-timeline .workflow-step:nth-child(7) { grid-column: 2; grid-row: 2; }

.workflow-timeline .workflow-step:nth-child(-n+3)::after {
    content: '';
    position: absolute;
    right: -28px;
    top: 50%;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.workflow-timeline .workflow-step:nth-child(-n+3)::before {
    content: '';
    position: absolute;
    right: -8px;
    top: calc(50% - 5px);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--accent);
}

.workflow-timeline .workflow-step:nth-child(4)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -34px;
    width: 2px;
    height: 34px;
    background: linear-gradient(180deg, var(--accent-light), var(--accent));
}

.workflow-timeline .workflow-step:nth-child(4)::before {
    content: '';
    position: absolute;
    left: calc(50% - 5px);
    bottom: -8px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--accent);
}

.workflow-timeline .workflow-step:nth-child(5)::after,
.workflow-timeline .workflow-step:nth-child(6)::after {
    content: '';
    position: absolute;
    left: -28px;
    top: 50%;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.workflow-timeline .workflow-step:nth-child(5)::before,
.workflow-timeline .workflow-step:nth-child(6)::before {
    content: '';
    position: absolute;
    left: -8px;
    top: calc(50% - 5px);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 7px solid var(--accent);
}

.core-features-section {
    padding: 85px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.core-features-section h2 {
    color: var(--primary);
    font-size: 2.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.core-features-section p {
    color: var(--gray);
    margin-bottom: 0;
}

.core-feature-card {
    background: var(--white);
    border: 1px solid rgba(62,146,204,.14);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(10,36,99,.08);
    padding: 26px 22px;
    height: 100%;
    transition: all .3s ease;
}

.core-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(10,36,99,.14);
}

.core-feature-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.core-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.core-feature-icon i {
    color: var(--white);
    font-size: 18px;
}

.core-feature-head h4 {
    color: var(--primary);
    font-size: 1.08rem;
    font-weight: 600;
    margin: 0;
}

.core-feature-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.core-feature-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray);
    font-size: .93rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.core-feature-card li:last-child {
    margin-bottom: 0;
}

.core-feature-card li i {
    color: var(--accent);
    margin-top: 4px;
}

.smart-features-section {
    padding: 65px 0;
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.smart-features-section h2 {
    color: var(--primary);
    font-size: 2.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.smart-features-section p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 0;
}

.feature-filter-btn {
    border: 1px solid rgba(62,146,204,.25);
    background: var(--white);
    color: var(--primary);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: .9rem;
    font-weight: 500;
    transition: all .25s ease;
}

.feature-filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.feature-filter-btn.active {
    color: var(--white);
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    box-shadow: 0 8px 20px rgba(30,77,140,.2);
}

.smart-feature-card {
    height: 100%;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(62,146,204,.16);
    box-shadow: 0 8px 24px rgba(10,36,99,.07);
    overflow: hidden;
    transition: all .3s ease;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.feature-cards-grid .feature-item {
    min-width: 0;
    display: flex;
}

.smart-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(10,36,99,.12);
    border-color: rgba(62,146,204,.28);
}

.smart-feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(62,146,204,.12);
    background: linear-gradient(180deg, #ffffff 0%, #fafdff 100%);
}

.smart-feature-card-header h5 {
    margin: 0;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
}

.feature-type-badge {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 999px;
    background: rgba(62,146,204,.12);
    color: var(--primary-light);
    font-size: .68rem;
    font-weight: 600;
    padding: 3px 8px;
}

.feature-type-badge.badge-crm {
    background: rgba(30, 136, 229, .16);
    color: #0d47a1;
}

.feature-type-badge.badge-fon {
    background: rgba(0, 150, 136, .16);
    color: #00695c;
}

.feature-type-badge.badge-gayrimenkul {
    background: rgba(251, 140, 0, .16);
    color: #e65100;
}

.feature-type-badge.badge-girisim {
    background: rgba(123, 31, 162, .16);
    color: #6a1b9a;
}

.smart-feature-card-body {
    padding: 10px 12px 12px;
}

.smart-feature-card-body p {
    margin: 0;
    color: var(--gray);
    font-size: .83rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1400px) {
    .feature-cards-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .feature-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.page-hero {
    padding: 60px 0;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.page-hero .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
}

.page-hero .breadcrumb-item.active,
.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.7);
}

.services-section,
.products-section,
.references-section,
.about-section {
    padding: 80px 0;
}

.service-card,
.product-card,
.reference-card,
.info-card,
.contact-card,
.about-intro {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10,36,99,.08);
    border: 1px solid rgba(62,146,204,.1);
}

.service-card,
.product-card,
.info-card,
.contact-card,
.reference-card {
    transition: all .35s ease;
    height: 100%;
}

.service-card:hover,
.product-card:hover,
.info-card:hover,
.contact-card:hover,
.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10,36,99,.12);
}

.service-card img,
.product-card img {
    width: 100%;
    object-fit: cover;
}

.service-card img { height: 220px; }
.product-card img { height: 250px; }

.service-card-body,
.product-card-body {
    padding: 30px;
}

.service-card h5,
.product-card h5,
.info-card h5,
.contact-card h4 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p,
.product-card p,
.info-card p,
.contact-card p,
.values-list .value-item span {
    color: var(--gray);
    font-size: .95rem;
    line-height: 1.75;
}

.feature-title {
    font-weight: 600;
    color: var(--primary);
    margin-top: 15px;
}

.feature-item,
.values-list .value-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0;
}

.feature-item i,
.values-list .value-item i,
.footer-contact-item i,
.phone-list li i {
    color: var(--accent);
}

.about-intro {
    padding: 40px;
    border-left: 5px solid var(--accent);
    margin-bottom: 50px;
}

.about-intro p {
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-intro p:last-child {
    margin-bottom: 0;
}

.info-card {
    padding: 35px 30px;
}

.info-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e67e00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-card-icon i {
    font-size: 28px;
    color: var(--white);
}

.references-section .reference-card {
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-card img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.contact-hero {
    padding: 80px 0 100px;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.contact-hero p {
    color: rgba(255,255,255,.85);
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    margin-top: -60px;
    padding-bottom: 60px;
    position: relative;
    z-index: 10;
}

.contact-card {
    text-align: center;
    padding: 40px 30px;
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon-wrapper i {
    color: var(--white);
    font-size: 32px;
}

.phone-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phone-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-links,
.footer-social {
    display: flex;
    gap: 15px;
}

.social-links {
    justify-content: center;
}

.social-links a,
.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(62,146,204,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.social-links a:hover,
.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.social-links i {
    color: var(--primary);
}

.footer-social i {
    color: var(--white);
}

.social-links a:hover i,
.footer-social a:hover i {
    color: var(--white);
}

.map-section {
    padding: 0 0 80px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 40%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(10,36,99,.12);
}

.map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-section h3,
.cta-section p {
    color: var(--white);
}

.cta-btn,
.map-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all .3s ease;
}

.cta-btn {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
}

.map-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-weight: 500;
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-brand img {
    height: 45px;
    filter: brightness(0) invert(1);
}

.footer h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer p,
.footer a {
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    text-decoration: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 35px;
    padding-top: 25px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .home-pillar-circle {
        width: 135px;
        height: 135px;
    }

    .home-pillar-circle i {
        font-size: 34px;
    }

    .home-pillar-title {
        font-size: .92rem;
    }

    .home-pillar-desc {
        font-size: .82rem;
        max-width: 190px;
    }

    .funddesk-why-section {
        padding: 45px 0;
    }

    .funddesk-why-section h2 {
        font-size: 1.8rem;
    }

    .workflow-section {
        padding: 55px 0;
    }

    .workflow-section h2 {
        font-size: 1.8rem;
    }

    .workflow-timeline {
        max-width: 520px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .workflow-step {
        padding: 14px 16px;
    }

    .workflow-step h5 {
        font-size: .95rem;
    }

    .core-features-section {
        padding: 55px 0;
    }

    .core-features-section h2 {
        font-size: 1.8rem;
    }

    .smart-features-section {
        padding: 45px 0;
    }

    .smart-features-section h2 {
        font-size: 1.8rem;
    }

    .feature-filter-btn {
        padding: 8px 14px;
        font-size: .83rem;
    }

    .feature-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .smart-feature-card-header {
        padding: 12px 14px;
    }

    .smart-feature-card-header h5 {
        font-size: .84rem;
    }

    .feature-type-badge {
        font-size: .64rem;
        padding: 3px 7px;
    }

    .smart-feature-card-body {
        padding: 12px 14px 14px;
    }

    .smart-feature-card-body p {
        font-size: .79rem;
    }

    .workflow-timeline .workflow-step::after {
        content: '↓';
        position: static;
        display: block;
        width: 100%;
        height: auto;
        margin-top: 10px;
        text-align: center;
        background: none;
        color: var(--accent);
        font-size: 16px;
        line-height: 1;
    }

    .workflow-timeline .workflow-step:last-child::after {
        display: none;
    }

    .workflow-timeline .workflow-step::before {
        display: none;
    }

    .page-hero h1,
    .contact-hero h1 {
        font-size: 2rem;
    }

    .services-section,
    .products-section,
    .references-section,
    .about-section {
        padding: 50px 0;
    }

    .map-wrapper {
        padding-bottom: 60%;
    }
}
