/* BUZ YAZILIM — Home Page Styles */

/* ===== Hero Layout Override ===== */
.welcome-area--l1 {
    padding-top: 140px;
    padding-bottom: 60px;
}
@media (min-width: 576px) {
    .welcome-area--l1 { padding-top: 160px; }
}
@media (min-width: 768px) {
    .welcome-area--l1 { padding-top: 160px; padding-bottom: 70px; }
}
@media (min-width: 992px) {
    .welcome-area--l1 { padding-top: 150px; padding-bottom: 80px; }
}
@media (min-width: 1200px) {
    .welcome-area--l1 { padding-top: 160px; padding-bottom: 90px; }
}
@media (min-width: 1366px) {
    .welcome-area--l1 { padding-top: 180px; padding-bottom: 100px; }
}

/* Hero row: always flex, vertically centered */
.welcome-area--l1 > .container > .row {
    display: flex;
    align-items: center;
    min-height: 0;
}

/* H1 size adjustments for keyword-rich text */
.welcome-content__title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 24px;
}
@media (min-width: 480px) {
    .welcome-content__title { font-size: 38px; }
}
@media (min-width: 768px) {
    .welcome-content__title { font-size: 44px; }
}
@media (min-width: 992px) {
    .welcome-content__title { font-size: 48px; }
}
@media (min-width: 1200px) {
    .welcome-content__title { font-size: 52px; }
}

/* Welcome content: no extra margin */
.welcome-content--l1 { margin-top: 0; }

/* Description */
.welcome-content__descriptions {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
}
@media (min-width: 992px) {
    .welcome-content__descriptions { font-size: 17px; }
}

/* Typed text highlight */
.text-highlight {
    color: #6366f1;
    position: relative;
}

/* ===== Hero Badge ===== */
.buz-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 20px;
}
.buz-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
    animation: buzPulse 2s infinite;
}
@keyframes buzPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.buz-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* ===== Trusted By Marquee ===== */
.buz-trusted-section {
    padding: 36px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.buz-trusted-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-texts);
    text-align: center;
    margin-bottom: 20px;
}
.buz-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.buz-marquee__track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: buzScroll 60s linear infinite;
}
.buz-marquee:hover .buz-marquee__track {
    animation-play-state: paused;
}
.buz-marquee__item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 4px 0;
}
.buz-marquee__text {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-headings);
    opacity: 0.3;
    white-space: nowrap;
    transition: opacity 0.3s;
}
.buz-marquee__item:hover .buz-marquee__text {
    opacity: 0.75;
}
.buz-marquee__item img {
    max-height: 32px;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.3s;
}
.buz-marquee__item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
@keyframes buzScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Section Header ===== */
.buz-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.buz-section-header h2 {
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--color-headings);
}
.buz-section-header p {
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
}
.buz-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 10px;
}
.buz-section-label::before,
.buz-section-label::after {
    content: '';
    width: 20px;
    height: 2px;
    background: #6366f1;
    border-radius: 1px;
}

/* ===== Service Cards ===== */
.buz-service-card {
    padding: 32px 28px;
    border-radius: 16px;
    background: var(--bg);
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.buz-service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.buz-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.2);
}
.buz-service-card:hover::after {
    transform: scaleX(1);
}
.buz-service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(168,85,247,0.1));
}
.buz-service-card__icon img {
    width: 28px;
    height: 28px;
}
.buz-service-card__number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-headings);
    opacity: 0.04;
    position: absolute;
    top: 12px;
    right: 20px;
    line-height: 1;
}
.buz-service-card h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-headings);
}
.buz-service-card p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== Blog Cards ===== */
.buz-blog-section {
    padding: 80px 0 90px;
}
.buz-blog-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    transition: transform 0.35s, box-shadow 0.35s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.buz-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.buz-blog-card__image {
    height: 200px;
    overflow: hidden;
}
.buz-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.buz-blog-card:hover .buz-blog-card__image img {
    transform: scale(1.06);
}
.buz-blog-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
}
.buz-blog-card__image-placeholder i {
    font-size: 48px;
    color: rgba(255,255,255,0.3);
}
.buz-blog-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.buz-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.buz-blog-card__category {
    background: rgba(99,102,241,0.1);
    color: #6366f1;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.buz-blog-card__date {
    color: var(--color-texts);
    font-size: 13px;
}
.buz-blog-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.buz-blog-card__title a {
    color: var(--color-headings);
    text-decoration: none;
    transition: color 0.3s;
}
.buz-blog-card__title a:hover {
    color: #6366f1;
}
.buz-blog-card__summary {
    color: var(--color-texts);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.buz-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #6366f1;
    text-decoration: none;
    margin-top: 16px;
    transition: gap 0.3s;
}
.buz-blog-card__link:hover {
    gap: 10px;
    color: #4f46e5;
}

/* ===== Final CTA ===== */
.buz-final-cta {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.buz-final-cta::before {
    content: '';
    position: absolute;
    top: -40%; right: -15%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.buz-final-cta::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.buz-final-cta h2 {
    color: #fff;
    font-weight: 800;
}
.buz-final-cta p {
    color: rgba(255,255,255,0.85);
}
.buz-btn-white {
    display: inline-block;
    background: #fff;
    color: #6366f1;
    font-weight: 700;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-decoration: none;
}
.buz-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: #4f46e5;
}

/* ===== See All Link ===== */
.buz-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    transition: gap 0.3s;
}
.buz-see-all:hover {
    gap: 12px;
    color: #4f46e5;
}

.btn.btn--lg{
    padding-left: 20px;
    padding-right: 20px;
}

