/* ===================================
   Farmingdale Psychic - Styles
   =================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --midnight: #800020;
  --deep-purple: #4a0e1a;
  --mystic-purple: #5c1825;
  --gold: #d4af37;
  --gold-light: #f4d160;
  --lavender: #8b2e3f;
  --cream: #faf8f5;
  --white: #ffffff;
  --text: #e8e6e3;
  --text-muted: #a8a5a0;
  
  /* Spacing */
  --section-pad: clamp(60px, 10vw, 120px);
  
  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Lora', serif;
  
  /* Effects */
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream);
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

/* ===================================
   Header
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

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

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

.header-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--midnight);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 26, 0.6) 0%,
    rgba(13, 13, 26, 0.4) 50%,
    rgba(13, 13, 26, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 120px 20px 80px;
}

.hero-tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 50%, var(--cream) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.hero-scroll span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
  margin: 12px auto 0;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--midnight);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--midnight);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ===================================
   Sections
   =================================== */
.section {
  padding: var(--section-pad) 0;
}

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

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===================================
   About Section
   =================================== */
.about {
  background: var(--deep-purple);
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.about-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-highlights li {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.about-highlights strong {
  color: var(--gold);
  display: block;
  font-size: 1.1rem;
}

/* ===================================
   Services Section
   =================================== */
.services {
  background: linear-gradient(180deg, var(--midnight), var(--deep-purple));
}

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

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}

.service-card:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--cream);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
  background: var(--deep-purple);
}

.gallery-feature {
  margin-top: 24px;
}

.gallery-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery-hero img {
  width: 100%;
  height: 680px;
  object-fit: contain;
  display: block;
  filter: brightness(0.85);
}

.gallery-hero figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: var(--cream);
}

.gallery-hero h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.gallery-hero p {
  margin: 0 0 12px;
  color: var(--text);
}

.gallery-hero ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.gallery-hero li {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  color: var(--cream);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
  background: linear-gradient(180deg, var(--deep-purple), var(--midnight));
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--radius);
  padding: 32px;
}

.stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-card cite {
  color: var(--gold);
  font-weight: 600;
  font-style: normal;
}

/* ===================================
   CTA Banner
   =================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 60px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.cta-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--midnight);
  margin-bottom: 8px;
}

.cta-text p {
  color: var(--midnight);
  opacity: 0.8;
  font-size: 1.1rem;
}

.cta-banner .btn-primary {
  background: var(--midnight);
  color: var(--gold);
}

.cta-banner .btn-primary:hover {
  background: var(--deep-purple);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
  background: var(--midnight);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

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

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item strong {
  color: var(--cream);
  display: block;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-muted);
  margin: 0;
}

.contact-item a {
  color: var(--gold);
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-photos {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.contact-photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-cta {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 16px;
}

.contact-cta h3 {
  font-size: 1.4rem;
  margin: 0;
}

.contact-cta p {
  margin: 0;
  color: var(--text-muted);
}

.contact-cta .cta-actions {
  display: grid;
  gap: 10px;
}

.contact-notes p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--deep-purple);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.footer-contact p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    order: -1;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    background: var(--deep-purple);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition);
  }
  
  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .header-cta {
    display: none;
  }
  
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item-large {
    grid-column: span 1;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-brand p {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .about-highlights {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}
