/**
 * İnşaat / Müteahhit şablonu – modern, kullanıcı dostu tema
 */
:root {
    --color-primary: #c45c26;
    --color-primary-dark: #a04a1e;
    --color-primary-light: #e07a3a;
    --color-dark: #1a1a1a;
    --color-dark-alt: #252525;
    --color-text: #1a1a1a;
    --color-text-muted: #5c5c5c;
    --color-bg: #f8f6f3;
    --color-bg-alt: #fff;
    --color-border: #e0ddd8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --container: min(1200px, 100% - 2rem);
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.site-body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

.container {
    width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

.container-narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-logo:hover {
    color: var(--color-primary-dark);
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.site-nav a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(196, 92, 38, 0.1);
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-alt);
        border-left: 1px solid var(--color-border);
        padding: 5rem 1.5rem 1.5rem;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.08);
    }
    .site-nav.is-open { transform: translateX(0); }
    .site-nav ul { flex-direction: column; }
    .site-nav a { padding: 0.75rem 1rem; }
}

/* Main */
.site-main {
    min-height: 60vh;
}

/* Hero */
.hero {
    position: relative;
    padding: 4rem 0;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23fff' fill-opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    background: #fff;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Sections */
.section {
    padding: 3.5rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-lead {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.page-head {
    padding: 2.5rem 0;
    background: var(--color-dark);
    color: #fff;
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-lead {
    opacity: 0.9;
    font-size: 1rem;
}

/* Stats */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.services-grid-full { margin-bottom: 0; }

.service-card {
    background: var(--color-bg-alt);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.projects-grid-full { margin-bottom: 0; }

.project-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.project-placeholder {
    height: 180px;
    background: linear-gradient(135deg, var(--color-border) 0%, #e8e6e2 100%);
}

.project-info {
    padding: 1.25rem;
}

.project-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.project-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* CTA section */
.section-cta {
    background: var(--color-dark);
    color: #fff;
    text-align: center;
}

.section-cta .section-title,
.section-cta .section-lead { color: #fff; }
.section-cta .section-lead { opacity: 0.9; }

.section-cta .btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.section-cta .btn-primary:hover {
    background: var(--color-primary-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.65rem 1.35rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: rgba(196, 92, 38, 0.1);
    color: var(--color-primary-dark);
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); font-size: 0.95rem; }

/* Section content (inner pages) */
.section-content .about-text {
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-info p {
    margin-bottom: 1.25rem;
}

.contact-info a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .section { padding: 2.5rem 0; }
}

/* Footer */
.site-footer {
    background: var(--color-dark-alt);
    color: #fff;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-inner {
    display: grid;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary-light);
}

.footer-tagline {
    opacity: 0.85;
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}