/* ===== Hero Terminal (Light Mode) ===== */
.buz-hero-terminal-wrap {
    perspective: 1000px;
    position: relative;
}
.buz-terminal {
    background: var(--bg-2, #f8f9fc);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 12px;
    overflow: hidden;
    transform: rotateY(-2deg) rotateX(1deg);
    transition: transform 0.6s ease, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 20px 60px rgba(99,102,241,0.08), 0 1px 3px rgba(0,0,0,0.06);
    animation: buzTermFloat 6s ease-in-out infinite;
}
.buz-terminal:hover {
    transform: rotateY(0deg) rotateX(0deg);
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 25px 70px rgba(99,102,241,0.12), 0 1px 3px rgba(0,0,0,0.06);
}
@keyframes buzTermFloat {
    0%, 100% { transform: rotateY(-2deg) rotateX(1deg) translateY(0); }
    50% { transform: rotateY(-2deg) rotateX(1deg) translateY(-8px); }
}
.buz-terminal__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(99,102,241,0.04);
    border-bottom: 1px solid rgba(99,102,241,0.08);
}
.buz-terminal__dot { width: 10px; height: 10px; border-radius: 50%; }
.buz-terminal__dot--red { background: #ef4444; }
.buz-terminal__dot--yellow { background: #eab308; }
.buz-terminal__dot--green { background: #22c55e; }
.buz-terminal__title {
    font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace;
    font-size: 11px;
    color: #94a3b8;
    margin-left: auto;
    letter-spacing: 0.03em;
}
.buz-terminal__body {
    padding: 18px 20px;
    font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.9;
    color: #475569;
    overflow-x: auto;
}
.buz-terminal__body .t-comment { color: #94a3b8; }
.buz-terminal__body .t-keyword { color: #7c3aed; }
.buz-terminal__body .t-string { color: #059669; }
.buz-terminal__body .t-func { color: #2563eb; }
.buz-terminal__body .t-var { color: #6366f1; }
.buz-terminal__body .t-op { color: #94a3b8; }
.buz-terminal__body .t-num { color: #d97706; }
.buz-terminal__body .t-brace { color: #64748b; }
.buz-terminal__body .t-prop { color: #ea580c; }
.buz-terminal__line {
    display: flex;
    gap: 12px;
}
.buz-terminal__linenum {
    color: #c4c9d4;
    user-select: none;
    min-width: 20px;
    text-align: right;
}

/* Terminal Dark Mode */
[data-theme='dark'] .buz-terminal {
    background: #111827;
    border-color: rgba(99,102,241,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 80px rgba(99,102,241,0.05);
}
[data-theme='dark'] .buz-terminal:hover {
    border-color: rgba(99,102,241,0.4);
    box-shadow: 0 25px 70px rgba(0,0,0,0.5), 0 0 80px rgba(99,102,241,0.08);
}
[data-theme='dark'] .buz-terminal__header {
    background: rgba(0,0,0,0.3);
    border-bottom-color: rgba(99,102,241,0.1);
}
[data-theme='dark'] .buz-terminal__title { color: #64748b; }
[data-theme='dark'] .buz-terminal__body { color: #94a3b8; }
[data-theme='dark'] .buz-terminal__body .t-comment { color: #64748b; }
[data-theme='dark'] .buz-terminal__body .t-keyword { color: #c084fc; }
[data-theme='dark'] .buz-terminal__body .t-string { color: #34d399; }
[data-theme='dark'] .buz-terminal__body .t-func { color: #60a5fa; }
[data-theme='dark'] .buz-terminal__body .t-var { color: #818cf8; }
[data-theme='dark'] .buz-terminal__body .t-op { color: #64748b; }
[data-theme='dark'] .buz-terminal__body .t-num { color: #fbbf24; }
[data-theme='dark'] .buz-terminal__body .t-brace { color: #94a3b8; }
[data-theme='dark'] .buz-terminal__body .t-prop { color: #fb923c; }
[data-theme='dark'] .buz-terminal__linenum { color: #4b5563; }
[data-theme='dark'] .buz-float-tag {
    background: rgba(17,24,39,0.8);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Floating Tech Tags */
.buz-float-tag {
    position: absolute;
    font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid;
    letter-spacing: 0.03em;
    animation: buzTagFloat 5s ease-in-out infinite;
    white-space: nowrap;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 2;
}
.buz-float-tag--1 {
    top: -12px; right: 10px;
    color: #6366f1;
    border-color: rgba(99,102,241,0.2);
}
.buz-float-tag--2 {
    bottom: 50px; left: -15px;
    color: #8b5cf6;
    border-color: rgba(139,92,246,0.2);
    animation-delay: -2s;
}
.buz-float-tag--3 {
    bottom: -5px; right: 30px;
    color: #059669;
    border-color: rgba(5,150,105,0.2);
    animation-delay: -4s;
}
@keyframes buzTagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .buz-terminal { animation: none; transform: none; }
    .buz-terminal:hover { transform: none; }
    .buz-float-tag { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .welcome-area--l1 { padding-top: 120px; }
    .buz-hero-terminal-wrap { margin-bottom: 40px; }
}
@media (max-width: 767px) {
    .buz-hero-cta { flex-direction: column; }
    .buz-hero-cta .btn { width: 100%; text-align: center; }
    .buz-hero-cta .ms-3 { margin-left: 0 !important; }
    .buz-final-cta { padding: 60px 0; }
    .buz-blog-section { padding: 60px 0 70px; }
    .buz-terminal__body { font-size: 11px; padding: 14px 16px; }
    .buz-float-tag { display: none; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .buz-terminal { transform: none; }
    .buz-terminal:hover { transform: none; }
    .buz-float-tag--2 { left: 5px; }
}
