/*
Theme Name: MediciCityApt
Theme URI: https://medicicityapt.com
Author: Tuscany Taste Tour
Author URI: https://tuscanytastetour.com
Description: Landing page theme for MediciCityApt — Private Tuscany Experience
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: medicicityapt
*/

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a0a;
  color: #f0ede8;
  overflow-x: hidden;
}

/* ─── CSS VARIABLES ─── */
:root {
  --orange: #DC834E;
  --gray: #d9dadb;
  --dark: #0a0a0a;
  --dark2: #111111;
  --dark3: #1a1a1a;
  --cream: #f0ede8;
  --cream2: #e8e4de;
  --font-display: 'Cormorant Garamond', serif;
  --font-script: 'Oregano', cursive;
  --font-body: 'Poppins', sans-serif;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { font-size: 1rem; line-height: 1.75; color: var(--gray); }
em { font-family: var(--font-script); font-style: normal; color: var(--orange); font-size: 1.1em; }

/* ─── NAVIGATION ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220,131,78,0.15);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-brand span { color: var(--orange); }
.nav-cta {
  display: inline-block;
  padding: 0.55rem 1.5rem;
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--orange); color: #fff; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 3rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1209 40%, #0f0c07 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(220,131,78,0.12) 0%, transparent 65%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--orange);
}
.hero h1 {
  color: var(--cream);
  margin-bottom: 2rem;
}
.hero h1 em {
  display: block;
  font-size: 1.15em;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-bottom: 3rem;
  font-size: 0.82rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta span::before {
  content: '·';
  color: var(--orange);
}
.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.hero-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.hero-cta:hover::after { transform: translateX(0); }

.hero-quote {
  position: absolute;
  bottom: 3rem; right: 3rem;
  max-width: 320px;
  z-index: 2;
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(240,237,232,0.5);
  line-height: 1.6;
  border-right: 2px solid rgba(220,131,78,0.4);
  padding-right: 1.5rem;
}

/* ─── SCROLL INDICATOR ─── */
.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.35);
}
.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── VIDEO SECTION ─── */
.video-section {
  background: var(--dark2);
  padding: 6rem 3rem;
  text-align: center;
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.video-section h2 {
  color: var(--cream);
  margin-bottom: 3rem;
}
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid rgba(220,131,78,0.2);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ─── PACKAGE SECTION ─── */
.package-section {
  background: var(--dark);
  padding: 8rem 3rem;
}
.package-section .section-header {
  text-align: center;
  margin-bottom: 5rem;
}
.package-section .section-header h2 {
  color: var(--cream);
  margin-bottom: 1rem;
}
.package-section .section-header p {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: rgba(217,218,219,0.5);
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  max-width: 1200px;
  margin: 0 auto 5rem;
  background: rgba(220,131,78,0.1);
}
.package-item {
  background: var(--dark2);
  padding: 2.5rem;
  transition: background 0.3s ease;
}
.package-item:hover { background: var(--dark3); }
.package-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.package-item h3 {
  color: var(--cream);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.package-item p {
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ─── SPECS TABLE ─── */
.specs-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(220,131,78,0.2);
}
.specs-row {
  display: flex;
  border-bottom: 1px solid rgba(220,131,78,0.1);
}
.specs-row:last-child { border-bottom: none; }
.specs-label {
  flex: 0 0 220px;
  padding: 1.25rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  border-right: 1px solid rgba(220,131,78,0.15);
  background: rgba(220,131,78,0.04);
}
.specs-value {
  flex: 1;
  padding: 1.25rem 2rem;
  font-size: 0.9rem;
  color: var(--cream);
}
.specs-note {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 1.5rem 2rem;
  background: rgba(220,131,78,0.06);
  border-left: 3px solid var(--orange);
  font-size: 0.85rem;
  color: rgba(240,237,232,0.65);
  line-height: 1.7;
}

/* ─── TAILORFLOW ─── */
.tailorflow-section {
  background: var(--dark2);
  padding: 8rem 3rem;
}
.tailorflow-section .section-header {
  text-align: center;
  margin-bottom: 1rem;
}
.tailorflow-section .section-header h2 { color: var(--cream); }
.tailorflow-subtitle {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: rgba(217,218,219,0.5);
  margin-bottom: 5rem;
}
.tailorflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto 5rem;
  position: relative;
}
.tailorflow-steps::before {
  content: '';
  position: absolute;
  top: 3rem; left: 16.66%; right: 16.66%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--orange), transparent);
  z-index: 0;
}
.step {
  padding: 0 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  background: var(--dark2);
}
.step-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.step h3 {
  color: var(--cream);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.step p {
  font-size: 0.88rem;
  line-height: 1.75;
}
.tailorflow-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(240,237,232,0.6);
  line-height: 1.7;
  padding-top: 4rem;
  border-top: 1px solid rgba(220,131,78,0.15);
}

/* ─── PROFILE SECTION ─── */
.profile-section {
  background: var(--dark);
  padding: 8rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.profile-image-wrap {
  position: relative;
}
.profile-image-wrap img {
  width: 100%;
  display: block;
  filter: grayscale(20%);
  border: 1px solid rgba(220,131,78,0.2);
}
.profile-image-wrap::before {
  content: '';
  position: absolute;
  top: -1.5rem; left: -1.5rem; right: 1.5rem; bottom: 1.5rem;
  border: 1px solid rgba(220,131,78,0.25);
  z-index: -1;
}
.profile-content .section-label { margin-bottom: 1rem; }
.profile-content h2 { color: var(--cream); margin-bottom: 1.5rem; }
.profile-content p { margin-bottom: 1.5rem; font-size: 0.95rem; }

/* ─── FINAL CTA ─── */
.cta-section {
  background: linear-gradient(135deg, var(--dark2) 0%, #1a0e06 100%);
  padding: 8rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(220,131,78,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .section-label { margin-bottom: 1.5rem; }
.cta-section h2 { color: var(--cream); margin-bottom: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section > p {
  max-width: 500px;
  margin: 0 auto 3rem;
  font-size: 0.9rem;
}
.cta-section .hero-cta { font-size: 0.85rem; padding: 1.1rem 3rem; }

/* ─── FOOTER ─── */
.site-footer {
  background: #050505;
  padding: 3rem;
  border-top: 1px solid rgba(220,131,78,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: rgba(240,237,232,0.4);
  text-decoration: none;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--orange); }

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .site-nav { padding: 1rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 5rem; }
  .hero-quote { display: none; }
  .tailorflow-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .tailorflow-steps::before { display: none; }
  .step { padding: 0; }
  .profile-section {
    grid-template-columns: 1fr;
    padding: 5rem 1.5rem;
    gap: 3rem;
  }
  .video-section, .package-section, .tailorflow-section, .cta-section {
    padding: 5rem 1.5rem;
  }
  .specs-label { flex: 0 0 140px; font-size: 0.7rem; padding: 1rem; }
  .specs-value { padding: 1rem; font-size: 0.85rem; }
  .site-footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
}
