/* ============================================
   Premium UI - Redesign (index & contact)
   ============================================ */

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
}
.glass-panel-dark {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    border-radius: 24px;
}

/* 1. HERO PREMIUM */
.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px; /* offset for fixed header */
}
.hero-premium-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    animation: zoomOutSlow 20s ease-out forwards;
}
.hero-premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.4) 100%);
    z-index: 2;
}
.hero-premium-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    padding: 60px;
    color: var(--renk-yazi);
    margin-top: 5vh;
}
.hero-premium-title {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.hero-premium-title span {
    background: linear-gradient(135deg, #fcebc0, var(--renk-ana));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.hero-premium-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--renk-yazi-ikincil);
    margin-bottom: 40px;
    max-width: 600px;
}
.hero-floating-badge {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 30px;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: floatUpDown 6s ease-in-out infinite;
}
.hero-floating-badge h4 {
    font-size: 42px;
    color: var(--renk-ana);
    font-weight: 800;
    line-height: 1;
}
.hero-floating-badge p {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--renk-yazi-ikincil);
    margin-top: 5px;
}

@keyframes zoomOutSlow {
    from { transform: scale(1.15); }
    to { transform: scale(1.0); }
}
@keyframes floatUpDown {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-60%); }
}

/* 2. SERVICES PREMIUM */
.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: -80px; /* Pull up over the previous section */
    position: relative;
    z-index: 10;
    padding: 0 20px;
}
.service-card-premium {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.service-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.service-card-premium::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 150px; height: 150px;
    background: linear-gradient(135deg, transparent, rgba(30, 58, 138, 0.05));
    border-radius: 0 0 0 100%;
    transition: all 0.5s ease;
}
.service-card-premium:hover::after {
    transform: scale(1.5);
    background: linear-gradient(135deg, transparent, rgba(30, 58, 138, 0.1));
}
.service-icon-premium {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--renk-ana), #2563eb);
    color: #fff;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
    transition: transform 0.4s ease;
}
.service-card-premium:hover .service-icon-premium {
    transform: scale(1.1) rotate(5deg);
}

/* 3. ABOUT OVERLAP PREMIUM */
.about-premium {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.about-overlap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-images-wrapper {
    position: relative;
    height: 600px;
}
.about-img-main {
    position: absolute;
    top: 0; left: 0;
    width: 75%; height: 85%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    z-index: 2;
}
.about-img-secondary {
    position: absolute;
    bottom: 0; right: 0;
    width: 60%; height: 60%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    z-index: 3;
    border: 12px solid #fff;
}
.about-abstract-shape {
    position: absolute;
    top: -30px; left: -30px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(30, 58, 138,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

/* 4. STATS PARALLAX */
.stats-parallax {
    background-image: url('../uploads/hero_bg.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
    padding: 100px 0;
}
.stats-parallax::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
}
.stats-parallax .container {
    position: relative;
    z-index: 2;
}
.stat-glass-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    color: var(--renk-yazi);
    transition: transform 0.3s ease;
}
.stat-glass-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
}
.stat-glass-box h3 {
    font-size: 54px;
    color: var(--renk-ana);
    margin-bottom: 5px;
}

/* 5. PORTFOLIO PREMIUM (Masonry style alternative using CSS Grid) */
.portfolio-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}
.portfolio-premium-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.portfolio-premium-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.portfolio-premium-item:nth-child(2) { grid-row: span 2; }
.portfolio-premium-item:nth-child(4) { grid-column: span 2; }
.portfolio-premium-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.portfolio-premium-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.portfolio-premium-item:hover img { transform: scale(1.1); }
.portfolio-premium-item:hover .portfolio-premium-overlay { opacity: 1; }
.portfolio-premium-overlay h3 { color: var(--renk-yazi); font-size: 22px; margin-bottom: 5px; transform: translateY(20px); transition: transform 0.4s ease; }
.portfolio-premium-overlay span { color: var(--renk-ana); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; transform: translateY(20px); transition: transform 0.4s ease 0.1s; }
.portfolio-premium-item:hover .portfolio-premium-overlay h3,
.portfolio-premium-item:hover .portfolio-premium-overlay span { transform: translateY(0); }

