/*
 Theme Name:   Dr. Imelda Dezmirean
 Theme URI:    https://dr.dezmirean.ro
 Description:  Custom child theme for Dr. Imelda Dezmirean - Neurologist
 Author:       Dan Dezmirean
 Template:     doctors-profile
 Version:      1.0.0
 Text Domain:  dr-imelda
*/

/* ========== RESET & BASE ========== */
:root {
  --navy: #1a2744;
  --navy-light: #2a3d5e;
  --gold: #c9a84c;
  --gold-light: #e8d59a;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

body.front-page-custom {
  font-family: var(--font-body);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

body.front-page-custom #masthead,
body.front-page-custom .site-header,
body.front-page-custom #colophon,
body.front-page-custom .site-footer {
  display: none !important;
}

.fp-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER / NAV ========== */
.fp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 39, 68, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  transition: var(--transition);
}

.fp-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.fp-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fp-logo {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fp-logo span {
  color: var(--gold);
}

.fp-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.fp-nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: var(--transition);
}

.fp-nav-links a:hover {
  color: var(--gold);
}

.fp-nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600 !important;
}

.fp-nav-cta:hover {
  background: var(--gold-light) !important;
}

.fp-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.fp-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* ========== HERO ========== */
.fp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.fp-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: rgba(255,255,255,0.03);
  transform: rotate(-15deg);
  pointer-events: none;
}

.fp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.fp-hero-content {
  color: var(--white);
}

.fp-hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.fp-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.fp-hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.fp-hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.fp-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.fp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.fp-btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.fp-btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.fp-btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.fp-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.fp-hero-image {
  position: relative;
}

.fp-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.fp-hero-stat {
  position: absolute;
  background: var(--white);
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.fp-hero-stat-1 {
  bottom: 30px;
  left: -30px;
}

.fp-hero-stat-2 {
  top: 30px;
  right: -20px;
}

.fp-hero-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--navy);
  font-family: var(--font-heading);
}

.fp-hero-stat span {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== CREDENTIALS BAR ========== */
.fp-credentials {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}

.fp-credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.fp-credential-item {
  padding: 20px;
}

.fp-credential-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.fp-credential-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.fp-credential-item p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ========== ABOUT ========== */
.fp-about {
  padding: 100px 0;
  background: var(--off-white);
}

.fp-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.fp-about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.fp-section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.fp-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.fp-about-text {
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.8;
}

.fp-about-list {
  list-style: none;
  margin: 24px 0;
}

.fp-about-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-700);
}

.fp-about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ========== SERVICES ========== */
.fp-services {
  padding: 100px 0;
  background: var(--white);
}

.fp-services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.fp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fp-service-card {
  padding: 36px 28px;
  background: var(--off-white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.fp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: var(--gold);
}

.fp-service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.fp-service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.fp-service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========== CTA ========== */
.fp-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}

.fp-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
}

.fp-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== CONTACT ========== */
.fp-contact {
  padding: 100px 0;
  background: var(--off-white);
}

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

.fp-contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fp-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.fp-contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.fp-contact-item h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.fp-contact-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.fp-map {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

/* ========== FOOTER ========== */
.fp-footer {
  background: var(--navy);
  padding: 48px 0 24px;
  color: rgba(255,255,255,0.6);
}

.fp-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.fp-footer-logo {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.fp-footer-logo span {
  color: var(--gold);
}

.fp-footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.fp-footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.fp-footer-links a:hover {
  color: var(--gold);
}

.fp-footer-bottom {
  text-align: center;
  font-size: 0.8rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .fp-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .fp-hero-content { order: 2; }
  .fp-hero-image { order: 1; max-width: 400px; margin: 0 auto; }
  .fp-hero-buttons { justify-content: center; }
  .fp-hero-text { margin: 0 auto 36px; }
  .fp-hero-stat { display: none; }
  .fp-credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-about-grid { grid-template-columns: 1fr; }
  .fp-services-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .fp-nav-links { display: none; }
  .fp-menu-toggle { display: block; }
  .fp-nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 16px;
  }
  .fp-credentials-grid { grid-template-columns: 1fr 1fr; }
  .fp-services-grid { grid-template-columns: 1fr; }
  .fp-hero-buttons { flex-direction: column; align-items: center; }
  .fp-footer-inner { flex-direction: column; gap: 16px; }
}
