/* =============================================
   The Frame Studio — style.css
   Mosaic Art & Custom Framing | Hull, MA
   ============================================= */

:root {
  --navy:    #1a3a4a;
  --navy-dk: #111e26;
  --amber:   #c8913b;
  --amber-dk:#a87530;
  --cream:   #f7f3ee;
  --pale:    #edf3f5;
  --charcoal:#2a2a2a;
  --mid:     #5a6a72;
  --white:   #ffffff;
  --radius:  3px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  margin: 0;
}

.py-section { padding-top: 6rem; padding-bottom: 6rem; }

/* --- Typography --- */

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.5rem;
}
.section-label.light { color: rgba(255,255,255,0.6); }

.section-title {
  font-family: 'Cormorant Garant', serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1rem;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ========== NAVBAR ========== */

#mainNav {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 1.1rem 0;
}

#mainNav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
  padding: 0.6rem 0;
}

.navbar-brand {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: 0.02em;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88) !important;
  padding: 0.4rem 0.85rem !important;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--amber) !important; }

.navbar-toggler {
  border-color: rgba(255,255,255,0.35);
  padding: 0.3rem 0.6rem;
}

.navbar-toggler-icon { filter: invert(1); }

/* ========== HERO ========== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  background: url('img/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2.5rem 2rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: var(--radius);
  max-width: 700px;
  width: 90%;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-bottom: 0.7rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.95);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 0;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

.btn-hero {
  display: inline-block;
  padding: 0.75rem 2.4rem;
  background: var(--amber);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-hero:hover {
  background: var(--amber-dk);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========== ABOUT ========== */

.about-section { background: var(--white); }

.about-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--cream);
  box-shadow: 0 8px 36px rgba(0,0,0,0.12);
}

.about-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 0.85rem;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--pale);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.about-badge i {
  color: var(--amber);
  font-size: 0.95rem;
}

/* ========== FRAMING SERVICES ========== */

.framing-section { background: var(--cream); }

.service-card {
  background: var(--white);
  padding: 2.2rem 1.6rem;
  border-radius: var(--radius);
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}

.service-card > i {
  font-size: 2.1rem;
  color: var(--amber);
  display: block;
  margin-bottom: 1.1rem;
}

.service-card h5 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.91rem;
  color: var(--mid);
  margin: 0;
  line-height: 1.7;
}

/* ========== GALLERY ========== */

.collections-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26,58,74,0.85) 0%, transparent 100%);
  color: var(--white);
  font-family: 'Cormorant Garant', serif;
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  padding: 2rem 1rem 0.85rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ========== SHOP / PRICING ========== */

.shop-section { background: var(--cream); }

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border-top: 3px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.price-card:hover,
.price-card.featured {
  border-top-color: var(--amber);
  box-shadow: 0 8px 36px rgba(0,0,0,0.08);
}

.price-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.4rem;
}

.price-range {
  font-family: 'Cormorant Garant', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.1rem;
  line-height: 1;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: var(--mid);
  line-height: 2.1;
}

.price-list li::before {
  content: "—\00a0";
  color: var(--amber);
}

/* ========== COMMISSIONS ========== */

.commissions-section { background: var(--navy); }

.commissions-text {
  color: rgba(255,255,255,0.78);
  font-size: 1.02rem;
  line-height: 1.8;
}

.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.client-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: background 0.2s;
}

.client-card:hover { background: rgba(255,255,255,0.11); }

.client-card > i {
  font-size: 1.4rem;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.client-card strong {
  display: block;
  color: var(--white);
  font-size: 0.93rem;
  margin-bottom: 0.15rem;
}

.client-card span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.btn-commission {
  display: inline-block;
  padding: 0.7rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-commission:hover {
  border-color: var(--amber);
  background: rgba(200,145,59,0.15);
  color: var(--white);
}

/* ========== CONTACT ========== */

.contact-section { background: var(--white); }

.contact-intro {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item > i {
  font-size: 1.25rem;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

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

.contact-item strong { color: var(--navy); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(0,0,0,0.1);
}

.map-wrap iframe { display: block; }

/* ========== FOOTER ========== */

.site-footer {
  background: var(--navy-dk);
  color: rgba(255,255,255,0.5);
  padding: 3rem 0 1.5rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-brand strong {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
}

.footer-brand span {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.38);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-links a {
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-powered a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-powered a:hover { opacity: 1; }

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

.footer-copy p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 991.98px) {
  .py-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .about-photo { width: 180px; height: 180px; }
  .clients-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 2rem 1.5rem; }
}

@media (max-width: 767.98px) {
  .py-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .gallery-caption { opacity: 1; transform: none; }
  .footer-row { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .about-badges { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
  .section-title { font-size: 1.9rem; }
  .hero-title { font-size: 2.8rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .clients-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-links, .footer-powered { width: 100%; }
  .footer-links { gap: 0.8rem; }
}
