/* =========================================
   TIMELESS CREATIVE — MAIN STYLESHEET
   Premium Photo Retouching & Editing Service
   Updated: April 2026
   ========================================= */

/* === GOOGLE FONTS IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=DM+Sans:wght@300;400;500&display=swap');

/* === CSS RESET & BOX SIZING === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* === ROOT VARIABLES: COLOR PALETTE === */
:root {
  /* ===== TIMELESS CREATIVE — COLOR PALETTE =====
     Edit these variables to update colors site-wide.
     Updated: April 2026
     ============================================= */

  /* Backgrounds */
  --bg-base:      #FAFAF7;   /* Primary page background — warm off-white */
  --bg-subtle:    #F3EDE3;   /* Alternate section background — warm cream */
  --bg-muted:     #EAE2D6;   /* Cards, input fields */

  /* Brand Accents */
  --accent-light: #C4B49E;   /* Light stone — dividers, secondary elements */
  --accent-mid:   #9A8470;   /* Warm taupe — hover states, supporting text */
  --accent-dark:  #6B5345;   /* Deep bark — primary buttons, headings accent */
  --accent-deep:  #3D2E26;   /* Rich espresso — footer, dark sections */

  /* Typography */
  --text-primary:   #2B2420;  /* Near-black warm — main body */
  --text-secondary: #7A6D65;  /* Warm gray — captions, secondary copy */
  --text-inverse:   #FAFAF7;  /* For text on dark backgrounds */

  /* Logo/Mark color */
  --logo-color:   #2C3E45;   /* Dark slate — matches the logo mark */

  /* Utility */
  --border:        #DDD5C8;
  --shadow-soft:   rgba(43, 36, 32, 0.07);
  --shadow-med:    rgba(43, 36, 32, 0.14);

  /* Spacing */
  --section-pad:   96px;
  --container-max: 1160px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* === BODY & TYPOGRAPHY === */
body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.7;
}

p + p {
  margin-top: -0.5rem;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-deep);
}

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* === NAVIGATION === */
nav {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  box-shadow: 0 2px 12px var(--shadow-soft);
  border-bottom-color: var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--logo-color);
  letter-spacing: 0.05em;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-dark);
}

/* Services Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: '▾';
  font-size: 0.7rem;
  margin-left: 4px;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  list-style: none;
  padding: 12px 0;
  margin-top: 8px;
  box-shadow: 0 4px 16px var(--shadow-med);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.dropdown-menu li a:hover {
  background: var(--bg-subtle);
  color: var(--accent-dark);
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  padding: 8px;
}

/* === BUTTON STYLES === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent-dark);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 83, 69, 0.3);
}

.btn-secondary {
  background: var(--bg-muted);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--accent-light);
  color: white;
}

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

.btn-outline:hover {
  background: var(--accent-dark);
  color: white;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

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

.section-dark {
  background: var(--accent-deep);
  color: var(--text-inverse);
}

.section-dark a {
  color: var(--accent-light);
}

.section-dark a:hover {
  color: white;
}

.section-subtle {
  background: var(--bg-subtle);
}

/* === HERO SECTION === */
.hero {
  padding: 120px 32px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
}

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

/* === CARD STYLES === */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px var(--shadow-med);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link:hover {
  gap: 12px;
}

/* === GRID STYLES === */
.grid {
  display: grid;
  gap: 32px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* === BEFORE/AFTER SLIDER === */
.before-after {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  user-select: none;
  background: #f0f0f0;
}

.ba-img {
  position: absolute;
  inset: 0;
}

.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-before {
  clip-path: inset(0 50% 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: white;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--accent-dark);
  box-shadow: 0 2px 12px var(--shadow-med);
  pointer-events: none;
  font-weight: 600;
}

.ba-labels {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.ba-label {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

/* === SHOWCASE SECTION === */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.showcase-item {
  display: flex;
  flex-direction: column;
}

.showcase-item h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.showcase-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* === FEATURE LIST === */
.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 600;
}

/* === PRICING CARDS === */
.pricing-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--accent-dark);
  box-shadow: 0 8px 32px var(--shadow-med);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--accent-dark);
  background: var(--bg-subtle);
  transform: scale(1.02);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.pricing-subtext {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 32px 0;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-primary);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  margin-top: 32px;
}

/* === FAQ SECTION === */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

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

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.open::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary);
  margin-top: 0;
}

.faq-answer.open {
  max-height: 500px;
  margin-top: 16px;
}

/* === FORM STYLES === */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: white;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(107, 83, 69, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* === FOOTER === */
footer {
  background: var(--accent-deep);
  color: var(--text-inverse);
  padding: 64px 32px 32px;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--accent-light);
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: white;
}

.footer-contact {
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
  color: var(--accent-light);
  font-size: 0.85rem;
}

/* === UTILITY CLASSES === */
.text-center {
  text-align: center;
}

.text-secondary {
  color: var(--text-secondary);
}

.mt-2 {
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.pt-4 {
  padding-top: 4rem;
}

.pb-4 {
  padding-bottom: 4rem;
}

.small {
  font-size: 0.85rem;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1024px) {
  :root {
    --section-pad: 64px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .container {
    padding: 0 24px;
  }

  .hero {
    padding: 80px 24px;
  }

  .nav-container {
    padding: 14px 24px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .footer-top {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 48px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px var(--shadow-soft);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 8px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 8px 0 8px 16px;
    margin-top: 0;
    background: var(--bg-subtle);
    border-radius: 0;
  }

  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero {
    padding: 60px 16px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--section-pad) 0;
  }

  .card {
    padding: 24px;
  }

  .before-after {
    aspect-ratio: 1/1;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .faq-question {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .nav-container {
    padding: 12px 12px;
  }

  .hero {
    padding: 40px 12px;
  }

  .btn {
    padding: 11px 22px;
    font-size: 0.9rem;
  }

  .card {
    padding: 20px 16px;
  }

  .section {
    padding: 40px 0;
  }

  .divider {
    margin: 32px 0;
  }
}
