/* === COLE HOFSTRA PHOTOGRAPHY — Custom Styles === */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Photography-inspired warm palette */
  --accent: #C17817;
  --accent-muted: rgba(193, 120, 23, 0.15);
  --accent-bg: rgba(193, 120, 23, 0.08);
  --accent-glow: rgba(193, 120, 23, 0.35);
  --accent-light: #E8A94E;

  --text: #1A1A2E;
  --text-light: #5C5C6D;
  --bg: #FFFFFF;
  --bg-alt: #FAF8F5;
  --bg-warm: #F5F0EB;
  --border: #E8E0D8;

  --font-display: 'Playfair Display', 'DM Sans', serif;
  --font-body: 'Inter', sans-serif;
  --font-ui: 'DM Sans', sans-serif;

  --max-width: 1200px;
  --section-pad: clamp(60px, 10vw, 120px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 72px rgba(0,0,0,0.14);
  --shadow-gallery: 0 8px 30px rgba(0,0,0,0.12);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

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

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

.nav.scrolled .nav-logo { color: var(--text); }

.nav-links { display: flex; gap: 30px; align-items: center; }

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav.scrolled .nav-link { color: var(--text-light); }

.nav-link:hover { color: var(--accent-light); }

.nav-phone {
  background: var(--accent);
  color: white !important;
  padding: 11px 26px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
  background: #A86814;
}

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

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

.nav.scrolled .mobile-menu-btn span { background: var(--text); }

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-light);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  padding: 9px 22px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.18);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 42px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 38px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--accent-glow);
  background: #A86814;
}

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

.btn-outline:hover {
  background: white;
  color: var(--text);
  border-color: white;
  transform: translateY(-3px);
}

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

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

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto clamp(40px, 6vw, 80px);
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.08rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 42px 34px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-muted);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  font-size: 0.94rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ============================================
   TRUST / STATS
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.trust-stat .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.trust-stat .stat-label {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-gallery);
}

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

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

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #E8A94E;
  font-size: 1.15rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
  border: 2px solid var(--accent-muted);
}

.review-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.review-location {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ============================================
   ABOUT / SPLIT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.split-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.2;
}

.split-content p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.badge {
  background: var(--accent-bg);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.badge:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: calc(var(--section-pad) * 0.9) 0;
  text-align: center;
  overflow: hidden;
}

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

.cta-bg img { width: 100%; height: 100%; object-fit: cover; }

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.75) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 38px;
  line-height: 1.65;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--text);
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.9rem;
}

.contact-item span {
  font-size: 0.94rem;
  color: var(--text-light);
}

.contact-item a {
  color: var(--accent);
  font-weight: 500;
  transition: var(--transition);
}

.contact-item a:hover { color: #A86814; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: var(--transition);
  background: white;
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-muted);
}

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

.form-group select {
  appearance: auto;
  cursor: pointer;
}

.form-group input[type="date"] {
  cursor: pointer;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #11111F;
  color: rgba(255,255,255,0.65);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
}

.footer-title {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links { list-style: none; }

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

.footer-links a {
  font-size: 0.88rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   STICKY CALL BAR (MOBILE)
   ============================================ */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 16px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  z-index: 999;
  gap: 12px;
}

.sticky-call .btn {
  flex: 1;
  padding: 14px;
  font-size: 0.88rem;
  justify-content: center;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.7s ease forwards; }
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.25s; }
.fade-in-3 { animation-delay: 0.4s; }

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
  .nav-links.active .nav-link { color: var(--text); }
  .mobile-menu-btn { display: block; }

  .hero { min-height: 90vh; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.6rem); }

  .split { grid-template-columns: 1fr; }
  .split-img { order: -1; }
  .split-img img { min-height: 280px; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

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

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

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

@media (max-width: 768px) {
  .sticky-call { display: flex; }
  body { padding-bottom: 70px; }
}

/* ============================================
   SCROLLBAR (subtle touch)
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #c8c0b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
