/* ============================================================
   Drone Fiyat Hesaplama Widget – CSS
   Tasarım dili: Skydrone (lacivert + mavi + Syne / DM Sans)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&family=DM+Sans:wght@400;500&display=swap');

/* ── Outer: iki kolon ── */
.dpc-outer {
    font-family: 'DM Sans', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    width: 100%;
}

/* ── Animasyon sahnesi ── */
.dpc-scene {
    position: relative;
    width: 360px;
    min-width: 280px;
    flex-shrink: 0;
    overflow: hidden;
    background: #040915;
}

.dpc-city-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.dpc-scene-badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(13,21,54,0.85);
    border: 1px solid rgba(131,206,246,0.3);
    border-radius: 99px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #83CEF6;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    letter-spacing: 0.5px;
}

/* Propeller CSS spin */
.dpc-prop {
    transform-origin: center;
    animation: dpc-spin 0.15s linear infinite;
}
.dpc-prop:nth-child(2),
.dpc-prop:nth-child(4) { animation-direction: reverse; }

@keyframes dpc-spin {
    to { transform: rotate(360deg); }
}

/* LED blink */
.dpc-led-red,  .dpc-blink-red   { animation: dpc-blink-r 1.2s ease-in-out infinite; }
.dpc-led-green,.dpc-blink-green  { animation: dpc-blink-g 0.9s ease-in-out infinite 0.4s; }

@keyframes dpc-blink-r { 0%,100%{opacity:1} 50%{opacity:0.1} }
@keyframes dpc-blink-g { 0%,100%{opacity:1} 50%{opacity:0.15} }

/* Spotlight */
.dpc-spotlight { animation: dpc-beam 3s ease-in-out infinite; }
@keyframes dpc-beam { 0%,100%{opacity:0.06} 50%{opacity:0.2} }

/* ── Kart ── */
.dpc-card {
    background-color: #0D1536;
    border-left: 1px solid rgba(131,206,246,0.12);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 300px;
}

.dpc-title {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.dpc-subtitle {
    font-size: 12.5px;
    color: #BFBFC0;
    margin: 0;
    line-height: 1.6;
}

.dpc-fields {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.dpc-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dpc-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dpc-field-label {
    font-size: 12.5px;
    font-weight: 500;
    color: #EEF1F6;
}

.dpc-area-value {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #83CEF6;
}

/* ── Slider ── */
.dpc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 99px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(
        to right,
        #83CEF6 0%,
        #83CEF6 var(--dpc-fill, 4%),
        rgba(131,206,246,0.18) var(--dpc-fill, 4%),
        rgba(131,206,246,0.18) 100%
    );
}

.dpc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #83CEF6;
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(131,206,246,0.25);
    transition: transform 0.15s;
}

.dpc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.dpc-slider::-moz-range-thumb {
    width: 18px; height: 18px; border: none; border-radius: 50%;
    background: #83CEF6; cursor: pointer;
    box-shadow: 0 0 0 3px rgba(131,206,246,0.25);
}

/* ── Select ── */
.dpc-select-wrap { position: relative; }

.dpc-select-wrap::after {
    content: '';
    position: absolute;
    right: 13px; top: 50%;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #83CEF6;
    pointer-events: none;
}

