@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&display=swap');

:root {
    --primary-color: #222;
    --secondary-color: #444;
    --accent-color: #e7609d;
    --bg-color: #f4f7f6;
    --card-bg: #fff;
    --font-main: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
    --gap: 30px;
}

/* Custom 'ş' with dot only */
/* Custom 'ş' with dot only */
.s-dot {
    position: relative;
    display: inline-block;
}

.s-dot::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    border-radius: 0%;
    /* Make it square */
    left: 50%;
    transform: translateX(-50%);
}

/* Specific adjustments for Logo */
h1.logo .s-dot::after {
    width: 6px;
    height: 6px;
    bottom: 16px;
    /* Adjusted to balance position */
}

/* Specific adjustments for Nav */
nav .s-dot::after {
    width: 2px;
    height: 2px;
    bottom: 3px;
    /* Smaller and more refined */
}

/* ... existing styles ... */

body {
    font-family: var(--font-main);
    font-weight: 400;
    /* Regular weight instead of 300 */
    /* ... background ... */
}

/* ... header ... */

h1.logo {
    font-size: 3.5rem;
    font-weight: 300;
    /* Increased from 100/200 */
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: lowercase;
}

h1.logo a {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: #000;
    /* Black */
    transition: color 0.3s ease;
}

h1.logo a:hover {
    color: #e7609d;
    /* Pink on hover */
}

/* ... nav ... */

nav a {
    font-size: 1rem;
    /* Slightly larger */
    text-transform: none;
    letter-spacing: 0.5px;
    color: #000;
    /* Make nav items black too for consistency/contrast */
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    font-weight: 400;
    /* Regular weight */
}

nav a:hover {
    color: #e7609d;
    /* Pink on hover */
}

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

body {
    font-family: var(--font-main);
    font-weight: 400;
    /* Regular weight */
    /* Esim.co style: Very subtle, almost white/pastel gradient */
    background-color: #ffffff;
    background-image: none;
    color: var(--primary-color);
    line-height: 1.6;
    min-height: 100vh;
}

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

a:hover {
    color: var(--accent-color);
}

/* Header */
header {
    text-align: center;
    padding: 25px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    /* More opaque like esim.co */
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
    /* Subtle separator */
    position: sticky;
    top: 0;
    z-index: 1000;
}



nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}



.login-btn {
    border: 1px solid var(--secondary-color);
    padding: 5px 15px;
    border-radius: 2px;
    font-size: 0.85rem;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Main Grid - Standardized Heights */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns fixed as requested roughly */
    gap: var(--gap);
}

.item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    /* optional border-radius or shadow could go here */
    padding-top: 30px;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Force equal height images */
.item-image-container {
    width: 100%;
    height: 500px;
    /* Fixed height for uniformity */
    overflow: hidden;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* Crops image to fill container */
    transition: transform 0.5s ease;
}

.item:hover img {
    transform: scale(1.03);
}

.item .meta {
    padding: 20px;
    text-align: center;
}

.item h2 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.item .date {
    font-size: 0.8rem;
    color: #999;
}

/* Detail Page */
.detail-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.detail-content iframe {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 20px;
}

.back-link {
    display: block;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #999;
}

/* Responsive */
@media (max-width: 1000px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .item-image-container {
        height: 350px;
    }
}

/* Footer */
footer {
    background: #fff;
    text-align: center;
    padding: 50px;
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid #f0f0f0;
}