/* --- DEMİR HUKUK - MAIN STYLE --- */

:root { 
    --bg-dark: #080808; 
    --bg-card: #121212; 
    --gold-gradient: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c); 
    --gold-text-shine: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fcf6ba); 
    --gold-matte: #c5a059; 
    --text-white: #ffffff; 
    --text-gray: #b0b0b0; 
    --border: #2a2a2a; 
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Roboto', sans-serif; background-color: var(--bg-dark); color: var(--text-gray); line-height: 1.6; overflow-x: hidden; }

/* FONT DISPLAY SWAP (PageSpeed Fix) */
@font-face { font-family: 'Font Awesome 6 Free'; font-style: normal; font-weight: 900; font-display: swap; src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2) format('woff2'); }
@font-face { font-family: 'Font Awesome 6 Brands'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2) format('woff2'); }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; margin-top: 0; color: var(--text-white); }

.gold-text { background: var(--gold-text-shine); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% auto; animation: shine 5s linear infinite; font-weight: 700; }
@keyframes shine { to { background-position: 200% center; } }

a { text-decoration: none; transition: 0.3s; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; border-bottom: 1px solid var(--border); position: relative; }

/* BUTTONS */
.btn-gold { background: var(--gold-gradient); color: #000; padding: 15px 35px; font-weight: 700; border-radius: 2px; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; box-shadow: 0 0 15px rgba(191, 149, 63, 0.4); transition: 0.3s; display: inline-block; }
.btn-gold:hover { box-shadow: 0 0 25px rgba(191, 149, 63, 0.8); transform: scale(1.02); filter: brightness(1.1); }
.btn-matte { background: var(--gold-matte); color: #000; padding: 12px 25px; font-weight: 700; border-radius: 4px; text-transform: uppercase; border: none; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-matte:hover { background: #d4af37; transform: translateY(-2px); }

/* HEADER */
header { background: rgba(8, 8, 8, 0.85); backdrop-filter: blur(15px); padding: 20px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 28px; font-weight: 700; color: var(--text-white); letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.logo i { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 32px; }
.menu { display: flex; gap: 30px; }
.menu a { color: var(--text-white); font-size: 13px; text-transform: uppercase; font-weight: 500; letter-spacing: 1px; position: relative; }
.menu a:hover { color: var(--gold-matte); }

/* HERO */
.hero { position: relative; min-height: 800px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(0.4); }
.hero-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.hero-text h1 { font-size: 64px; line-height: 1.1; margin-bottom: 25px; }
.hero-text p { font-size: 18px; color: #ccc; margin-bottom: 40px; border-left: 3px solid #b38728; padding-left: 20px; }

/* FORM */
.hero-form { background: rgba(20, 20, 20, 0.8); backdrop-filter: blur(10px); padding: 40px; border: 1px solid var(--border); border-radius: 4px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); position: relative; overflow: hidden; }
.hero-form::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gold-gradient); }
.form-control { width: 100%; padding: 15px; background: rgba(0,0,0,0.5); border: 1px solid #333; color: white; margin-bottom: 15px; font-family: 'Roboto'; outline: none; transition: 0.3s; }
.form-control:focus { border-color: #b38728; background: #000; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em; }

/* SECTIONS */
.section-title { text-align: center; margin-bottom: 70px; }
.section-title h2 { font-size: 42px; margin-bottom: 10px; }
.divider { width: 100px; height: 3px; background: var(--gold-gradient); margin: 20px auto; border-radius: 50%; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-card); padding: 50px 40px; border: 1px solid var(--border); transition: 0.4s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); border-color: #555; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.service-card i { font-size: 45px; margin-bottom: 25px; background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.service-card h3 { font-size: 24px; margin-bottom: 15px; }
.service-card p { flex-grow: 1; margin-bottom: 20px; color: #888; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold-gradient); transition: 0.4s; }
.service-card:hover::after { width: 100%; }
.sub-tags { margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; flex-wrap: wrap; gap: 8px; }
.sub-tags span { display: inline-block; font-size: 11px; color: #ccc; border: 1px solid rgba(197, 160, 89, 0.3); padding: 5px 12px; border-radius: 20px; transition: 0.3s; background: rgba(197, 160, 89, 0.05); cursor: default; }
.sub-tags span:hover { border-color: var(--gold-matte); background: rgba(197, 160, 89, 0.15); color: #fff; }

/* STEPS */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; margin-top: 50px; }
.step-item { position: relative; }
.step-number { font-size: 60px; font-weight: 700; color: #1a1a1a; position: absolute; top: -30px; left: 50%; transform: translateX(-50%); z-index: -1; text-shadow: 0 0 2px rgba(255,255,255,0.1); }
.step-icon { width: 80px; height: 80px; margin: 0 auto 20px; border: 1px solid #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #d4af37; background: var(--bg-card); }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card { background: var(--bg-card); padding: 25px; border: 1px solid var(--border); border-left: 3px solid var(--gold-matte); transition: 0.3s; }
.review-card:hover { transform: translateY(-3px); background: #151515; }
.stars { color: var(--gold-matte); margin-bottom: 10px; font-size: 13px; }
.review-text { font-style: italic; font-size: 14px; color: #ccc; margin-bottom: 15px; line-height: 1.5; }
.review-author { font-weight: 700; color: var(--text-white); font-size: 13px; text-transform: uppercase; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
details.faq-item { background: var(--bg-card); margin-bottom: 15px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
summary.faq-title { padding: 20px; cursor: pointer; font-weight: 500; color: var(--text-white); list-style: none; position: relative; display: flex; justify-content: space-between; align-items: center; }
summary.faq-title::-webkit-details-marker { display: none; }
summary.faq-title::after { content: '+'; color: var(--gold-matte); font-size: 20px; font-weight: bold; }
details[open] summary.faq-title::after { content: '-'; }
details[open] summary.faq-title { border-bottom: 1px solid #222; }
.faq-content { padding: 20px; font-size: 15px; color: #aaa; background: #0a0a0a; line-height: 1.6; }

/* BLOG SLIDER & SCROLLBAR */
.blog-wrapper { display: flex; overflow-x: auto; gap: 30px; padding-bottom: 20px; white-space: nowrap; scroll-snap-type: x mandatory; }
.blog-card { min-width: 350px; background: var(--bg-card); border: 1px solid var(--border); scroll-snap-align: start; white-space: normal; vertical-align: top; }
.blog-img { height: 200px; overflow: hidden; } 
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-content { padding: 25px; }
.blog-card h3 { font-size: 20px; margin-bottom: 15px; line-height: 1.4; }
.read-link { color: var(--text-white); font-weight: bold; font-size: 14px; text-transform: uppercase; }
.read-link:hover { color: #d4af37; }

/* SCROLLBAR STYLE */
.blog-wrapper::-webkit-scrollbar { height: 6px; }
.blog-wrapper::-webkit-scrollbar-track { background: #121212; border-radius: 10px; }
.blog-wrapper::-webkit-scrollbar-thumb { background: var(--gold-matte); border-radius: 10px; border: 1px solid #000; }
.blog-wrapper::-webkit-scrollbar-thumb:hover { background: #fff; }
.blog-wrapper { scrollbar-width: thin; scrollbar-color: var(--gold-matte) #121212; }

/* FOOTER */
footer { background: #050505; border-top: 1px solid var(--border); padding: 80px 0 30px; }
.footer-logo i { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.copyright { margin-top: 60px; padding-top: 20px; border-top: 1px solid #111; text-align: center; font-size: 13px; color: #444; }

/* FLOAT BUTTONS */
.float-btns { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.wp-btn { background: #25D366; } .call-btn { background: #c5a059; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* MOBILE */
@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 40px; }
    .hero-form { margin-top: 40px; }
    .menu { display: none; }
    .process-steps { grid-template-columns: 1fr; gap: 40px; }
    .header-btn-mobile { padding: 8px 15px !important; font-size: 12px !important; }
    .logo { font-size: 20px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr !important; }
}