/*
Theme Name: Shelly & Co
Author: DeAndre Graciano
Description: Custom hand-coded theme for Shelly & Co — Real Estate, Tax & Business Services
Version: 1.0
*/

:root {
  --navy: #0B376D;
  --gold: #C99A32;
  --olive: #5A7245;
  --white: #FFFFFF;
  --text: #1a2333;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
}

a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 70px; width: auto; display: block; }

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-list a {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-list a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: #f7f8fa;
  border-top: 3px solid var(--gold);
  margin-top: 4rem;
  padding: 3rem 1.5rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo { height: 110px; width: auto; }

.footer-tagline {
  margin-top: 1rem;
  max-width: 340px;
  font-size: 0.95rem;
}

.site-footer h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }

.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 1.25rem 0;
  border-top: 1px solid #e3e6eb;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .header-inner { flex-direction: column; gap: 0.5rem; }
}
/* ---------- Nav dropdown ---------- */
.main-nav .nav-list > li { position: relative; }

.main-nav .sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid #e3e6eb;
  border-top: 3px solid var(--gold);
  min-width: 220px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(11, 55, 109, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu li { margin: 0; }

.main-nav .sub-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  text-transform: none;
  font-size: 0.9rem;
}

.main-nav .sub-menu a:hover {
  background: #f5f7fa;
  color: var(--gold);
}
.main-nav .nav-list { align-items: center; }
.nav-list > li > a { padding: 0.5rem 0; display: inline-block; }
/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: #b0842a; color: var(--white); }

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: var(--white);
  padding: 6rem 1.5rem;
  text-align: center;
}

.hero-inner { max-width: 820px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: #46536b;
  margin-bottom: 2rem;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections & cards ---------- */
.section { padding: 4rem 1.5rem; max-width: 1200px; margin: 0 auto; }

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  border: 1px solid #e3e6eb;
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(11, 55, 109, 0.06);
  display: flex;
  flex-direction: column;
}

.card-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

