/*
Theme Name: DrPoodle
Theme URI: https://example.com/drpoodle
Author: Dr. Poodle
Description: Poodle ve Pomeranian yavru satışı için hızlı, butik ve göze çarpan tek sayfalık WordPress teması. Tam ekran yatay hero video, WhatsApp entegrasyonu, satılık yavru kartları, yorumlar ve SSS içerir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drpoodle
*/

/* ==========================================================================
   0. Custom properties
   ========================================================================== */
:root {
	--ink: #201a16;
	--cream: #faf5ee;
	--cream-2: #f1e6d6;
	--gold: #c9a15a;
	--gold-dark: #a67f3c;
	--terracotta: #c97a5f;
	--text: #2b2420;
	--text-soft: #6b6058;
	--white: #ffffff;
	--whatsapp: #25d366;
	--whatsapp-dark: #1da851;
	--radius-sm: 10px;
	--radius-md: 18px;
	--radius-lg: 28px;
	--shadow-soft: 0 20px 45px -20px rgba(32, 26, 22, 0.35);
	--font-serif: "Playfair Display", Georgia, serif;
	--font-sans: "Poppins", "Segoe UI", system-ui, sans-serif;
	--container: 1180px;
}

/* ==========================================================================
   1. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--text);
	background: var(--cream);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.screen-reader-text, .skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
	z-index: 10000;
	background: var(--ink);
	color: var(--white);
	padding: 10px 18px;
	border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   2. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	border: 1px solid transparent;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
	white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--white); box-shadow: 0 12px 24px -10px rgba(166,127,60,.6); }
.btn--outline { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--outline:hover { background: rgba(255,255,255,.18); }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 500;
	padding: 18px 0;
	transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
	background: rgba(250, 245, 238, .92);
	backdrop-filter: blur(10px);
	padding: 10px 0;
	box-shadow: 0 6px 24px -12px rgba(0,0,0,.25);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; }
.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--white);
	margin-right: auto;
	transition: color .3s ease;
}
.site-header.is-scrolled .site-logo { color: var(--ink); }
.site-logo svg { width: 26px; height: 26px; color: var(--gold); }

.primary-nav__list { display: flex; gap: 28px; }
.primary-nav__list a {
	color: var(--white);
	font-weight: 500;
	font-size: 15px;
	transition: color .3s ease, opacity .2s ease;
	opacity: .9;
}
.primary-nav__list a:hover { opacity: 1; color: var(--gold); }
.site-header.is-scrolled .primary-nav__list a { color: var(--text); }

.header-whatsapp { padding: 10px 20px; font-size: 14px; }
.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--white);
	padding: 6px;
}
.site-header.is-scrolled .menu-toggle { color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle__icon-close { display: none; }
.menu-toggle.is-open .menu-toggle__icon-open { display: none; }
.menu-toggle.is-open .menu-toggle__icon-close { display: block; }

@media (max-width: 900px) {
	.primary-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(320px, 82vw);
		height: 100vh;
		background: var(--ink);
		transform: translateX(100%);
		transition: transform .35s ease;
		padding: 100px 32px 32px;
	}
	.primary-nav.is-open { transform: translateX(0); }
	.primary-nav__list { flex-direction: column; gap: 22px; }
	.primary-nav__list a { color: var(--cream); font-size: 18px; }
	.header-whatsapp { display: none; }
	.menu-toggle { display: inline-flex; z-index: 600; }
}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: linear-gradient(160deg, #2c231c, #1a1512 60%);
}
.hero__media { position: absolute; inset: 0; }
.hero__video, .hero__poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20,16,13,.55) 0%, rgba(20,16,13,.45) 45%, rgba(20,16,13,.85) 100%);
}
.hero__content { position: relative; z-index: 2; text-align: center; max-width: 780px; margin: 0 auto; padding-top: 90px; }
.hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gold);
	margin-bottom: 18px;
}
.hero__title {
	color: var(--white);
	font-size: clamp(42px, 8vw, 84px);
	margin-bottom: 18px;
}
.hero__subtitle { color: rgba(255,255,255,.85); font-size: clamp(16px, 2.4vw, 20px); max-width: 560px; margin: 0 auto 34px; }
.hero__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--white);
	opacity: .8;
	animation: drpoodle-bounce 2s infinite;
	z-index: 2;
}
.hero__scroll svg { width: 28px; height: 28px; }
@keyframes drpoodle-bounce {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 10px); }
}

/* ==========================================================================
   5. Sections (shared)
   ========================================================================== */
