/*
Theme Name: Uyuyan Güzel Child
Theme URI: https://uyuyanguzel.com/
Description: uyuyanguzel.com sitesinin tasarımını birebir yansıtan GeneratePress Çocuk Teması.
Author: Manus
Author URI: https://manus.im
Template: generatepress
Version: 1.0.0
*/

/* --- CORE VARIABLES --- */
:root {
    --gold: #e6ab43;
    --gold2: #954f04;
    --night: #2a2033;
    --muted: #575760;
    --line: #e2e4e8;
    --lav: #f5f3ff;
    --cream: #fdfbf7;
    --ink: #090909;
    --wrap: 1290px;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    
    /* GeneratePress Overrides */
    --contrast: #090909;
    --contrast-2: #575760;
    --contrast-3: #b2b2be;
    --base: #f0f0f0;
    --base-2: #f7f8f9;
    --base-3: #ffffff;
    --accent: #954f04;
    --accent-2: #000000;
}

/* --- GLOBAL STYLES --- */
body {
    font-family: 'Rubik', sans-serif;
    background-color: var(--base);
    color: var(--contrast);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
}

.entry-content p {
    line-height: 1.8;
}

/* --- CUSTOM CLASSES (Extracted from uyuyanguzel.com) --- */
.uyg-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.uyg-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }

/* Hero Section */
.uyg-hero { background: #2a2033; color: #fff; padding: 80px 0; position: relative; }
.uyg-hero .in { max-width: 720px; }
.uyg-hero h1 { font-size: clamp(30px, 5.6vw, 48px); margin: 12px 0 0; line-height: 1.1; }
.uyg-hero h1 b { color: var(--gold); }
.uyg-hero p { color: #e7e3fb; font-size: clamp(16px, 2.3vw, 19px); margin: 14px 0 24px; max-width: 56ch; }

.uyg-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.uyg-btn { 
    display: inline-block; 
    padding: 14px 28px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    font-size: 16px;
}
.uyg-btn:hover { transform: translateY(-2px); }
.uyg-gold { background: var(--gold); color: #2a2033; }
.uyg-gold:hover { background: #f0bd5c; }
.uyg-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.uyg-ghost:hover { background: rgba(255,255,255,.2); }

/* Grid & Cards */
.uyg-featured { margin-top: -92px; position: relative; z-index: 5; }
.uyg-fgrid, .uyg-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.uyg-card { 
    background: #fff; 
    border-radius: 16px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.uyg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.uyg-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg,#c9b8f0,#a7d8e6); }
.uyg-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.uyg-cbody { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.uyg-kat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold2); }
.uyg-card h3 { font-size: 20px; margin: 0; color: var(--night); line-height: 1.3; }
.uyg-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.uyg-pill { font-size: 12px; padding: 4px 10px; border-radius: 4px; font-weight: 600; }
.uyg-pill.uyg-time { background: #f4efe3; color: #8a7136; }

.uyg-read { margin-top: auto; font-size: 14.5px; font-weight: 700; color: var(--gold2); }
.uyg-card:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); }

/* Age Grid */
.uyg-agewrap { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.uyg-agegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.uyg-agebox { 
    background: #fcfcfd; 
    border: 1px solid var(--line); 
    border-radius: 12px; 
    padding: 20px; 
    text-align: center; 
    text-decoration: none; 
    transition: all 0.3s ease;
}
.uyg-agebox:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.uyg-agebox .n { font-family: Georgia, serif; font-size: 26px; font-weight: 700; color: var(--night); display: block; }
.uyg-agebox .t { font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* Responsive */
@media(min-width: 640px) {
    .uyg-fgrid, .uyg-grid { grid-template-columns: repeat(2, 1fr); }
    .uyg-agegrid { grid-template-columns: repeat(3, 1fr); }
}
@media(min-width: 900px) {
    .uyg-fgrid, .uyg-grid { grid-template-columns: repeat(3, 1fr); }
    .uyg-agegrid { grid-template-columns: repeat(6, 1fr); }
}

/* Footer Custom */
.site-footer { background: #fff; padding: 40px 0; border-top: 1px solid var(--line); }
