/*
Theme Name: Lokmacı Mustafa - ANZER Pastanesi
Theme URI: https://usaklokmacimustafa.com.tr
Author: ANZER Pastanesi
Author URI: https://usaklokmacimustafa.com.tr
Description: Uşak'ın en güvenilir hayır lokması ve pastanesi için profesyonel kurumsal tema. SEO optimize, mobil uyumlu, hızlı yüklenen modern tasarım.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anzer-pastanesi
Tags: one-page, business, food, responsive, custom-colors, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #7a0c1f;
  --color-primary-dark: #5a0815;
  --color-secondary: #f5c518;
  --color-secondary-dark: #d4a800;
  --color-bg: #faf8f5;
  --color-card: #f5f0eb;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-border: #e0d8d0;
  --color-white: #ffffff;
  --color-footer-bg: #1a0a0a;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.18);
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--color-secondary-dark); margin-bottom: 12px; }
.section-title { font-family: var(--font-heading); font-size: clamp(28px,4vw,48px); font-weight: 700; color: var(--color-primary); line-height: 1.15; }
.section-header { max-width: 620px; margin: 0 auto 64px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 32px; border-radius: 100px; font-weight: 600; font-size: 16px; transition: var(--transition); cursor: pointer; border: 2px solid transparent; line-height: 1; }
.btn-primary { background: var(--color-whatsapp); color: #fff; border-color: var(--color-whatsapp); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--color-whatsapp-dark); border-color: var(--color-whatsapp-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.btn-red { background: var(--color-primary); color: #fff; border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.btn-red:hover { background: var(--color-primary-dark); transform: translateY(-2px); color: #fff; }
.btn-lg { padding: 18px 40px; font-size: 18px; }

/* NAVBAR */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: var(--transition); padding: 16px 0; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(250,248,245,0.96); backdrop-filter: blur(12px); border-bottom-color: var(--color-border); box-shadow: var(--shadow-sm); padding: 8px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: flex; align-items: center; gap: 12px; z-index: 1001; }
.site-logo img { height: 52px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); }
.site-logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--color-primary); }
.site-logo-text span { display: block; font-size: 14px; color: var(--color-secondary-dark); }
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--color-text); transition: var(--transition); }
.main-nav a:hover { color: var(--color-primary); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; z-index: 1002; padding: 6px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--color-text); border-radius: 2px; transition: var(--transition); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--color-bg); z-index: 1000; flex-direction: column; align-items: center; justify-content: center; gap: 32px; transform: translateX(100%); transition: transform 0.3s ease; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--font-heading); font-size: 26px; font-weight: 600; color: var(--color-text); transition: var(--transition); }
.mobile-nav a:hover { color: var(--color-primary); }

/* HERO */
.hero { position: relative; padding: 160px 0 100px; background: linear-gradient(135deg,rgba(122,12,31,0.04),rgba(245,197,24,0.06)); overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: clamp(42px,7vw,80px); font-weight: 800; color: var(--color-primary); margin-bottom: 24px; line-height: 1.1; }
.hero p { font-size: clamp(16px,2vw,20px); color: rgba(26,26,26,0.75); margin-bottom: 44px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero-bg-orb-1 { position: absolute; top: -20%; right: -10%; width: 50%; height: 70%; border-radius: 50%; background: rgba(245,197,24,0.12); filter: blur(80px); pointer-events: none; }
.hero-bg-orb-2 { position: absolute; bottom: -20%; left: -10%; width: 50%; height: 70%; border-radius: 50%; background: rgba(122,12,31,0.07); filter: blur(80px); pointer-events: none; }

/* STATS */
.stats-bar { background: var(--color-primary); color: white; padding: 48px 0; position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-item { padding: 16px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--font-heading); font-size: clamp(32px,4vw,48px); font-weight: 800; color: var(--color-secondary); display: block; margin-bottom: 6px; }
.stat-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; opacity: .88; }
.stats-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 2px 2px,rgba(255,255,255,0.07) 1px,transparent 0); background-size: 24px 24px; pointer-events: none; }

/* SERVICES */
.services { padding: 100px 0; background: var(--color-bg); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-card { background: var(--color-card); border: 1px solid var(--color-border); padding: 40px 32px; border-radius: 20px; transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--color-primary),var(--color-secondary)); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.service-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; border-radius: 12px; background: rgba(122,12,31,0.06); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: var(--transition); color: var(--color-primary); }
.service-card:hover .service-icon { background: var(--color-primary); color: white; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--color-text-muted); line-height: 1.7; font-size: 15px; }