.dpc-select {
    -webkit-appearance: none; appearance: none;
    width: 100%;
    padding: 9px 36px 9px 12px;
    background: #0B122D;
    border: 1px solid rgba(131,206,246,0.2);
    border-radius: 7px;
    color: #EEF1F6;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.dpc-select:hover, .dpc-select:focus { border-color: rgba(131,206,246,0.45); }
.dpc-select option { background: #0B122D; }

/* ── Notlar ── */
.dpc-notes {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 5px;
}

.dpc-notes li {
    font-size: 11.5px; color: #78797A;
    padding-left: 13px; position: relative; line-height: 1.5;
}

.dpc-notes li::before {
    content: '•'; position: absolute; left: 0;
    color: #83CEF6; font-size: 13px; line-height: 1.3;
}

/* ── Sonuç ── */
.dpc-result-box {
    display: flex; align-items: center; justify-content: space-between;
    background: #182663;
    border: 1px solid rgba(131,206,246,0.25);
    border-radius: 10px;
    padding: 13px 18px; gap: 10px;
}

.dpc-result-label {
    font-family: 'Syne', sans-serif;
    font-size: 13.5px; font-weight: 600; color: #FFFFFF;
}

.dpc-price-value {
    font-family: 'Syne', sans-serif;
    font-size: 20px; font-weight: 700; color: #83CEF6;
    white-space: nowrap; letter-spacing: -0.4px;
    transition: all 0.25s ease;
}

.dpc-price-value.updating { opacity: 0.5; transform: scale(0.95); }

.dpc-result-desc {
    font-size: 11px; color: #78797A;
    margin: 0; line-height: 1.6; min-height: 16px;
}

/* ── Butonlar ── */
.dpc-buttons { display: flex; flex-direction: column; gap: 8px; }

.dpc-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 12px 20px; border-radius: 99px;
    font-family: 'Syne', sans-serif;
    font-size: 14px; font-weight: 600;
    text-decoration: none; cursor: pointer;
    transition: transform 0.15s, filter 0.15s;
    letter-spacing: -0.2px;
}

.dpc-btn:hover { transform: translateY(-2px); text-decoration: none; filter: brightness(1.08); }
.dpc-btn:active { transform: translateY(0); }

.dpc-btn-offer {
    background: #83CEF6; color: #0D1536;
    box-shadow: 0 4px 18px rgba(131,206,246,0.35);
}
.dpc-btn-offer:hover { color: #0D1536; }

.dpc-btn-whatsapp {
    background: #25D366; color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37,211,102,0.28);
}
.dpc-btn-whatsapp:hover { color: #FFFFFF; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .dpc-outer { flex-direction: column; }
    .dpc-scene { width: 100%; min-width: unset; height: 220px; }
    .dpc-city-svg { height: 220px; }
}

@media (max-width: 480px) {
    .dpc-card { padding: 20px 16px; }
    .dpc-title { font-size: 15px; }
    .dpc-price-value { font-size: 17px; }
    .dpc-result-box { flex-direction: column; align-items: flex-start; gap: 3px; }
}


/* ============================================================
   Hizmetler Grid Widget – CSS
   ============================================================ */

.dsg-wrapper { font-family: 'DM Sans', sans-serif; width: 100%; }

.dsg-heading { text-align: center; margin-bottom: 40px; }

.dsg-section-title {
    font-family: 'Syne', sans-serif;
    font-size: 36px; font-weight: 700; color: #FFFFFF;
    margin: 0 0 12px; letter-spacing: -0.5px; line-height: 1.2;
}

.dsg-section-subtitle {
    font-size: 16px; color: #BFBFC0;
    margin: 0 auto; max-width: 520px; line-height: 1.6;
}

.dsg-grid { display: grid; gap: 24px; }
.dsg-cols-1 { grid-template-columns: 1fr; }
.dsg-cols-2 { grid-template-columns: repeat(2,1fr); }
.dsg-cols-3 { grid-template-columns: repeat(3,1fr); }
.dsg-cols-4 { grid-template-columns: repeat(4,1fr); }

.dsg-card {
    background: #0D1536;
    border: 1px solid rgba(131,206,246,0.15);
    border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.dsg-card:hover {
    transform: translateY(-5px);
    border-color: rgba(131,206,246,0.5);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.dsg-image-wrap {
    display: block; position: relative;
    overflow: hidden; aspect-ratio: 16/9; flex-shrink: 0;
}

.dsg-image { width:100%; height:100%; object-fit:cover; transition: transform .4s; }
.dsg-card:hover .dsg-image { transform: scale(1.05); }

.dsg-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(13,21,54,0.85) 100%);
}

.dsg-icon-wrap {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px;
    background: rgba(131,206,246,0.12);
    border-radius: 14px; margin: 24px 24px 0; flex-shrink: 0;
    transition: background .2s;
}

.dsg-card:hover .dsg-icon-wrap { background: rgba(131,206,246,0.2); }
.dsg-icon-emoji { font-size: 28px; line-height: 1; }

.dsg-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.dsg-title {
    font-family: 'Syne', sans-serif;
    font-size: 18px; font-weight: 700; margin: 0; line-height: 1.3; letter-spacing: -0.3px;
}

.dsg-title a { color: #FFFFFF; text-decoration: none; transition: color .15s; }
.dsg-title a:hover { color: #83CEF6; }

.dsg-excerpt { font-size: 14px; color: #BFBFC0; margin: 0; line-height: 1.65; flex: 1; }

.dsg-btn {
    display: inline-flex; align-items: center; gap: 6px;
    color: #83CEF6; font-size: 13.5px; font-weight: 600;
    text-decoration: none; margin-top: auto; padding-top: 4px; transition: gap .2s;
}

.dsg-btn:hover { color: #9dd8f8; gap: 10px; text-decoration: none; }

.dsg-footer { display: flex; justify-content: center; margin-top: 40px; }

.dsg-all-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 30px;
    border: 1.5px solid rgba(131,206,246,0.4); border-radius: 99px;
    color: #83CEF6; font-family: 'Syne', sans-serif;
    font-size: 15px; font-weight: 600; text-decoration: none;
    transition: background .2s, border-color .2s, gap .2s;
}

.dsg-all-btn:hover {
    background: rgba(131,206,246,0.08);
    border-color: rgba(131,206,246,0.7);
    color: #83CEF6; gap: 12px; text-decoration: none;
}

.dsg-empty { text-align: center; padding: 60px 24px; color: #78797A; }
.dsg-empty a {
    display: inline-block; margin-top: 12px; padding: 10px 22px;
    background: rgba(131,206,246,0.1); border: 1px solid rgba(131,206,246,0.3);
    border-radius: 8px; color: #83CEF6; text-decoration: none; font-size: 14px;
}

@media (max-width: 1024px) {
    .dsg-cols-4, .dsg-cols-3 { grid-template-columns: repeat(2,1fr); }
    .dsg-section-title { font-size: 28px; }
}
@media (max-width: 600px) {
    .dsg-cols-4, .dsg-cols-3, .dsg-cols-2 { grid-template-columns: 1fr; }
    .dsg-section-title { font-size: 24px; }
    .dsg-grid { gap: 16px; }
}
