:root {
    --bg:#faf8f4;
    --panel:#ffffff;
    --text:#1b1b1b;
    --muted:#6e6e6e;
    --brand:#b30021;
    --gold:#c7a468;
    --radius:16px;
    --shadow:0 8px 24px rgba(0,0,0,.08);
    --shadow-soft:0 6px 16px rgba(0,0,0,.06);
    --maxw:1200px;
}

* { box-sizing:border-box; margin:0; padding:0; }
body {
    font-family:"Poppins", sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
}

/* ===== HEADER ===== */
header.nav {
    position:sticky; top:0; z-index:100;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(6px);
    border-bottom:1px solid #eee;
}
.nav-inner {
    max-width:var(--maxw);
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 20px;
}

.brand {
    display:flex;
    align-items:center;
    gap:12px;
}
.brand .logo {
    width:64px;
    height:64px;
    overflow:hidden;
    border-radius:12px;
}
.brand .logo img {
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.menu {
    display:flex;
    gap:26px;
}
.menu a {
    text-decoration:none;
    font-weight:600;
    color:#222;
    position:relative;
    transition:color .2s;
}
.menu a:hover {
    color:var(--brand);
}

/* Hamburger menu setup */
.hamb { display:none; cursor:pointer; font-size:26px; }
#nav-toggle { display:none; }
.menu-mobile { display:none; }

@media (max-width:860px) {
    .menu { display:none; }
    .hamb {
    display: block;
    position: absolute;
    right: 20px; /* فاصله از سمت راست */
    top: 18px;   /* تنظیم موقعیت عمودی */
    font-size: 28px;
    border: 1px solid #ddd;
    padding: 6px 10px;
    border-radius: 8px;
    background: #fff;
    z-index: 200;
}
.brand {
    margin-left: 20px;
}
    .menu-mobile {
    display:block;
    background:#fff;
    overflow:hidden;
    max-height:0;
    transition:max-height .3s ease;
    border-top:1px solid #eee;
    }
    #nav-toggle:checked ~ .menu-mobile {
    max-height:240px;
    }
    .menu-mobile a {
    display:block;
    padding:12px 20px;
    text-decoration:none;
    color:#333;
    font-weight:600;
    }
    .menu-mobile a + a {
    border-top:1px solid #f2f2f2;
    }
}

/* ===== HERO ===== */
.hero {
    position:relative;
    min-height:65vh;
    display:grid;
    place-items:center;
    text-align:center;
    color:#fff;
}
.hero::before {
    content:"";
    position:absolute;
    inset:0;
    background: var(--hero-bg) center/cover no-repeat;
    filter:brightness(0.6);
    z-index:-1;
}
.hero h1 {
    font-size:clamp(36px,5vw,64px);
    font-weight:700;
    margin-bottom:10px;
}
.hero p {
    font-size:clamp(16px,2vw,20px);
    opacity:.95;
    margin-bottom:20px;
}
.cta {
    display:inline-block;
    background:var(--brand);
    color:#fff;
    padding:14px 26px;
    border-radius:999px;
    text-decoration:none;
    font-weight:700;
    transition:background .3s;
}
.cta:hover { background:#8e001b; }

/* ===== SECTIONS ===== */
section { padding:70px 20px; }
.container { max-width:var(--maxw); margin:auto; }

.section-title {
    text-align:center;
    font-size:clamp(24px,4vw,38px);
    font-weight:700;
    margin-bottom:10px;
}
.section-sub {
    text-align:center;
    color:var(--muted);
    margin-bottom:40px;
}

/* ===== CARDS (Tjänster) ===== */
.grid {
    display:grid;
    gap:20px;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
}

.card {
    background:var(--panel);
    border-radius:var(--radius);
    box-shadow:var(--shadow-soft);
    padding:22px;
    text-align:center;
    transition:transform .2s ease, box-shadow .3s ease;
    cursor: pointer;
}
.card:hover {
    transform:translateY(-4px);
    box-shadow:0 10px 28px rgba(0,0,0,0.1);
}
.card .icon {
    width:120px;
    height:120px;
    margin:auto;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:14px;
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}
.card .icon img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s;
}
.card:hover .icon img {
    transform:scale(1.05);
}
.card h3 {
    font-size:18px;
    font-weight:700;
    color:#111;
    margin:8px 0 6px;
}
.card p {
    font-size:15px;
    color:var(--muted);
}

/* ===== FOOTER ===== */
.contact {
    background:#111;
    color:#fff;
    padding:54px 20px;
    border-top:3px solid var(--gold);
}
.contact .inner {
    max-width:var(--maxw);
    margin:auto;
    display:grid;
    gap:24px;
    grid-template-columns:2fr 1fr;
}
@media (max-width:860px) {
    .contact .inner { grid-template-columns:1fr; }
}
.footer {
    background:#0a0a0a;
    color:#ccc;
    text-align:center;
    font-size:14px;
    padding:16px 0;
}

.intro-text {
  max-width: var(--maxw);
  margin: 0 auto 50px auto;
  text-align: center;
  padding: 0 20px;
}
.intro-text h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.intro-text p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* ساختار دو ستونی */
.flex-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.flex-section .text-col {
  flex: 1 1 60%;
  min-width: 300px;
}

.flex-section .image-col {
  flex: 1 1 35%;
  text-align: center;
}

.flex-section .image-col img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 860px) {
  .flex-section {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  .flex-section .image-col {
    order: 2;
    margin-top: 20px;
  }
  .flex-section .text-col {
    order: 1;
  }
}

.photo-services {
  background-color: #e6e6e6;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.service.reverse {
  flex-direction: row-reverse;
}

.service-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
}

.service-text {
  max-width: 460px;
}

.service-text h3 {
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.service-text p {
  font-size: 1rem;
  line-height: 1.6;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  .service {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .service.reverse {
    flex-direction: column;
  }
  .service-image img {
    max-width: 100%;
  }
}