/* ABOUT */
.about { padding: 100px 0; background: rgba(245,240,235,0.5); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrapper { position: relative; }
.about-image-bg { position: absolute; inset: -16px; background: rgba(245,197,24,0.12); border-radius: 28px; transform: rotate(-3deg); }
.about-image { position: relative; z-index: 1; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; border: 4px solid white; box-shadow: var(--shadow-xl); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; bottom: -24px; right: -24px; background: white; padding: 16px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 2; display: flex; align-items: center; gap: 12px; }
.about-badge-num { background: var(--color-secondary); color: var(--color-text); font-weight: 800; font-size: 24px; padding: 12px; border-radius: 8px; font-family: var(--font-heading); }
.about-badge-text { font-size: 13px; font-weight: 600; line-height: 1.4; }
.about-content .section-label,.about-content .section-title { text-align: left; }
.about-content .section-title { margin-bottom: 24px; }
.about-text { color: rgba(26,26,26,0.78); font-size: 16px; line-height: 1.85; }
.about-text p+p { margin-top: 16px; }
.about-founder { display: flex; align-items: center; gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--color-border); }
.about-founder-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--color-primary); display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; }
.about-founder-avatar svg { width: 28px; height: 28px; }
.about-founder-name { font-family: var(--font-heading); font-size: 20px; font-weight: 700; }
.about-founder-title { font-size: 13px; font-weight: 700; color: var(--color-secondary-dark); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 2px; }

/* WHY US */
.why-us { padding: 100px 0; background: var(--color-primary); color: white; position: relative; overflow: hidden; }
.why-us .section-label { color: var(--color-secondary); }
.why-us .section-title { color: white; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); padding: 40px 28px; border-radius: 20px; text-align: center; transition: var(--transition); }
.why-card:hover { background: rgba(255,255,255,0.10); transform: translateY(-4px); }
.why-icon { width: 64px; height: 64px; background: rgba(245,197,24,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--color-secondary); }
.why-icon svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 12px; }
.why-card p { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.7; }
.why-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.why-orb-1 { top: -100px; right: -100px; width: 400px; height: 400px; background: rgba(255,255,255,0.04); }
.why-orb-2 { bottom: -100px; left: -100px; width: 400px; height: 400px; background: rgba(245,197,24,0.08); }

/* GALLERY */
.gallery { padding: 100px 0; background: rgba(245,240,235,0.4); border-top: 1px solid var(--color-border); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1; background: var(--color-card); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.10); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(122,12,31,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon { width: 56px; height: 56px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-primary); transform: translateY(12px); transition: var(--transition); }
.gallery-item:hover .gallery-overlay-icon { transform: translateY(0); }
.gallery-overlay-icon svg { width: 24px; height: 24px; }
.gallery-cta { text-align: center; margin-top: 48px; }

