/* Tario — tarihte bugün teması, banner paleti: koyu zemin + altın vurgular */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
    --tario-bg: #0a0a0a;
    --tario-surface: #151311;
    --tario-card: #1c1916;
    --tario-border: rgba(197, 160, 61, 0.22);
    --tario-gold: #c5a03d;
    --tario-gold-bright: #e4c56a;
    --tario-gold-dim: #8a7028;
    --tario-text: #f5f2eb;
    --tario-muted: #9a958c;
    --tario-cream: #fff9eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: var(--tario-bg);
    color: var(--tario-text);
    overflow-x: hidden;
}

/* Arka plan */
.tario-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(197, 160, 61, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 60%, rgba(197, 160, 61, 0.06), transparent 45%),
        var(--tario-bg);
}

.tario-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('Images/tario-banner.jpeg');
    background-size: cover;
    background-position: center top;
    opacity: 0.06;
    pointer-events: none;
}

.tario-grain {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.floating-dates {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.floating-dates span {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    color: rgba(197, 160, 61, 0.07);
    white-space: nowrap;
    animation: drift 28s ease-in-out infinite;
}

.floating-dates .d1 { top: 12%; left: -5%; animation-delay: 0s; }
.floating-dates .d2 { top: 38%; right: -8%; animation-delay: -9s; }
.floating-dates .d3 { bottom: 18%; left: 10%; animation-delay: -18s; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    50% { transform: translate(30px, -20px) rotate(1deg); }
}

#main {
    position: relative;
    z-index: 1;
    padding: 2rem 1.25rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.back-to-projects {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--tario-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.back-to-projects:hover {
    color: var(--tario-gold);
}

.container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    border-radius: 28px;
    box-shadow:
        0 0 0 1px var(--tario-border),
        0 24px 48px rgba(0, 0, 0, 0.45);
    animation: float-logo 3.5s ease-in-out infinite;
}

@keyframes float-logo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.bg-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.25rem, 6vw, 3.25rem);
    font-weight: 700;
    margin-top: 1.25rem;
    background: linear-gradient(135deg, var(--tario-gold-bright), var(--tario-gold), var(--tario-gold-dim));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.02em;
}

.tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--tario-muted);
    margin-top: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.description {
    text-align: center;
    margin: 2.5rem auto;
    max-width: 640px;
}

.description span {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--tario-muted);
    line-height: 1.65;
}

.features-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin: 2.5rem auto;
}

.feature-card {
    background: linear-gradient(145deg, var(--tario-card), var(--tario-surface));
    border: 1px solid var(--tario-border);
    border-radius: 16px;
    padding: 1.75rem;
    width: min(100%, 260px);
    text-align: center;
    transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(24px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 160, 61, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.feature-card i {
    font-size: 2.25rem;
    color: var(--tario-gold);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
    color: var(--tario-text);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--tario-muted);
    line-height: 1.5;
}

.middle {
    display: flex;
    justify-content: center;
    margin: 7rem 0;
}

.mouse {
    width: 28px;
    height: 48px;
    border: 2px solid var(--tario-gold);
    border-radius: 18px;
    position: relative;
    opacity: 0.7;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--tario-gold);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(18px); }
}

.hero-banner-wrap {
    margin: 3rem auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--tario-border);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.hero-banner-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Uygulama içi görüntüler — üst bölüm, yan yana, çerçevesiz */
.tario-inapp-section {
    margin: 2.5rem auto 1rem;
    max-width: 1200px;
    padding: 0 0.5rem;
}

.tario-inapp-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.8vw, 2rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--tario-text);
}

.tario-inapp-screens {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.tario-inapp-screens img {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    max-height: min(62vh, 540px);
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    border: none;
    box-shadow: none;
    border-radius: 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tario-inapp-screens img.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-section {
    margin: 4rem auto;
    max-width: 900px;
    padding: 0 0.25rem;
}

.timeline-section header {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--tario-text);
}

.timeline-steps {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--tario-border);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--tario-gold), transparent);
    opacity: 0.5;
}

.timeline-step {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.timeline-step.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tario-bg);
    border: 2px solid var(--tario-gold);
    transform: translateX(-50%);
    margin-left: -1px;
}

.timeline-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--tario-gold);
    margin-bottom: 0.4rem;
}

.timeline-step p {
    color: var(--tario-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.app-showcase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem;
    margin: 4rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, var(--tario-surface), transparent);
    border: 1px solid var(--tario-border);
    border-radius: 20px;
}

.showcase-content {
    flex: 1;
    min-width: 280px;
}

.showcase-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 1rem;
    color: var(--tario-text);
}

.showcase-content p {
    font-size: 1.02rem;
    color: var(--tario-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-item i {
    color: var(--tario-gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--tario-text);
    font-size: 0.96rem;
    line-height: 1.45;
}

.showcase-visual {
    flex: 1;
    min-width: 260px;
    display: flex;
    justify-content: center;
}

.stats-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    width: 100%;
    max-width: 340px;
}

.stat-box {
    background: var(--tario-card);
    border: 1px solid var(--tario-border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    text-align: center;
}

.stat-box i {
    color: var(--tario-gold);
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.stat-box strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--tario-text);
}

.stat-box span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tario-muted);
}

.download {
    display: flex;
    justify-content: center;
    margin: 3rem 0 1rem;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.store-badge {
    height: 56px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
}

.store-buttons a:hover .store-badge {
    transform: scale(1.04);
}

.download-note {
    text-align: center;
    font-size: 0.88rem;
    color: var(--tario-muted);
    margin-top: 1rem;
}

/* Footer */
.modern-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--tario-border);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem 2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
}

.footer-logo {
    max-width: 280px;
}

.footer-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 14px;
    margin-bottom: 0.75rem;
}

.footer-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--tario-text);
    margin-bottom: 0.5rem;
}

.footer-logo > p {
    color: var(--tario-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-column h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tario-gold);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.55rem;
}

.footer-column a {
    color: var(--tario-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--tario-text);
}

.social-icons {
    display: flex;
    gap: 0.85rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--tario-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tario-muted);
    transition: color 0.2s, border-color 0.2s;
}

.social-icon:hover {
    color: var(--tario-gold);
    border-color: var(--tario-gold);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--tario-border);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom .copyright {
    color: var(--tario-muted);
    font-size: 0.88rem;
}

.footer-bottom .copyright a {
    color: var(--tario-gold);
    text-decoration: none;
}

.footer-bottom-links a {
    color: var(--tario-muted);
    text-decoration: none;
    font-size: 0.88rem;
    margin-left: 1.25rem;
}

.footer-bottom-links a:hover {
    color: var(--tario-gold);
}

@media (max-width: 520px) {
    .tario-inapp-screens img {
        flex: 0 0 auto;
        width: clamp(118px, 31vw, 180px);
    }
}

@media (max-width: 600px) {
    .floating-dates span {
        font-size: 2rem;
    }

    .app-showcase {
        padding: 1.25rem;
    }

    .footer-bottom-links a {
        margin-left: 0;
        margin-right: 1rem;
    }
}