.card ul {
  list-style: none;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card li {
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: #46536b;
}

.card-link {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
}
.card-link:hover { color: var(--navy); }
/* ---------- About teaser ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
}

.photo-placeholder {
  background: #eef1f6;
  border: 2px dashed #c4ccd8;
  border-radius: 6px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a94a6;
  font-size: 0.95rem;
}

.about-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-text p { margin-bottom: 1.5rem; color: #46536b; }

/* ---------- Why choose us ---------- */
.why-us { background: var(--navy); }
.why-us .section-title { color: var(--white); }

.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.why-list li {
  color: var(--white);
  font-size: 1.05rem;
  padding: 0.5rem 0;
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonials { background: #f7f8fa; }

.testimonial {
  background: var(--white);
  border-radius: 6px;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(11, 55, 109, 0.06);
  text-align: center;
}

.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 0.75rem; letter-spacing: 0.15em; }

.testimonial p { font-style: italic; color: #46536b; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-list details {
  border-bottom: 1px solid #e3e6eb;
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p { padding-top: 0.75rem; color: #46536b; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--navy);
  text-align: center;
  padding: 4rem 1.5rem;
}

.final-cta h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-photo img {
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(11, 55, 109, 0.15);
  display: block;
  width: 100%;
}
/* ===== Contact Page ===== */

.contact-hero {
	background: var(--navy);
	color: #fff;
	padding: 60px 20px;
	text-align: center;
}

.contact-hero__inner {
	max-width: 700px;
	margin: 0 auto;
}

.contact-hero h1 {
	font-family: 'Playfair Display', serif !important;
	font-size: 2.4rem !important;
	color: #ffffff !important;
	margin: 0 0 12px 0 !important;
	line-height: 1.2 !important;
	display: block !important;
}

.contact-hero p {
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	opacity: 0.9;
}

.contact-main {
	padding: 60px 20px;
}

.contact-main__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	gap: 50px;
	flex-wrap: wrap;
}

.contact-form-col {
	flex: 1 1 55%;
	min-width: 300px;
}

.contact-info-col {
	flex: 1 1 35%;
	min-width: 260px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.contact-info-block h3,
.contact-social-block h3 {
	font-family: 'Playfair Display', serif;
	color: var(--navy);
	margin-bottom: 14px;
	font-size: 1.3rem;
}

.contact-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
}

.contact-info-list li {
	margin-bottom: 14px;
}

.contact-info-list strong {
	display: block;
	color: var(--olive);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 2px;
}

.contact-info-list a {
	color: var(--navy);
	text-decoration: none;
}

.contact-info-list a:hover {
	color: var(--gold);
}

.contact-social-links {
	display: flex;
	gap: 16px;
	font-family: 'Poppins', sans-serif;
}

.contact-social-links a {
	color: var(--navy);
	text-decoration: none;
	font-size: 0.9rem;
}

.contact-social-links a:hover {
	color: var(--gold);
}

.contact-map-placeholder {
	font-family: 'Poppins', sans-serif;
	color: var(--olive);
	font-style: italic;
	font-size: 0.9rem;
}

@media (max-width: 700px) {
	.contact-main__inner {
		flex-direction: column;
	}
}
/* ===== About Page ===== */

.about-hero {
	background: var(--navy);
	color: #fff;
	padding: 60px 20px;
	text-align: center;
}

.about-hero__inner {
	max-width: 700px;
	margin: 0 auto;
}

.about-hero h1 {
	font-family: 'Playfair Display', serif !important;
	font-size: 2.4rem !important;
	color: #ffffff !important;
	margin: 0 !important;
	display: block !important;
}

.about-main {
	padding: 60px 20px;
}

.about-main__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	gap: 50px;
	flex-wrap: wrap;
	align-items: flex-start;
}

.about-photo-col {
	flex: 1 1 35%;
	min-width: 260px;
}

.about-photo {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

.about-text-col {
	flex: 1 1 55%;
	min-width: 300px;
	font-family: 'Poppins', sans-serif;
	color: #333;
	line-height: 1.7;
}

.about-text-col p {
	margin-bottom: 20px;
	font-size: 1rem;
}

.about-credentials {
	margin: 30px 0;
}

.about-credentials h3 {
	font-family: 'Playfair Display', serif;
	color: var(--navy);
	font-size: 1.3rem;
	margin-bottom: 14px;
}

.about-credentials-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.about-credentials-list li {
	padding: 8px 0 8px 28px;
	position: relative;
	border-bottom: 1px solid #eee;
}

.about-credentials-list li::before {
	content: "✔";
	color: var(--gold);
	position: absolute;
	left: 0;
	font-weight: bold;
}

.about-cta {
	margin-top: 30px;
}

.about-cta p {
	font-weight: 500;
	color: var(--navy);
	margin-bottom: 12px;
}

.btn-primary {
	display: inline-block;
	background: var(--gold);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	text-decoration: none;
	padding: 12px 28px;
	border-radius: 4px;
	transition: background 0.2s ease;
}

.btn-primary:hover {
	background: var(--navy);
}

@media (max-width: 700px) {
	.about-main__inner {
		flex-direction: column;
	}
}
/* ===== Service Pages (Real Estate, Tax, Business, Notary) ===== */

.service-hero {
	background: var(--navy);
	color: #fff;
	padding: 60px 20px;
	text-align: center;
}

.service-hero__inner {
	max-width: 700px;
	margin: 0 auto;
}

.service-hero h1 {
	font-family: 'Playfair Display', serif !important;
	font-size: 2.4rem !important;
	color: #ffffff !important;
	margin: 0 0 12px 0 !important;
	display: block !important;
}

.service-hero p {
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	opacity: 0.9;
	margin-bottom: 24px;
}

.service-hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-secondary {
	display: inline-block;
	background: transparent;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	text-decoration: none;
	padding: 12px 28px;
	border: 2px solid var(--gold);
	border-radius: 4px;
	transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
	background: var(--gold);
	color: #fff;
}

.service-main {
	padding: 60px 20px;
}

.service-main__inner {
	max-width: 800px;
	margin: 0 auto;
}

.service-block {
	margin-bottom: 40px;
	font-family: 'Poppins', sans-serif;
	color: #333;
	line-height: 1.7;
}

.service-block h2 {
	font-family: 'Playfair Display', serif;
	color: var(--navy);
	font-size: 1.6rem;
	margin-bottom: 12px;
}

.service-faq .faq-item {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.service-faq .faq-item h3 {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: var(--olive);
	font-size: 1.05rem;
	margin-bottom: 8px;
}

.service-cta {
	text-align: center;
	padding: 40px 20px;
	background: #f9f7f2;
	border-radius: 6px;
	margin-top: 40px;
}

.service-cta p {
	font-weight: 500;
	color: var(--navy);
	margin-bottom: 16px;
	font-family: 'Poppins', sans-serif;
}

@media (max-width: 600px) {
	.service-hero-buttons {
		flex-direction: column;
		align-items: center;
	}
}
/* ===== Services Overview Page ===== */

.services-hero {
	background: var(--navy);
	color: #fff;
	padding: 60px 20px;
	text-align: center;
}

.services-hero__inner {
	max-width: 700px;
	margin: 0 auto;
}

.services-hero h1 {
	font-family: 'Playfair Display', serif !important;
	font-size: 2.4rem !important;
	color: #ffffff !important;
	margin: 0 0 12px 0 !important;
	display: block !important;
}

.services-hero p {
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	opacity: 0.9;
}

.services-grid-section {
	padding: 60px 20px;
	max-width: 1100px;
	margin: 0 auto;
}

.services-hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 30px;
}

.service-card {
	display: block;
	border: 1px solid #e3e6eb;
	border-top: 3px solid var(--gold);
	border-radius: 6px;
	padding: 30px 24px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(11, 55, 109, 0.06);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(11, 55, 109, 0.12);
}

.service-card h2 {
	font-family: 'Playfair Display', serif;
	color: var(--navy);
	font-size: 1.4rem;
	margin-bottom: 10px;
}

.service-card p {
	font-family: 'Poppins', sans-serif;
	color: #46536b;
	font-size: 0.95rem;
	margin-bottom: 16px;
	line-height: 1.6;
}

.service-card-link {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: var(--gold);
	font-size: 0.9rem;
}

.service-card:hover .service-card-link {
	color: var(--navy);
}