/* TESTIMONIALS */
.testimonials { padding: 100px 0; background: var(--color-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card { background: var(--color-card); border: 1px solid var(--color-border); padding: 36px 32px; border-radius: 20px; position: relative; transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-quote { position: absolute; top: 24px; right: 24px; opacity: .08; color: var(--color-primary); }
.testimonial-quote svg { width: 48px; height: 48px; }
.testimonial-stars { display: flex; gap: 4px; color: var(--color-secondary); margin-bottom: 16px; }
.testimonial-stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-card blockquote { font-style: italic; color: var(--color-text-muted); line-height: 1.75; margin-bottom: 20px; }
.testimonial-author { font-family: var(--font-heading); font-weight: 700; font-size: 16px; }

/* CONTACT */
.contact { padding: 100px 0; background: var(--color-bg); border-top: 1px solid var(--color-border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info .section-label,.contact-info .section-title { text-align: left; }
.contact-info .section-title { margin-bottom: 20px; }
.contact-info>p { color: rgba(26,26,26,0.75); font-size: 16px; line-height: 1.8; margin-bottom: 40px; }
.contact-items { display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; }
.contact-item-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(122,12,31,0.08); color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 24px; height: 24px; }
.contact-item-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--color-text-muted); margin-bottom: 4px; }
.contact-item-value { font-family: var(--font-heading); font-size: 26px; font-weight: 700; line-height: 1.2; }
.contact-item-value a { color: var(--color-text); transition: var(--transition); }
.contact-item-value a:hover { color: var(--color-primary); }
.contact-item-sub { font-size: 14px; color: var(--color-text-muted); margin-top: 4px; }
.contact-wa-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--color-whatsapp); color: white; padding: 16px 32px; border-radius: 100px; font-weight: 700; font-size: 16px; box-shadow: var(--shadow-md); transition: var(--transition); }
.contact-wa-btn:hover { background: var(--color-whatsapp-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: white; }
.contact-wa-btn svg { width: 22px; height: 22px; }
.contact-form-card { background: var(--color-card); border: 1px solid var(--color-border); padding: 48px 40px; border-radius: 28px; box-shadow: var(--shadow-xl); }
.contact-form-card h3 { font-size: 26px; font-weight: 700; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: rgba(26,26,26,0.75); }
.form-group input,.form-group textarea { width: 100%; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 12px; padding: 14px 18px; font-size: 15px; color: var(--color-text); transition: var(--transition); outline: none; font-family: inherit; }
.form-group input:focus,.form-group textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(122,12,31,0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; background: var(--color-primary); color: white; padding: 16px; border-radius: 12px; font-size: 16px; font-weight: 700; border: none; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-md); font-family: inherit; }
.form-submit:hover { background: var(--color-primary-dark,#5a0815); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.form-message { margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; display: none; }
.form-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* FOOTER */
.site-footer { background: var(--color-footer-bg); color: rgba(255,255,255,0.65); padding: 80px 0 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.footer-brand a { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand img { height: 56px; width: auto; filter: grayscale(1) brightness(2); }
.footer-brand-name { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: white; line-height: 1.3; }
.footer-brand-name span { display: block; font-size: 14px; color: var(--color-secondary); }
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-col h4 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: white; margin-bottom: 24px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); padding: 4px 0; }
.footer-links a:hover { color: var(--color-secondary); }
.footer-contact-items { display: flex; flex-direction: column; gap: 20px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--color-secondary); margin-top: 2px; flex-shrink: 0; }
.footer-contact-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.35); display: block; margin-bottom: 2px; }
.footer-contact-value { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 500; }
.footer-contact-value a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.footer-contact-value a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* FLOATING WHATSAPP */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; width: 64px; height: 64px; background: var(--color-whatsapp); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px rgba(37,211,102,0.5); transition: var(--transition); }
.whatsapp-float:hover { background: var(--color-whatsapp-dark); transform: translateY(-4px); color: white; }
.whatsapp-float svg { width: 36px; height: 36px; }
.whatsapp-ping { position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; background: #ef4444; border-radius: 50%; border: 2px solid var(--color-whatsapp); }
.whatsapp-ping::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; background: rgba(239,68,68,0.5); animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite; }
@keyframes ping { 0%{transform:scale(.8);opacity:1} 100%{transform:scale(2);opacity:0} }

/* ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1{transition-delay:.1s}.fade-up-delay-2{transition-delay:.2s}.fade-up-delay-3{transition-delay:.3s}.fade-up-delay-4{transition-delay:.4s}.fade-up-delay-5{transition-delay:.5s}

/* RESPONSIVE */
@media(max-width:1024px){.services-grid,.why-grid,.testimonials-grid{grid-template-columns:repeat(2,1fr)}.about-grid,.contact-grid{grid-template-columns:1fr;gap:60px}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:768px){.main-nav{display:none}.menu-toggle{display:flex}.mobile-nav{display:flex}.hero{padding:120px 0 80px;min-height:auto}.stats-grid{grid-template-columns:repeat(2,1fr)}.services-grid,.why-grid,.testimonials-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr;gap:40px}.footer-bottom{flex-direction:column;text-align:center}.hero-buttons{flex-direction:column;align-items:center}.contact-form-card{padding:32px 24px}}
@media(max-width:480px){.gallery-grid{grid-template-columns:1fr}.hero h1{font-size:36px}}

/* WP CONTENT */
.wp-page-content{max-width:800px;margin:80px auto;padding:0 24px}
.wp-page-content h1,.wp-page-content h2{color:var(--color-primary);margin-bottom:20px}
.wp-page-content p{margin-bottom:16px;line-height:1.8;color:var(--color-text-muted)}