.section { padding: 96px 0; }
.section__eyebrow {
	text-transform: uppercase;
	letter-spacing: 2.5px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gold-dark);
	margin-bottom: 10px;
}
.section__title { font-size: clamp(28px, 4vw, 42px); }
.section__head { margin-bottom: 48px; }
.section__head--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   6. About
   ========================================================================== */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about__frame {
	aspect-ratio: 1;
	border-radius: var(--radius-lg);
	background: linear-gradient(150deg, var(--cream-2), var(--cream));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-soft);
}
.about__frame svg { width: 30%; height: 30%; color: var(--gold); }
.about__points { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.about__points li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.about__points svg { width: 22px; height: 22px; color: var(--gold-dark); flex-shrink: 0; }

@media (max-width: 860px) {
	.about__grid { grid-template-columns: 1fr; gap: 36px; }
	.about__frame { max-width: 320px; margin: 0 auto; }
}

/* ==========================================================================
   7. Puppies
   ========================================================================== */
.puppies__filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-tab {
	background: var(--white);
	border: 1px solid var(--cream-2);
	padding: 10px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	color: var(--text-soft);
	transition: all .2s ease;
}
.filter-tab.is-active, .filter-tab:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.puppies__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
}
.puppy-card {
	background: var(--white);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform .3s ease, box-shadow .3s ease;
}
.puppy-card:hover { transform: translateY(-6px); }
.puppy-card__media { position: relative; display: block; aspect-ratio: 1/1; background: var(--cream-2); }
.puppy-card__media img { width: 100%; height: 100%; object-fit: cover; }
.puppy-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; }
.puppy-card__placeholder svg { width: 40%; height: 40%; color: var(--gold); opacity: .5; }
.puppy-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: var(--white);
	background: var(--terracotta);
}
.puppy-badge.is-available { background: #3f9142; }
.puppy-badge.is-reserved { background: var(--gold-dark); }
.puppy-badge.is-sold { background: #8a8177; }
.puppy-card__body { padding: 20px; }
.puppy-card__title { font-size: 19px; margin-bottom: 6px; }
.puppy-card__meta { color: var(--text-soft); font-size: 13px; margin-bottom: 14px; }
.puppy-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.puppy-card__price { font-weight: 700; color: var(--gold-dark); font-size: 16px; }
.puppies__empty { text-align: center; color: var(--text-soft); }

/* ==========================================================================
   8. Why us
   ========================================================================== */
.why-us { background: var(--white); }
.why-us__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.why-us__card {
	text-align: center;
	padding: 36px 24px;
	border-radius: var(--radius-md);
	background: var(--cream);
	transition: transform .3s ease;
}
.why-us__card:hover { transform: translateY(-6px); }
.why-us__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold), var(--gold-dark));
	color: var(--white);
	margin-bottom: 18px;
}
.why-us__icon svg { width: 28px; height: 28px; }
.why-us__card h3 { font-size: 18px; }
.why-us__card p { color: var(--text-soft); font-size: 14px; margin: 0; }

/* ==========================================================================
   9. Testimonials
   ========================================================================== */
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.testimonial-card {
	background: var(--white);
	border-radius: var(--radius-md);
	padding: 30px;
	box-shadow: var(--shadow-soft);
	margin: 0;
}
.star-rating { display: inline-flex; gap: 3px; color: var(--cream-2); margin-bottom: 14px; }
.star { width: 18px; height: 18px; color: var(--cream-2); }
.star.is-filled { color: var(--gold); }
.star svg { width: 18px; height: 18px; }
.testimonial-card blockquote { margin: 0 0 18px; font-style: italic; color: var(--text); }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.testimonial-card figcaption img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.faq__inner { max-width: 780px; }
.faq__item {
	background: var(--white);
	border-radius: var(--radius-sm);
	padding: 6px 24px;
	margin-bottom: 14px;
}
.faq__item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	font-weight: 600;
	font-size: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron svg { width: 18px; height: 18px; transition: transform .25s ease; color: var(--gold-dark); }
