@import url('https://fonts.googleapis.com/css2?family=Suranna&family=Lato:wght@300;400;700&display=swap');

/* ===== Reset & Base ===== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: #6c6c6c;
  background-color: #cbddd1;
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Suranna', serif;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.3;
}

a {
  color: #6c6c6c;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #4a4a4a;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Layout ===== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* ===== Header ===== */

header {
  background-color: #cbddd1;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 3px solid #f1f4ec;
  border-bottom: 1px solid rgba(241, 244, 236, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-name {
  font-family: 'Suranna', serif;
  font-size: 1.6rem;
  color: #4a4a4a;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-leaf {
  font-size: 1.1rem;
  opacity: 0.5;
}

.logo-line {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #f1f4ec, transparent);
  margin: 0.25rem 0;
}

.logo-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #6c6c6c;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #6c6c6c;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.header-phone {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* ===== Mobile Menu ===== */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #6c6c6c;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ===== Hero ===== */

.hero {
  background-color: #cbddd1;
  padding: 5rem 0 4rem;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #4a4a4a;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-image {
  flex: 0 0 340px;
}

.hero-image img {
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 4px solid #f1f4ec;
  outline: 1px solid rgba(108, 108, 108, 0.15);
  outline-offset: 4px;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1px solid #6c6c6c;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6c6c6c;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}

.btn:hover {
  background-color: #6c6c6c;
  color: #f1f4ec;
}

/* ===== About ===== */

.about {
  background-color: #cbddd1;
}

.about .container {
  max-width: 800px;
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-line {
  width: 60px;
  height: 1px;
  background-color: #6c6c6c;
  margin: 1rem 0 2rem;
}

.about p {
  margin-bottom: 1.5rem;
}

.credentials {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(108, 108, 108, 0.2);
}

.credentials h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.credentials ul {
  list-style: none;
  padding: 0;
}

.credentials li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

.credentials li::before {
  content: '\2014';
  margin-right: 0.75rem;
  opacity: 0.4;
}

/* ===== Services ===== */

.services {
  background-color: #cbddd1;
  padding-bottom: 2rem;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.services-intro {
  max-width: 700px;
  margin-bottom: 3rem;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(241, 244, 236, 0.6);
  position: relative;
}

.service-row::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(108, 108, 108, 0.15), transparent);
}

.service-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.service-row:last-child::before {
  display: none;
}

.service-row:nth-child(even) {
  flex-direction: row-reverse;
}

.service-row-image {
  flex: 0 0 40%;
  min-height: 280px;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(241, 244, 236, 0.6);
}

.service-row-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.service-row-text {
  flex: 1;
  padding: 1.5rem 0;
}

.service-row-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(241, 244, 236, 0.5);
  display: inline-block;
}

.service-row-text p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.learn-more {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.learn-more::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.service-row:hover .learn-more::after {
  transform: translateX(4px);
}

/* ===== Contact ===== */

.contact {
  background-color: #cbddd1;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.contact-firm-note {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-firm-note a {
  border-bottom: 1px solid rgba(108, 108, 108, 0.3);
}

.contact-firm-note a:hover {
  border-bottom-color: #6c6c6c;
}

.contact-content {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 1.05rem;
}

.contact-value a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.contact-value a:hover {
  border-bottom-color: #6c6c6c;
}

.contact-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ===== Footer ===== */

footer {
  background-color: #4a4a4a;
  color: rgba(241, 244, 236, 0.7);
  padding: 3rem 0 1.5rem;
  font-size: 0.8rem;
  line-height: 1.8;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-info {
  flex: 1;
}

.footer-info strong {
  color: #f1f4ec;
  font-weight: 400;
  font-family: 'Suranna', serif;
  font-size: 1rem;
}

.footer-info a {
  color: rgba(241, 244, 236, 0.7);
}

.footer-info a:hover {
  color: #f1f4ec;
}

.footer-disclosures {
  flex: 1;
  text-align: right;
  font-size: 0.75rem;
  line-height: 1.9;
  opacity: 0.7;
}

.footer-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(241, 244, 236, 0.15);
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.55;
  letter-spacing: 0.05em;
}

.footer-bottom {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.4;
}

/* ===== Service Detail Pages ===== */

.service-detail {
  background-color: #cbddd1;
  padding: 4rem 0;
}

.service-detail .container {
  max-width: 800px;
}

.service-detail h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.service-detail .section-line {
  margin-bottom: 2.5rem;
}

.service-detail p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.service-detail h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.service-detail ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-detail li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 1px;
  background-color: #6c6c6c;
}

.service-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(108, 108, 108, 0.2);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.back-link::before {
  content: '\2190';
}

/* ===== Coming Soon ===== */

.coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.coming-soon .logo {
  align-items: center;
  margin-bottom: 3rem;
}

.coming-soon .logo-name {
  font-size: 2.4rem;
}

.coming-soon h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #4a4a4a;
}

.coming-soon p {
  max-width: 500px;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.coming-soon .contact-preview {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(108, 108, 108, 0.15);
}

.coming-soon .contact-preview p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* ===== Admin Styles ===== */

.admin-bar {
  background-color: #4a4a4a;
  color: #f1f4ec;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  font-size: 0.85rem;
}

.admin-bar .admin-label {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.7;
}

.admin-bar .admin-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.admin-tabs {
  display: flex;
  gap: 0;
}

.admin-tab {
  padding: 0.4rem 1.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(241, 244, 236, 0.5);
  background: transparent;
  border: 1px solid rgba(241, 244, 236, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-tab:first-child {
  border-radius: 2px 0 0 2px;
}

.admin-tab:last-child {
  border-radius: 0 2px 2px 0;
}

.admin-tab + .admin-tab {
  border-left: none;
}

.admin-tab.active {
  color: #f1f4ec;
  background: rgba(241, 244, 236, 0.1);
  border-color: rgba(241, 244, 236, 0.4);
}

.admin-tab:hover {
  color: #f1f4ec;
}

.admin-btn {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  border: 1px solid rgba(241, 244, 236, 0.4);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f1f4ec;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-btn:hover {
  background-color: rgba(241, 244, 236, 0.1);
  border-color: rgba(241, 244, 236, 0.7);
}

.admin-btn.publish {
  border-color: #8fbc8f;
  color: #8fbc8f;
}

.admin-btn.publish:hover {
  background-color: #8fbc8f;
  color: #4a4a4a;
}

.admin-btn.unpublish {
  border-color: #d4886c;
  color: #d4886c;
}

.admin-btn.unpublish:hover {
  background-color: #d4886c;
  color: #4a4a4a;
}

.admin-status {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.admin-status.draft {
  background-color: rgba(212, 136, 108, 0.2);
  color: #d4886c;
}

.admin-status.live {
  background-color: rgba(143, 188, 143, 0.2);
  color: #8fbc8f;
}

/* Editable fields */
[contenteditable="true"] {
  outline: 2px dashed rgba(143, 188, 143, 0.4);
  outline-offset: 4px;
  transition: outline-color 0.3s ease;
  min-height: 1em;
}

[contenteditable="true"]:hover {
  outline-color: rgba(143, 188, 143, 0.7);
}

[contenteditable="true"]:focus {
  outline-color: #8fbc8f;
  outline-style: solid;
}

.edit-hint {
  font-size: 0.65rem;
  color: #8fbc8f;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  top: -1.2rem;
  left: 0;
}

[contenteditable="true"]:hover + .edit-hint,
[contenteditable="true"]:focus + .edit-hint {
  opacity: 1;
}

/* ===== Login Page ===== */

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.login-box {
  background-color: #f1f4ec;
  padding: 3rem;
  max-width: 400px;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.login-box h1 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.login-box p {
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.login-box input[type="password"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(108, 108, 108, 0.3);
  background: white;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: #4a4a4a;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.login-box input[type="password"]:focus {
  border-color: #6c6c6c;
}

.login-box .error {
  color: #c75050;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  display: none;
}

/* ===== Virtual Business Card ===== */

.vcard-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #cbddd1;
}

.vcard {
  background-color: #f1f4ec;
  max-width: 420px;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.vcard-header {
  background-color: #4a4a4a;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  color: #f1f4ec;
}

.vcard-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f1f4ec;
  margin-bottom: 1rem;
}

.vcard-header h1 {
  font-family: 'Suranna', serif;
  font-size: 1.6rem;
  color: #f1f4ec;
  margin-bottom: 0.25rem;
}

.vcard-header p {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.vcard-body {
  padding: 2rem;
}

.vcard-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(108, 108, 108, 0.1);
}

.vcard-item:last-child {
  border-bottom: none;
}

.vcard-icon {
  width: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.5;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.vcard-item-content {
  flex: 1;
}

.vcard-item-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6c6c6c;
  margin-bottom: 0.15rem;
}

.vcard-item-value {
  font-size: 0.95rem;
  color: #4a4a4a;
}

.vcard-item-value a {
  color: #4a4a4a;
  border-bottom: 1px solid transparent;
}

.vcard-item-value a:hover {
  border-bottom-color: #6c6c6c;
}

.vcard-actions {
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vcard-btn {
  display: block;
  text-align: center;
  padding: 0.8rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid #6c6c6c;
  color: #6c6c6c;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vcard-btn:hover {
  background-color: #6c6c6c;
  color: #f1f4ec;
}

.vcard-btn.primary {
  background-color: #4a4a4a;
  color: #f1f4ec;
  border-color: #4a4a4a;
}

.vcard-btn.primary:hover {
  background-color: #6c6c6c;
  border-color: #6c6c6c;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .service-row,
  .service-row:nth-child(even) {
    flex-direction: column;
  }

  .service-row-image {
    flex: none;
    min-height: 200px;
    width: 100%;
  }

  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-image {
    flex: none;
    width: 260px;
  }

  .contact-content {
    flex-direction: column;
    gap: 2rem;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclosures {
    text-align: center;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #cbddd1;
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(241, 244, 236, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header-phone {
    display: none;
  }

  header .container {
    position: relative;
  }

  .admin-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .vcard {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3rem 0;
  }

  h2 {
    font-size: 1.8rem !important;
  }

  .coming-soon .logo-name {
    font-size: 1.8rem;
  }
}