/* 6. TESTIMONIALS PREMIUM */
.testimonial-premium-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    position: relative;
    border: none;
    margin-top: 30px;
}
.testimonial-quote-icon {
    position: absolute;
    top: -25px;
    left: 40px;
    width: 50px; height: 50px;
    background: var(--renk-ana);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.4);
}
.testimonial-premium-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--renk-yazi-ikincil);
    margin-top: 10px;
    margin-bottom: 30px;
    font-style: italic;
}

/* 7. HOMEPAGE CTA (Replaces the big form) */
.cta-premium {
    background: linear-gradient(135deg, #fff, #f4ecd8);
    border-radius: 30px;
    padding: 70px 50px;
    text-align: center;
    color: var(--renk-yazi);
    position: relative;
    overflow: hidden;
    margin: 60px 0;
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(0,0,0,0.05);
}
.cta-premium::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 60%);
    animation: rotateBg 20s linear infinite;
}
@keyframes rotateBg { 100% { transform: rotate(360deg); } }
.cta-premium h2 { color: var(--renk-yazi); font-size: 40px; margin-bottom: 20px; position: relative; z-index: 2; }
.cta-premium p { font-size: 18px; margin-bottom: 30px; color: var(--renk-yazi-ikincil); position: relative; z-index: 2; }
.cta-premium .btn { position: relative; z-index: 2; font-size: 16px; padding: 16px 36px; border-radius: 50px; background: var(--renk-ana); color: #fff; }
.cta-premium .btn:hover { background: var(--renk-yazi); color: #fff; }

/* 8. CONTACT PAGE REDESIGN (Asymmetrical Modern) */
.contact-asymmetric-wrapper {
    position: relative;
    padding: 100px 0 80px;
    background: #fdfbf7;
    overflow: hidden;
}
.contact-bg-text {
    position: absolute;
    top: 50px;
    left: -2%;
    font-size: clamp(50px, 8vw, 90px);
    font-weight: 900;
    color: rgba(0,0,0,0.02);
    line-height: 1;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}
.contact-asymmetric-hero {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}
.contact-asymmetric-hero h1 {
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    color: var(--renk-yazi);
    line-height: 1.2;
    letter-spacing: -1px;
}
.contact-asymmetric-hero p {
    font-size: 16px;
    color: var(--renk-ana);
    margin-top: 10px;
    font-weight: 500;
}

.contact-asymmetric-overlap {
    display: flex;
    gap: 50px;
    align-items: stretch;
    position: relative;
    z-index: 5;
    margin-bottom: 60px;
}
.contact-map-layer {
    flex: 1.2;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    min-height: 500px;
}
.contact-map-layer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-layer {
    flex: 1;
    background: #ffffff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
}

.contact-floating-info {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 10;
}
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-info-block h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--renk-yazi-soluk);
    font-weight: 700;
}
.contact-info-block p, .contact-info-block a {
    font-size: 18px;
    color: var(--renk-yazi);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info-block a:hover {
    color: var(--renk-ana);
}

.contact-form-side h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--renk-yazi);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Floating Labels Form UX */
.floating-group {
    position: relative;
    margin-bottom: 30px;
}
.floating-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--renk-cizgi);
    padding: 10px 0;
    font-size: 16px;
    color: var(--renk-yazi);
    font-family: var(--font-govde);
    transition: all 0.3s ease;
}
.floating-control:focus {
    outline: none;
    border-bottom-color: var(--renk-ana);
}
.floating-label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 16px;
    color: var(--renk-yazi-soluk);
    pointer-events: none;
    transition: all 0.3s ease;
}
.floating-control:focus ~ .floating-label,
.floating-control:not(:placeholder-shown) ~ .floating-label {
    top: -15px;
    font-size: 12px;
    color: var(--renk-ana);
    font-weight: 600;
}
textarea.floating-control {
    min-height: 80px;
    resize: none;
}
.btn-submit-premium {
    background: var(--renk-yazi);
    color: #fff;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-submit-premium:hover {
    background: var(--renk-ana);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
}

/* 9. SERVICES PAGE REDESIGN (Premium Magazine Layout) */
.services-premium {
    padding: 80px 0;
    position: relative; transition: color 0.3s ease;
}
.services-premium-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    padding: 80px 0;
}
.services-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
}
.services-sidebar h3 {
    font-size: 18px;
    color: var(--renk-yazi);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.services-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.services-nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    color: var(--renk-yazi-ikincil);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}
