/* Temel Reset & Modern Stil */
*,
*::before,
*::after { box-sizing: border-box; margin:0; padding:0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 70px;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1e40af;
}
.logo a { text-decoration: none; color: inherit; }

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1e40af;
    border-radius: 3px;
    transition: 0.3s;
}

/* Sidebar & Overlay (değişmedi) */
.sidebar { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: #1e293b; color: #fff; transition: left 0.3s ease; z-index: 1100; padding: 20px; display: flex; flex-direction: column; }
.sidebar.active { left: 0; }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #334155; }
.sidebar-header h3 { font-size: 22px; color: #60a5fa; }
.close-btn { background: none; border: none; font-size: 32px; color: #94a3b8; cursor: pointer; }
.sidebar-menu { list-style: none; flex-grow: 1; }
.sidebar-menu a { color: #e2e8f0; text-decoration: none; font-size: 16px; display: block; padding: 12px 0; transition: 0.2s; }
.sidebar-menu a:hover { color: #60a5fa; padding-left: 8px; }
.sidebar-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid #334155; font-size: 13px; color: #64748b; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1050; }
.overlay.active { opacity: 1; visibility: visible; }

/* Main Content */
.main-content { margin-top: 90px; padding: 40px 0; }

.hero { text-align: center; margin-bottom: 60px; }
.hero h1 { font-size: 42px; margin-bottom: 16px; color: #1e293b; }
.lead { font-size: 20px; color: #475569; max-width: 800px; margin: 0 auto; }

/* ==================== KARTLAR & BUTONLAR (YENİLENMİŞ) ==================== */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 20px;
}
@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.07);
    transition: all 0.4s ease;
}
.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3; /* 800×600 için mükemmel */
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 28px;
}
.card-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1e293b;
    font-weight: 700;
}
.card-content .location {
    font-size: 16px;
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 12px;
}
.card-content p {
    color: #475569;
    font-size: 15.5px;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* 3 BUTON – YAN YANA, HARİKA RENK UYUMU */
.card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    justify-content: center;
}

.card-buttons .btn {
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;   /* ← BU OLMALI */
    flex: 1;
    min-width: 105px;
    font-size: 15px;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 1. Sayfa Detayı – Lacivert */
.btn-detail {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: white;
}
.btn-detail:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(30,64,175,0.4);
}

/* 2. Siteyi Görüntüle – Canlı Yeşil */
.btn-view {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}
.btn-view:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(16,185,129,0.4);
}

/* 3. Teklif Al – WhatsApp Yeşili (en dikkat çekici) */
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex: 1.4; /* biraz daha geniş */
    box-shadow: 0 6px 20px rgba(37,211,102,0.45);
}
.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(37,211,102,0.6);
}

/* Ticker (kayan yazı) */
.ticker {
    height: 70px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    overflow: hidden;
    margin: 50px 0;
    border-bottom: 5px solid #fbbf24;
    line-height: 70px;
    color: white;
    font-weight: 700;
    font-size: 20px;
    white-space: nowrap;
}
.marquee { display: inline-block; animation: marquee 25s linear infinite; padding-left: 100%; }
.marquee span { margin: 0 50px; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }
@keyframes marquee { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }

@media (max-width: 768px) {
    .ticker { height: 62px; line-height: 62px; font-size: 16px; }
    .marquee span { margin: 0 35px; }
    .marquee { animation: marquee 18s linear infinite; }
    .card-buttons { flex-direction: column; }
    .card-buttons .btn { min-width: auto; }
    .hero h1 { font-size: 34px; }
}

/* Responsive genel */
@media (max-width: 640px) {
    .hero h1 { font-size: 32px; }
    .lead { font-size: 18px; }
    .card-content { padding: 20px; }
}