/* style.css - Premium Deniz Suyu Sıcaklığı Teması */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@400;700;900&display=swap');

:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #121c2d;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-coral: #ff758c;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(79, 172, 254, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 254, 0.08), transparent 25%);
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}

.header-nav::-webkit-scrollbar {
    height: 0px; /* Mobilde çirkin scrollbar'ı gizle */
}

.header-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.header-nav a:hover, .header-nav a.active {
    color: var(--text-primary);
}

.blog-link {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    color: var(--accent-cyan) !important;
}
.blog-link:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--accent-cyan);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* GSC Top Trends (Quick Links) */
.trends-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.trend-badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.trend-badge:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.1);
}

.trend-badge i {
    color: var(--accent-coral);
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.card-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.temp-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-coral), #ff0844);
    color: white;
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(255, 117, 140, 0.4);
    backdrop-filter: blur(5px);
}

/* Detail Page */
.detail-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
    background-size: cover;
    background-position: center;
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, var(--bg-primary) 10%, rgba(10,15,26,0.6) 100%);
    z-index: 1;
}

.detail-content {
    position: relative;
    z-index: 10;
}

.detail-title {
    font-size: 4rem;
    margin-bottom: 10px;
}

.seo-article {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    margin-top: -30px;
    position: relative;
    z-index: 20;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
}

/* Ana Sayfa Yeni Bileşenler (Öne Çıkan & Blog & SEO) */
.freshness-badge {
    display: inline-block;
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.featured-card {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--accent-blue);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(79, 172, 254, 0.15);
    position: relative;
}

.featured-img-wrap {
    flex: 1;
    min-height: 300px;
}

.featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #000;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.update-time {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    margin-top: 10px;
    display: block;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--accent-blue);
}

.seo-text-block {
    background: rgba(10, 15, 26, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    margin-top: 60px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Trend Grafiği --- */
.trend-container {
    background: var(--surface-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
}
.trend-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 180px;
    padding-top: 20px;
    gap: 10px;
}
.trend-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
.trend-bar-wrapper {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border-radius: 8px 8px 0 0;
    margin-bottom: 10px;
    position: relative;
}
.trend-bar {
    width: 60%;
    background: linear-gradient(to top, var(--accent-blue), var(--accent-cyan));
    border-radius: 6px 6px 0 0;
    transition: height 1s ease-out;
}
.trend-val {
    position: absolute;
    top: -25px;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--text-primary);
}
.trend-day {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- Saatlik Timeline --- */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}
.timeline-item {
    position: relative;
    margin-bottom: 25px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}
.timeline-time {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--accent-cyan);
    margin-bottom: 5px;
}
.timeline-content {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* --- Footer Linkleri --- */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}
.footer-link-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-link-item a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

/* --- Google Yorumları & Rozetler --- */
.rating-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: #ffd700; /* Yıldız Sarısı */
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,215,0,0.3);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.review-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    transition: 0.3s;
}

.review-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.review-name {
    font-weight: bold;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 3px;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stars {
    color: #ffd700;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Breadcrumbs --- */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.breadcrumb a {
    color: var(--accent-cyan);
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    margin: 0 10px;
    color: var(--glass-border);
}

/* --- Canlı Kamera (Live Cam) --- */
.live-cam-container {
    background: rgba(10,15,26,0.8);
    border: 1px solid var(--accent-coral);
    border-radius: 20px;
    padding: 20px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(255,117,140,0.15);
    position: relative;
    overflow: hidden;
}
.live-cam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.live-badge {
    background: #ff0844;
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}
.live-cam-wrapper {
    border-radius: 12px;
    overflow: hidden;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 8, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 8, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 8, 68, 0); }
}

/* --- Top Lists (Hottest/Coldest) --- */
.top-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.top-list-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
}
.top-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-list-item:last-child {
    border-bottom: none;
}
.top-list-item a {
    font-weight: 600;
    color: var(--text-primary);
}
.top-list-item a:hover {
    color: var(--accent-cyan);
}
.top-list-temp {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container { flex-direction: column; align-items: flex-start; }
    .header-nav { width: 100%; padding-top: 10px; }
    .hero h1 { font-size: 2.2rem; }
    .detail-title { font-size: 2.5rem; }
    .grid { grid-template-columns: 1fr; }
    .featured-card { flex-direction: column; }
    .featured-img-wrap { min-height: 200px; }
    .featured-content { padding: 25px; }
}