.services-nav-list a:hover {
    background: rgba(30, 58, 138, 0.05);
    color: var(--renk-ana);
    padding-left: 20px;
}

.services-content-area {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.service-article {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    scroll-margin-top: 120px;
}
.service-article-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.service-article-body {
    padding: 50px;
}
.service-article-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.service-article-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--renk-ana);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.service-article h2 {
    font-size: 32px;
    color: var(--renk-yazi);
    font-weight: 800;
}
.service-article-desc {
    font-size: 18px;
    color: var(--renk-ana);
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.6;
}
.rich-text-content {
    color: var(--renk-yazi-ikincil);
    line-height: 1.8;
    font-size: 16px;
}
.rich-text-content h3 { color: var(--renk-yazi); margin: 30px 0 15px; font-size: 22px; }
.rich-text-content ul, .rich-text-content ol { margin-bottom: 20px; padding-left: 20px; }
.rich-text-content li { margin-bottom: 10px; }
.rich-text-content p { margin-bottom: 20px; }
.rich-text-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 20px 0; }


/* RESPONSIVE UPDATES */
@media (max-width: 991px) {
    .about-overlap-grid { grid-template-columns: 1fr; }
    .about-images-wrapper { height: 400px; max-width: 500px; margin: 0 auto; }
    
    .contact-asymmetric-overlap {
        flex-direction: column;
        gap: 30px;
    }
    .contact-map-layer {
        width: 100%;
        height: 400px;
        min-height: 400px;
        order: 2;
    }
    .contact-form-layer {
        width: 100%;
        padding: 40px 30px;
        order: 1;
    }
    
    .services-premium-layout { grid-template-columns: 1fr; }
    .services-sidebar { position: relative; top: 0; margin-bottom: 20px; }
    
    .portfolio-premium-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-premium-item:nth-child(1), .portfolio-premium-item:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 768px) {
    .contact-bg-text { font-size: 60px; top: 60px; }
    .contact-hero-content h1 { font-size: 42px; }
    .service-article-img { height: 250px; }
    .portfolio-premium-grid { grid-template-columns: 1fr; }
    .hero-premium-content { padding: 30px; text-align: center; }
    .hero-floating-badge { display: none; }
    .cta-premium { padding: 40px 20px; }
    .contact-form-layer { padding: 30px 20px; }
    .service-article-body { padding: 30px; }
    section { padding: 60px 0 !important; }
    .hero-premium-content h1 { font-size: 40px; }
}

/* 10. WOW EFFECT: CUSTOM CURSOR & PROGRESS BAR */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--renk-ana), #e2c073);
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(193, 155, 72, 0.4);
    transition: width 0.1s ease-out;
}

/* Service Article Hover Effect Enhancement */
.service-article-img {
    transition: transform 0.3s ease;
    will-change: transform;
    transform-style: preserve-3d;
}
.service-article:hover .service-article-icon {
    transform: scale(1.1) rotate(5deg);
    transition: all 0.4s ease;
}
.services-nav-list a.active {
    background: var(--renk-ana);
    color: #fff;
    padding-left: 20px;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}


/* Split Screen Design - Global */
.split-layout {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    background: #fdfdfc;
    color: #111;
}
.portfolio-split {
    flex-direction: row-reverse;
    background: #0f1014;
    color: #fff;
}
.split-image {
    width: 50%;
    position: relative;
    background: #000;
}
.portfolio-split .split-image {
    width: 55%;
}
.split-image-inner {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
}
.split-image-inner::after {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}
.portfolio-split .split-image-inner::after {
    background: linear-gradient(to right, rgba(15,16,20,1) 0%, rgba(15,16,20,0) 20%);
}