.faq__item[open] .faq__chevron svg { transform: rotate(180deg); }
.faq__answer { padding: 0 0 20px; color: var(--text-soft); }

/* ==========================================================================
   11. Contact
   ========================================================================== */
.contact { background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__details { margin: 26px 0; display: flex; flex-direction: column; gap: 14px; }
.contact__details li { display: flex; align-items: center; gap: 12px; }
.contact__details svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }
.contact__map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--radius-md); margin-top: 10px; }

.contact-form { background: var(--cream); padding: 32px; border-radius: var(--radius-md); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-row input, .form-row textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--cream-2);
	background: var(--white);
	font-family: inherit;
	font-size: 15px;
	resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.drpoodle-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.form-notice--success { background: #e4f6e6; color: #256029; }
.form-notice--error { background: #fbe7e5; color: #93312a; }

@media (max-width: 900px) {
	.contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-logo--footer { color: var(--white); margin-bottom: 14px; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a {
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	transition: background .2s ease;
}
.footer__social a:hover { background: var(--gold); }
.footer__social svg { width: 18px; height: 18px; }
.footer__nav h3, .footer__contact h3 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
.footer__nav-list { display: flex; flex-direction: column; gap: 12px; }
.footer__nav-list a:hover { color: var(--gold); }
.footer__contact ul { display: flex; flex-direction: column; gap: 14px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.footer__contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer__bottom { padding: 22px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }

@media (max-width: 860px) {
	.footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   13. Floating WhatsApp button
   ========================================================================== */
.whatsapp-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 900;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--whatsapp);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
	animation: drpoodle-pulse 2.4s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
@keyframes drpoodle-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 14px 30px -10px rgba(0,0,0,.4); }
	70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 14px 30px -10px rgba(0,0,0,.4); }
	100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 14px 30px -10px rgba(0,0,0,.4); }
}

/* ==========================================================================
   14. Generic pages / posts / 404
   ========================================================================== */
.generic-page { padding-top: calc(96px + 90px); }
.generic-page__narrow { max-width: 780px; }
.generic-page__thumb { margin-bottom: 24px; border-radius: var(--radius-md); overflow: hidden; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.post-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.post-card__media img { aspect-ratio: 16/10; object-fit: cover; }
.post-card__title, .post-card__excerpt { padding: 0 20px; }
.post-card__title { padding-top: 18px; }
.post-card__excerpt { padding-bottom: 20px; color: var(--text-soft); font-size: 14px; }
.pagination { margin-top: 40px; text-align: center; }
.error-404 { text-align: center; }
.error-404__icon { display: inline-flex; margin-bottom: 20px; color: var(--gold); }
.error-404__icon svg { width: 64px; height: 64px; }

.archive-puppy-offset { padding-top: 90px; }

/* ==========================================================================
   15. Puppy single
   ========================================================================== */
.puppy-single { padding-top: calc(96px + 90px); }
.puppy-single__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.puppy-single__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.puppy-single__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.puppy-single__placeholder { aspect-ratio: 1/1; background: var(--cream-2); }
.puppy-single__facts { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 24px; }
.puppy-single__back { margin-top: 20px; }

@media (max-width: 860px) {
	.puppy-single__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   16. Breadcrumbs
   ========================================================================== */
.breadcrumbs { margin: 0 0 24px; font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--text-soft); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--cream-2); }
.breadcrumbs a { color: var(--gold-dark); font-weight: 500; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ==========================================================================
   17. Scroll-reveal helper (progressive enhancement via JS)
   ========================================================================== */
.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.will-reveal.is-revealed { opacity: 1; transform: translateY(0); }
