/* ==========================================================================
   Pages — hero, hakkımızda, metodoloji, ekip, iletişim, makale içerik
   ========================================================================== */

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23g)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    color: white;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
    color: white;
    border-color: white;
}

.hero-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.geometric-pattern {
    position: relative;
    width: 300px;
    height: 300px;
}

.pattern-element {
    position: absolute;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.pattern-element:nth-child(1) { width: 200px; height: 200px; top: 50px;  left: 50px;  animation-delay: 0s; }
.pattern-element:nth-child(2) { width: 150px; height: 150px; top: 75px;  left: 75px;  animation-delay: 2s; }
.pattern-element:nth-child(3) { width: 100px; height: 100px; top: 100px; left: 100px; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-20px) rotate(180deg); }
}

/* ---- About ---- */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.8rem 1.2rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ---- Methodology ---- */
.methodology {
    padding: 6rem 0;
    background: white;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.method-card {
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.method-icon i {
    font-size: 2rem;
    color: white;
}

.method-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.method-card p {
    color: var(--text-light);
}

/* ---- Features ---- */
.features {
    padding: 6rem 0;
    background: var(--bg-light);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-text h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.features-list i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.features-list span {
    font-weight: 500;
    color: var(--text-dark);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--text-light);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.timeline-dot.active {
    background: var(--primary-color);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ---- Team ---- */
.team {
    padding: 6rem 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.team-avatar i {
    font-size: 2.5rem;
    color: white;
}

.team-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ---- Contact ---- */
.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 1.6rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

/* ---- Articles list ---- */
.articles-section {
    padding: 4rem 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-card .article-title {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.article-card .article-title a {
    color: var(--primary-color);
}

.article-card .article-title a:hover {
    color: var(--secondary-color);
}

.article-card .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-card .article-author,
.article-card .article-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.article-card .article-excerpt {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    flex-grow: 1;
}

.article-card .article-tags {
    margin-bottom: 1.2rem;
}

.article-card .article-footer {
    margin-top: auto;
    padding-top: 0;
    border-top: none;
    background: none;
    text-align: left;
}

/* ---- Article detail ---- */
.article-content {
    padding: calc(var(--navbar-height) + 3rem) 0 4rem;
    background: white;
}

.article-content .article-header {
    margin-bottom: 2.5rem;
}

.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.article-content .article-title {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.article-body {
    line-height: 1.85;
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 780px;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body h1 { font-size: 1.9rem; }
.article-body h2 { font-size: 1.5rem; }
.article-body h3 { font-size: 1.25rem; }

.article-body p {
    margin-bottom: 1.4rem;
    color: var(--text-dark);
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.6rem;
    list-style: revert;
    color: var(--text-dark);
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 0.5rem 1.2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    background: var(--bg-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body code {
    background: var(--bg-light);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.92em;
}

.article-body pre {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-body pre code {
    background: none;
    padding: 0;
}

.article-content .article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-content .article-tags {
    margin-bottom: 2rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--secondary-color);
}

.article-content .article-tags h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-navigation .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
}

.article-navigation .btn[hidden] {
    display: none !important;
}

/* ---- 404 sayfası ---- */
.not-found {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
}

.not-found-content {
    max-width: 520px;
}

.not-found h1 {
    font-size: 6rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.not-found h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.not-found p {
    margin-bottom: 2rem;
}