.split-content {
    width: 50%;
    padding: 60px 40px;
    display: flex;
    align-items: center;
}
.portfolio-split .split-content {
    width: 45%;
    padding: 80px 40px;
}
.split-content-inner {
    max-width: 700px;
    width: 100%;
}
.portfolio-split .split-content-inner {
    max-width: 600px;
    margin-left: auto;
}
.split-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--renk-ana);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}
.split-badge {
    display: inline-block;
    padding: 8px 16px;
    background: transparent;
    color: var(--renk-ana);
    border: 1px solid var(--renk-ana);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.split-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: inherit;
    letter-spacing: -1px;
}
.portfolio-split .split-title {
    font-size: 38px;
    letter-spacing: -0.5px;
}
.split-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    font-weight: 400;
}
.portfolio-split .split-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #bbb;
    font-weight: 300;
}
.split-details {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
    padding-left: 15px;
    border-left: 3px solid var(--renk-ana);
}
.split-action {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 45px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
}
.split-action:hover {
    background: var(--renk-ana);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.split-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-primary-split {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--renk-ana);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-primary-split:hover {
    background: #fff;
    color: var(--renk-ana);
    transform: translateY(-3px);
}
.btn-outline-split {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-outline-split:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

@media (max-width: 992px) {
    .split-image, .split-content { width: 100%; }
    .split-image-inner { height: 60vh; position: relative; }
    .split-content { padding: 60px 30px; }
    .split-title { font-size: 42px; }
    .portfolio-split { flex-direction: column; }
    .portfolio-split .split-image-inner { height: 50vh; }
    .portfolio-split .split-image-inner::after { background: linear-gradient(to bottom, rgba(15,16,20,1) 0%, rgba(15,16,20,0) 30%); }
    .portfolio-split .split-title { font-size: 40px; }
}

/* ============================================
   11. MEGA NAVBAR & MEGA ABOUT (1993)
   ============================================ */

.header-mega {
    position: fixed;
    top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.header-mega.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    padding: 5px 0;
}
.nav-container-mega {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}
.header-mega.scrolled .nav-container-mega {
    padding: 10px 40px;
}
.logo-mega { flex: 1; }
.logo-img-mega { max-height: 50px; }
.nav-menu-mega {
    flex: 2;
    display: flex; justify-content: center;
}
.nav-menu-mega ul {
    list-style: none; display: flex; gap: 40px; margin: 0; padding: 0;
}
.nav-link-mega {
    font-size: 15px; font-weight: 700; color: #333; text-decoration: none;
    letter-spacing: 0.5px; text-transform: uppercase;
    position: relative; padding: 10px 0;
    transition: color 0.3s ease;
}
.nav-link-mega::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
    background: linear-gradient(90deg, var(--renk-ana), #e2c073);
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-link-mega:hover, .nav-link-mega.active { color: var(--renk-ana); }
.nav-link-mega:hover::after, .nav-link-mega.active::after { width: 100%; }

.nav-action-mega {
    flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 20px;
}
.btn-mega-action {
    background: linear-gradient(135deg, var(--renk-ana), #2563eb);
    color: #fff; padding: 14px 32px; border-radius: 50px; font-weight: 700;
    font-size: 14px; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
    transition: all 0.4s ease; text-decoration: none;
}
.btn-mega-action:hover {
    transform: translateY(-3px); box-shadow: 0 15px 30px rgba(30, 58, 138, 0.4); color: #fff;
}
.menu-toggle-mega {
    display: none; background: none; border: none; font-size: 28px; color: var(--renk-ana); cursor: pointer;
}
/* -- İletişim (İçerik) -- */
.contact-content { padding: 80px 0; background: #fff; position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

/* MEGA ABOUT (1993) */
.about-mega-section {
    padding: 80px 0; background: #fff; position: relative; overflow: hidden;
}
.about-mega-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1300px; margin: 0 auto; padding: 0 40px;
}
.about-mega-content { position: relative; z-index: 2; }
.about-mega-year {
    font-size: clamp(60px, 8vw, 100px); font-weight: 900; line-height: 1;
    color: transparent; -webkit-text-stroke: 2px rgba(30, 58, 138, 0.15);
    position: absolute; top: -50px; left: -10px; z-index: -1; user-select: none;
}
.about-mega-content h2 {
    font-size: clamp(32px, 4vw, 40px); font-weight: 800; line-height: 1.2; margin-bottom: 25px; letter-spacing: -0.5px; color: var(--renk-yazi);
}
.about-mega-content h2 span { color: var(--renk-ana); }
.about-mega-text {
    font-size: 18px; line-height: 1.8; color: var(--renk-yazi-ikincil); margin-bottom: 40px;
}
.about-mega-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.about-mega-feature {
    display: flex; align-items: center; gap: 15px; background: rgba(30, 58, 138, 0.03); padding: 20px; border-radius: 20px; border: 1px solid rgba(30, 58, 138, 0.05); transition: transform 0.3s ease;
}
.about-mega-feature:hover { transform: translateY(-5px); }
.about-mega-feature i { font-size: 24px; color: var(--renk-ana); }
.about-mega-feature span { font-weight: 700; font-size: 16px; color: var(--renk-yazi); }

.about-mega-image { position: relative; height: 500px; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.about-mega-image img { width: 100%; height: 100%; object-fit: cover; }
.about-mega-badge {
    position: absolute; bottom: 30px; left: -20px; background: #fff; padding: 25px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-left: 5px solid var(--renk-ana);
}
.about-mega-badge h3 { font-size: 32px; font-weight: 900; color: var(--renk-ana); line-height: 1; margin-bottom: 5px; }
.about-mega-badge p { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--renk-yazi-soluk); letter-spacing: 1px; }

@media (max-width: 991px) {
    .nav-menu-mega { display: none; }
    .btn-mega-action { display: none; }
    .menu-toggle-mega { display: block; }
    .about-mega-grid { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
    .about-mega-image { height: 400px; }
    .about-mega-badge { left: 10px; bottom: -20px; padding: 20px; }
    .about-mega-features { grid-template-columns: 1fr; }
}

/* ============================================
   12. FLOATING PILL NAVBAR
   ============================================ */

.header-floating {
    position: fixed;
    top: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1200px; z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.header-floating.scrolled {
    top: 10px; width: 95%; max-width: 1300px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}
.nav-container-floating {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 25px;
}
.logo-floating { flex: 1; }
.logo-img-floating { max-height: 40px; }
.nav-menu-floating { flex: 2; display: flex; justify-content: center; }
.nav-menu-floating ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav-link-floating {
    font-size: 14px; font-weight: 700; color: var(--renk-yazi); text-decoration: none;
    letter-spacing: 0.5px; text-transform: uppercase; padding: 8px 16px; border-radius: 30px;
    transition: all 0.3s ease;
}
.nav-link-floating:hover, .nav-link-floating.active {
    background: var(--renk-ana); color: #fff;
}
.nav-action-floating { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 15px; }
.btn-floating-action {
    background: #111; color: #fff; padding: 12px 28px; border-radius: 40px; font-weight: 700;
    font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.3s ease; text-decoration: none; border: 2px solid #111;
}
.btn-floating-action:hover {
    background: transparent; color: #111;
}
.menu-toggle-floating { display: none; background: none; border: none; font-size: 24px; color: #111; cursor: pointer; }

@media (max-width: 991px) {
    .header-floating { top: 10px; width: 95%; border-radius: 20px; }
    .nav-menu-floating { display: none; }
    .btn-floating-action { display: none; }
    .menu-toggle-floating { display: block; }
}

/* ============================================
   13. MASSIVE NAVBAR & GLOBAL SCALE UP
   ============================================ */

/* Global Normal Scale Overrides */
html { font-size: 100%; }
body { font-size: 15px; line-height: 1.6; }
.section-title { font-size: clamp(28px, 4vw, 42px) !important; font-weight: 800 !important; letter-spacing: -0.5px !important; margin-bottom: 20px !important; }
.section-desc { font-size: 16px !important; max-width: 700px; margin: 0 auto; line-height: 1.7; }
section { padding: 90px 0 !important; }
.btn { padding: 12px 28px !important; font-size: 14px !important; letter-spacing: 0.5px !important; }

/* Header Standard */
.header-massive {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 4px solid #c19b48; /* Premium Architectural Gold Top Framing */
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 15px 0;
}
.header-massive.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
}
.nav-container-massive {
    max-width: 1400px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-massive { flex: 1; }
.logo-img-massive { max-height: 54px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.header-massive.scrolled .logo-img-massive { max-height: 44px; }

.nav-menu-massive { flex: 2; display: flex; justify-content: center; }
.nav-menu-massive ul { list-style: none; display: flex; gap: 35px; margin: 0; padding: 0; }
.nav-link-massive {
    font-family: var(--font-baslik);
    font-size: 13.5px; font-weight: 700; color: var(--renk-yazi-ikincil); text-decoration: none;
    text-transform: uppercase; letter-spacing: 1px; padding: 8px 0;
    position: relative; transition: color 0.3s ease;
}
.nav-link-massive::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 3px; background: #c19b48; /* Gold border indicator */
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link-massive:hover, .nav-link-massive.active { color: #c19b48; }
.nav-link-massive:hover::after, .nav-link-massive.active::after { width: 100%; }

.nav-action-massive { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 15px; }
.btn-massive-action {
    background: var(--renk-ana); 
    color: #fff; padding: 12px 26px; border-radius: 4px;
    font-family: var(--font-baslik);
    font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.3s ease; text-decoration: none; border: 2px solid var(--renk-ana);
}
.btn-massive-action:hover {
    background: #c19b48; border-color: #c19b48; color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(193, 155, 72, 0.25);
}
.menu-toggle-massive {
    display: none; background: none; border: none; cursor: pointer;
    width: 40px; height: 30px; position: relative; z-index: 2000;
}
.menu-toggle-massive .bar {
    display: block; width: 100%; height: 3px; background: #111; position: absolute;
    transition: all 0.3s ease;
}
.menu-toggle-massive .bar-1 { top: 0; }
.menu-toggle-massive .bar-2 { top: 50%; transform: translateY(-50%); }
.menu-toggle-massive .bar-3 { bottom: 0; }

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed; inset: 0; background: #111; z-index: 1500;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateY(-100%);
}
.mobile-menu-overlay.active {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.mobile-menu-close {
    position: absolute; top: 40px; right: 40px; background: none; border: none;
    color: #fff; font-size: 40px; cursor: pointer; transition: transform 0.3s ease;
}
.mobile-menu-close:hover { transform: rotate(90deg); }
.mobile-menu-content { text-align: center; display: flex; flex-direction: column; gap: 30px; }
.mobile-link {
    font-family: var(--font-baslik); font-size: 36px; font-weight: 800; color: #fff;
    text-decoration: none; text-transform: uppercase; letter-spacing: 2px;
    position: relative; overflow: hidden; display: inline-block;
}
.mobile-link::before {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
    background: var(--renk-ana); transform: translateX(-100%); transition: transform 0.4s ease;
}
.mobile-link:hover::before, .mobile-link.active::before { transform: translateX(0); }

@media (max-width: 1200px) {
    .nav-menu-massive { display: none; }
    .btn-massive-action { display: none; }
    .menu-toggle-massive { display: block; }
    .nav-container-massive { padding: 0 30px; }
}

@media (max-width: 768px) {
    section { padding: 60px 0 !important; }
    .hero-premium-content h1 { font-size: 40px; }
    .hero-premium-title { font-size: 48px !important; }
    .section-title { font-size: 36px !important; }
}

/* ============================================
   14. PREMIUM LEGAL PAGES STYLE
   ============================================ */
.legal-premium-wrapper {
    padding: 140px 0 80px 0;
    background-color: #fcfbfa;
    min-height: 100vh;
}
.legal-premium-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}
.legal-premium-sidebar {
    position: sticky;
    top: 110px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.01);
}
.legal-premium-sidebar h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--renk-ana, #c19b48);
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}
.legal-sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.legal-sidebar-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--renk-yazi-ikincil);
    font-weight: 600;
    transition: all 0.3s;
    border-left: 2px solid transparent;
}
.legal-sidebar-menu a:hover {
    background: rgba(193, 155, 72, 0.05);
    color: var(--renk-ana, #c19b48);
    padding-left: 18px;
}
.legal-sidebar-menu a.active {
    background: rgba(193, 155, 72, 0.08);
    color: var(--renk-ana, #c19b48);
    border-left-color: var(--renk-ana, #c19b48);
}
.legal-print-btn {
    margin-top: 25px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: #fafafa;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    color: var(--renk-yazi);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.legal-print-btn:hover {
    background: var(--renk-yazi);
    color: #fff;
}
.legal-premium-body {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.02);
}
.legal-meta-box {
    background: #fafafa;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    border-left: 4px solid var(--renk-ana, #c19b48);
    font-size: 13.5px;
}
.legal-meta-item strong {
    color: var(--renk-yazi);
}
.legal-premium-body h1 {
    font-size: 34px;
    font-weight: 800;
    color: var(--renk-yazi);
    margin-bottom: 15px;
}
.legal-premium-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--renk-yazi-ikincil);
    margin-bottom: 24px;
}
.legal-section {
    scroll-margin-top: 120px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 40px;
    margin-top: 40px;
}
.legal-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--renk-yazi);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.legal-section h3 span {
    color: var(--renk-ana, #c19b48);
    font-size: 16px;
    font-weight: 800;
}
.legal-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.legal-data-card {
    background: #fafafa;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}
.legal-data-card:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border-color: rgba(193, 155, 72, 0.15);
}
.legal-data-card i {
    font-size: 24px;
    color: var(--renk-ana, #c19b48);
    margin-bottom: 15px;
    display: block;
}
.legal-data-card h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--renk-yazi);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.legal-data-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--renk-yazi-ikincil);
    margin-bottom: 0;
}
.legal-list {
    margin-bottom: 24px;
    padding-left: 20px;
    list-style: none;
}
.legal-list li {
    position: relative;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--renk-yazi-ikincil);
    margin-bottom: 12px;
    padding-left: 20px;
}
.legal-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--renk-ana, #c19b48);
    font-size: 13px;
}

