/*
Theme Name: Notary
Theme URI: https://pointer.dev
Author: Pointer Dev
Description: Custom Elementor-friendly theme for Notere Vlora Osmani with modern, animated styling.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: notary-vlora
*/

:root {
  --primary: #c8965c;
  --primary-dark: #a2733b;
  --accent: #c8965c;
  --bg: #f7f9fc;
  --text: #1e2428;
  --muted: #5f6b76;
  --border: #e3e8ee;
  --shadow: 0 10px 30px rgba(10, 31, 68, 0.12);
  --radius: 14px;
  --font-heading: "Manrope", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --hero-deep: #0d2623;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #0b1220;
  margin: 0 0 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

ul {
  margin: 0;
  padding: 0 0 0 18px;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section.light {
  background: var(--bg);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title span.kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(200, 150, 92, 0.12);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.btn.alt {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero .btn.alt {
  background: transparent;
  color: #f4f1e9;
  border: 1px solid rgba(244, 241, 233, 0.6);
}

.btn.alt.dark {
  background: transparent;
  color: #f4f1e9;
  border: 1px solid rgba(244, 241, 233, 0.6);
  box-shadow: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: #f4f1e9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 600;
  color: #f0f4f3;
}

.nav a:hover,
.nav .current-menu-item > a {
  color: var(--primary);
}

.header-cta {
  margin-left: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #f4f1e9;
  border-radius: 2px;
  content: "";
  transition: transform 0.2s ease;
}

.menu-toggle span {
  transform: translateY(0);
}

.menu-toggle::before {
  transform: translateY(-6px);
}

.menu-toggle::after {
  transform: translateY(6px);
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: translateY(0) rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: translateY(0) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 0 16px;
  color: #f4f1e9;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 110px;
  background: linear-gradient(120deg, #d9dde4 0%, #cbd0d8 40%, #e3e6ec 100%);
  color: #0f1b2d;
}

.hero-alt {
  padding: 120px 0 90px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  min-height: 45vh;
  padding: 110px 0 80px;
  background: radial-gradient(circle at 12% 20%, rgba(200, 150, 92, 0.08), transparent 36%),
    radial-gradient(circle at 82% 12%, rgba(200, 150, 92, 0.12), transparent 32%),
    #f7f9fc;
  display: flex;
  align-items: center;
  color: #122137;
}

.sub-hero.dark {
  background: radial-gradient(circle at 18% 20%, rgba(200, 150, 92, 0.08), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(200, 150, 92, 0.12), transparent 28%),
    var(--hero-deep);
  color: #f4f1e9;
}

.sub-hero .inner {
  width: min(960px, 92%);
  margin: 0 auto;
  text-align: left;
}

.sub-hero h1,
.sub-hero h2 {
  color: inherit;
  margin-bottom: 12px;
}

.sub-hero p {
  color: inherit;
  max-width: 720px;
}

.mpne-breadcrumbs {
  margin-top: 10px;
  font-size: 14px;
  color: #6b7280;
}

.mpne-breadcrumbs a {
  color: #0f172a;
  text-decoration: none;
}

.mpne-breadcrumbs .sep {
  margin: 0 6px;
  color: #9ca3af;
}

.wa-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  z-index: 9999;
}

@media (max-width: 820px) {
  .wa-button {
    display: inline-flex;
  }
}

.hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: 60px;
  color: #0f1b2d;
  letter-spacing: -0.04em;
}

.hero p.lead {
  font-size: 18px;
  color: #4a5562;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--primary);
  animation: float 6s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero .actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual .card {
  padding: 26px;
  background: #101824;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
  position: relative;
  z-index: 2;
  color: rgba(244, 241, 233, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 480px;
}

.hero-visual .floating {
  position: absolute;
  inset: auto auto -30px -30px;
  padding: 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 20px;
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(200, 150, 92, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-weight: 800;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.07);
}

.list-check {
  list-style: none;
  padding: 0;
}

.list-check li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: var(--muted);
}

.list-check .dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.stat {
  padding: 18px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat h3 {
  margin: 0 0 6px;
  font-size: 26px;
  color: var(--primary);
}

.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.hero .stat {
  background: #0f1d1b;
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(244, 241, 233, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.hero .stat h3 {
  color: #f9f7f2;
}

.testimonials {
  position: relative;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.testimonial-card {
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card .quote {
  font-size: 15px;
  color: var(--muted);
}

.testimonial-card .author {
  margin-top: 14px;
  font-weight: 700;
  color: #0b1b2b;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card {
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card form {
  display: grid;
  gap: 12px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.contact-card textarea {
  min-height: 120px;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(10, 31, 68, 0.12);
}

.about-compact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.services-highlight {
  display: grid;
  gap: 18px;
}

.service-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

.service-image img,
.service-image .img-placeholder {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  min-height: 320px;
}

.service-panel {
  background: #f2f4f7;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.service-title-bar {
  background: #b4b8bf;
  border-radius: 20px;
  padding: 12px 16px;
  text-align: center;
  margin-bottom: 18px;
}

.service-title-bar h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #1f2933;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-block {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block h3 {
  margin: 0 0 8px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.team-photo img,
.team-photo .img-placeholder {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.team-body {
  padding: 14px 16px;
}

.team-body h3 {
  margin: 0 0 6px;
}

.team-body .role {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 600;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 14px 16px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #0b1220;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 10px 0 0;
}

.img-placeholder {
  width: 100%;
  padding-top: 62%;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(249, 115, 22, 0.08));
  border-radius: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: "Image placeholder";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer {
  background: #0f172a;
  color: #c8d3df;
  padding: 60px 0 30px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.footer a {
  color: #c8d3df;
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.06);
}

.blog-card .thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(200, 150, 92, 0.12), rgba(12, 32, 49, 0.1));
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card .thumb.placeholder::after {
  content: "Image placeholder";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #6b7280;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(200, 150, 92, 0.12), rgba(12, 32, 49, 0.08));
}

.blog-card .body {
  padding: 18px;
}

.blog-card h3 {
  font-size: 20px;
}

.hero .shape {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(200, 150, 92, 0.14);
  top: -60px;
  right: -40px;
  filter: blur(0);
  animation: pulseGlow 9s ease-in-out infinite;
}

.wp-block-image img {
  border-radius: 12px;
}

.alignwide {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.alignfull {
  width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

@media (max-width: 1024px) {
  .hero .grid,
  .hero-split,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .stats,
  .services-highlight {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-inner {
    gap: 12px;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .mobile-nav {
    display: flex;
    background: #0f0f0f;
    padding: 12px 16px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero {
    padding: 100px 0 80px;
  }
  .feature-grid,
  .stats,
  .services-highlight {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 70px 0;
  }
  .service-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: 32px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Animation helpers */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}
