/* =========================================
   WEBGUIDE GOOGLE ADS - PAGE SPECIFIC CSS
   ========================================= */

/* Hero bölümü 'webguide-money-page.css' üzerinden stil alıyor. */

/* --- ADS UI DASHBOARD SECTION --- */
.ads-why-us-section {
    padding: 6rem 0;
    background-color: #f8f9fa; /* Google Gri Arka Planı */
}

/* UI Card Container */
.ads-ui-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    min-height: 500px;
}

/* --- SIDEBAR --- */
.ads-ui-sidebar {
    width: 250px;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.ui-brand {
    font-family: 'Product Sans', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #5f6368;
}

.ui-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ui-menu li {
    padding: 12px 16px;
    margin-bottom: 4px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: #5f6368;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.ui-menu li .icon {
    width: 20px;
    display: flex;
    justify-content: center;
}
.ui-menu li .icon svg { width: 20px; height: 20px; }

.ui-menu li:hover {
    background-color: #f1f3f4;
    color: #202124;
}

.ui-menu li.active {
    background-color: #e8f0fe;
    color: #1967d2;
    font-weight: 600;
}

.ui-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 1.5rem 0;
}

.ui-campaign-status {
    font-size: 0.9rem;
    color: #0b8043; /* Yeşil */
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #0b8043;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(11, 128, 67, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(11, 128, 67, 0); }
    100% { box-shadow: 0 0 0 0 rgba(11, 128, 67, 0); }
}

/* --- MAIN CONTENT --- */
.ads-ui-content {
    flex-grow: 1;
    padding: 2rem;
    background-color: #f8f9fa;
}

/* Top Bar */
.ui-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.ui-title {
    font-size: 1.2rem;
    color: #202124;
}

.ui-date-range {
    background: #fff;
    border: 1px solid #dadce0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #5f6368;
    cursor: pointer;
}

/* Metrics Grid */
.ui-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ui-metric-card {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.85rem;
    color: #5f6368;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    color: #202124;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.metric-change {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.metric-change.positive { color: #0b8043; } /* Yeşil */
.metric-change.negative { color: #d93025; } /* Kırmızı */

/* Details Split (Chart & Text) */
.ui-details-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Chart Area */
.ui-chart-wrapper {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 1.5rem;
}

.chart-title {
    font-size: 1rem;
    color: #202124;
    margin-bottom: 1rem;
}

.css-chart-container {
    width: 100%;
    position: relative;
    padding-bottom: 5px;
}

.chart-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Animasyonlu Çizgi */
.chart-svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawChart 2s ease-out forwards;
}
.chart-svg path[fill] {
    stroke: none;
    opacity: 0;
    animation: fadeFill 1s ease-out 1s forwards;
}

@keyframes drawChart {
    to { stroke-dashoffset: 0; }
}
@keyframes fadeFill {
    to { opacity: 0.5; }
}

/* Text Content */
.ui-text-content {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.ui-text-content h3 {
    font-size: 1.1rem;
    color: var(--clr-secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.ui-text-content p {
    font-size: 0.9rem;
    color: var(--clr-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ui-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ui-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--clr-text);
}

.benefit-icon {
    color: #1967d2; /* Google Mavi */
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
    .ads-ui-sidebar { display: none; } /* Mobilde menüyü gizle */
    .ui-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .ui-details-split { grid-template-columns: 1fr; }
    .ads-ui-card { flex-direction: column; }
}

@media (max-width: 600px) {
    .ui-metrics-grid { grid-template-columns: 1fr; }
}

/* =========================================
   ADS ADVANTAGES SECTION (NEDEN WEBGUIDE?)
   ========================================= */
.ads-advantages-section {
    padding: 6rem 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e0e0e0;
}

.ads-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

/* Advantage Card */
.ads-adv-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Hover Effects */
.ads-adv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}

/* Background gradient on hover */
.ads-adv-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(219, 68, 55, 0.05) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.ads-adv-card:hover::after {
    opacity: 1;
}

/* Top Border Line (Google Colors Animation) */
.ads-adv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #4285f4; /* Default Google Blue */
    transition: width 0.4s ease;
}

/* Renk Varyasyonları */
.ads-adv-card:nth-child(1n)::before { background: #4285f4; } /* Mavi */
.ads-adv-card:nth-child(2n)::before { background: #ea4335; } /* Kırmızı */
.ads-adv-card:nth-child(3n)::before { background: #fbbc05; } /* Sarı */
.ads-adv-card:nth-child(4n)::before { background: #34a853; } /* Yeşil */

.ads-adv-card:hover::before {
    width: 100%;
}

/* Icon */
.ads-adv-icon {
    width: 64px;
    height: 64px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #5f6368;
    font-size: 1.8rem; /* SVG boyutu için */
    transition: all 0.3s ease;
}

.ads-adv-card:hover .ads-adv-icon {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: scale(1.1);
}

.ads-adv-card:nth-child(1n):hover .ads-adv-icon { color: #4285f4; }
.ads-adv-card:nth-child(2n):hover .ads-adv-icon { color: #ea4335; }
.ads-adv-card:nth-child(3n):hover .ads-adv-icon { color: #fbbc05; }
.ads-adv-card:nth-child(4n):hover .ads-adv-icon { color: #34a853; }

/* SVG */
.ads-adv-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

/* Content */
.ads-adv-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-secondary);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.ads-adv-card p {
    font-size: 0.95rem;
    color: var(--clr-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .ads-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .ads-advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}