@media print {
    header, footer, .legal-premium-sidebar, .whatsapp-float, #back-to-top {
        display: none !important;
    }
    .legal-premium-wrapper {
        padding: 0;
        background: #fff;
    }
    .legal-premium-grid {
        grid-template-columns: 1fr;
    }
    .legal-premium-body {
        border: none;
        box-shadow: none;
        padding: 0;
    }
}

@media (max-width: 991px) {
    .legal-premium-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .legal-premium-sidebar {
        position: relative;
        top: 0;
    }
    .legal-premium-body {
        padding: 30px;
    }
}

/* ============================================
   WhatsApp Fake-Live Chat Widget
   ============================================ */
.whatsapp-widget-container {
    position: fixed;
    bottom: 28px;
    z-index: 1000;
    font-family: var(--font-govde, 'Outfit', sans-serif);
}

.whatsapp-widget-trigger {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #25d366;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1001;
}
.whatsapp-widget-trigger:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}
.whatsapp-widget-trigger.active {
    transform: scale(0.92) rotate(90deg);
    background-color: var(--renk-ana, #b0873c);
    box-shadow: 0 6px 20px rgba(176, 135, 60, 0.35);
}

.whatsapp-notification-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: #ff3b30;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: pulseBadge 2.5s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-chat-window {
    position: absolute;
    bottom: 67px;
    right: 0;
    width: 330px;
    background: #f7f5f0;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.97);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.04);
}
.whatsapp-widget-container.position-left .whatsapp-chat-window {
    right: auto;
    left: 0;
}
.whatsapp-widget-container.position-right .whatsapp-chat-window {
    right: 0;
    left: auto;
}
.whatsapp-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-chat-header {
    background-color: var(--renk-ana, #b0873c);
    padding: 14px 18px;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.whatsapp-avatar-wrapper {
    position: relative;
    margin-right: 12px;
}
.whatsapp-avatar-wrapper img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.25);
}
.whatsapp-status-indicator {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 8px;
    height: 8px;
    background-color: #4cd964;
    border-radius: 50%;
    border: 2px solid var(--renk-ana, #b0873c);
}
.whatsapp-header-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 1px 0;
    color: #fff;
    letter-spacing: -0.2px;
}
.whatsapp-header-info p {
    font-size: 10px;
    margin: 0;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 3px;
}
.whatsapp-pulsing-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #4cd964;
    border-radius: 50%;
    margin-right: 2px;
    box-shadow: 0 0 0 rgba(76, 217, 100, 0.4);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.7); }
    70% { box-shadow: 0 0 0 5px rgba(76, 217, 100, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 217, 100, 0); }
}

.whatsapp-chat-close {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.whatsapp-chat-close:hover {
    color: #fff;
}

.whatsapp-chat-body {
    padding: 16px;
    max-height: 270px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: contain;
}
.whatsapp-message-bubble {
    background: #fff;
    padding: 9px 12px;
    border-radius: 0 12px 12px 12px;
    max-width: 88%;
    align-self: flex-start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    position: relative;
    transition: all 0.3s ease;
}
.whatsapp-message-bubble.incoming::before {
    content: '';
    position: absolute;
    top: 0;
    left: -6px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: #fff;
    border-right-color: #fff;
}
.whatsapp-message-bubble.outgoing {
    background: #e2f9c3;
    align-self: flex-end;
    border-radius: 12px 0 12px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.whatsapp-message-bubble.outgoing::before {
    content: '';
    position: absolute;
    top: 0;
    right: -6px;
    left: auto;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: #e2f9c3;
    border-left-color: #e2f9c3;
}
.whatsapp-sender {
    font-size: 10px;
    font-weight: 700;
    color: var(--renk-ana, #b0873c);
    margin-bottom: 3px;
}
.whatsapp-message-text {
    font-size: 12.5px;
    line-height: 1.45;
    color: #333;
}
.whatsapp-time {
    font-size: 9px;
    color: #999;
    text-align: right;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.whatsapp-ticks {
    color: #4fc3f7;
    margin-left: 3px;
    font-size: 10px;
}

/* Typing indicator bubble style */
.whatsapp-typing-indicator-bubble {
    background: #fff;
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: opacity 0.3s ease;
}
.whatsapp-typing-indicator-bubble .dot {
    width: 5px;
    height: 5px;
    background-color: #999;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}
.whatsapp-typing-indicator-bubble .dot:nth-child(1) { animation-delay: -0.32s; }
.whatsapp-typing-indicator-bubble .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.whatsapp-chat-body .hidden {
    display: none !important;
}

.whatsapp-quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
    animation: fadeInUp 0.4s ease forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.whatsapp-quick-btn {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(176, 135, 60, 0.18);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--renk-ana, #b0873c);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    gap: 6px;
}
.whatsapp-quick-btn:hover {
    background: var(--renk-ana, #b0873c);
    color: #fff;
    border-color: var(--renk-ana, #b0873c);
    transform: translateY(-1.5px);
}
.whatsapp-quick-btn i {
    font-size: 12px;
}

.whatsapp-chat-footer {
    background: #fcfcfb;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(0,0,0,0.04);
}
.whatsapp-chat-footer input {
    flex: 1;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    background: #fff;
    color: #333;
    transition: all 0.2s;
}
.whatsapp-chat-footer input:focus {
    outline: none;
    border-color: var(--renk-ana, #b0873c);
    box-shadow: 0 0 0 1px rgba(176, 135, 60, 0.15);
}
.whatsapp-chat-footer button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--renk-ana, #b0873c);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.2s, transform 0.2s;
}
.whatsapp-chat-footer button:hover {
    background: var(--renk-ana-hover, #957030);
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .whatsapp-widget-container {
        bottom: 20px;
    }
    .whatsapp-widget-container[style*="right:"] {
        right: 20px;
    }
    .whatsapp-widget-container[style*="left:"] {
        left: 20px;
    }
    .whatsapp-chat-window {
        width: 290px;
        bottom: 60px;
    }
}

/* Custom Scrollbar for WhatsApp Chat Body */
.whatsapp-chat-body::-webkit-scrollbar {
    width: 5px;
}
.whatsapp-chat-body::-webkit-scrollbar-track {
    background: transparent;
}
.whatsapp-chat-body::-webkit-scrollbar-thumb {
    background: rgba(176, 135, 60, 0.25);
    border-radius: 10px;
}
.whatsapp-chat-body::-webkit-scrollbar-thumb:hover {
    background: rgba(176, 135, 60, 0.45);
}

/* Navigation Buttons Styles */
.whatsapp-nav-options .whatsapp-quick-btn {
    border-style: dashed !important;
    font-size: 10.5px;
    padding: 6px 10px;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.whatsapp-nav-options .whatsapp-btn-back:hover {
    background: #f5f5f5 !important;
    color: #333 !important;
    border-color: #999 !important;
    transform: translateX(-2px);
}
.whatsapp-nav-options .whatsapp-btn-reset:hover {
    background: #fff0f0 !important;
    color: #ff3b30 !important;
    border-color: #ff3b30 !important;
    transform: translateY(-1.5px);
}

/* General micro-animations */
.whatsapp-message-bubble {
    animation: bubblePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes bubblePop {
    from { opacity: 0; transform: scale(0.9) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}


