/* ===== PETER'S TILE — Global Stylesheet ===== */

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

:root {
  --primary: #111111;
  --primary-soft: #2a2a2a;
  --accent: #111111;
  --accent-hover: #2a2a2a;
  --muted: #8a8a8a;
  --light: #f6f6f4;
  --white: #ffffff;
  --text: #222222;
  --text-light: #5a5a5a;
  --border: #e4e2dc;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --radius: 6px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary);
  line-height: 1.3;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

.section-subtitle {
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

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

.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* --- Big call CTA on contact page --- */
.call-cta {
  font-size: 1.35rem;
  padding: 22px 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  max-width: 100%;
}
.call-cta svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .call-cta {
    font-size: 1.05rem;
    padding: 16px 26px;
    gap: 10px;
  }
  .call-cta svg {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 380px) {
  .call-cta {
    font-size: 0.95rem;
    padding: 14px 20px;
    gap: 8px;
  }
}

/* --- Top Bar (removed) --- */

/* --- Navigation --- */
.navbar {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-group {
  display: flex;
  flex-direction: column;
}
.logo {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}
.logo span { color: inherit; }
.logo-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.navbar-phone {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.navbar-phone:hover {
  color: rgba(255,255,255,0.7);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('photos/tile-17.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.35);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero .section-subtitle,
.page-header .section-subtitle {
  color: rgba(255,255,255,0.8);
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: nowrap;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: url('photos/tile-17.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.55);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { opacity: 0.85; font-size: 1.1rem; }

/* --- Sections --- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--light);
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  height: 220px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card-body {
  padding: 28px;
}
.service-card-body h3 {
  margin-bottom: 12px;
}
.service-card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background-color: var(--light);
  position: relative;
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}
.gallery-item:hover .overlay { opacity: 1; }

/* Gallery placeholder colors removed — real photos used */

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.testimonial-card p {
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
}
.testimonial-author {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}
.testimonial-location {
  font-size: 0.85rem;
  color: var(--text-light);
}
.stars {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #7a8a9a, #8e9baa);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p {
  opacity: 0.85;
  margin-bottom: 32px;
  font-size: 1.1rem;
}

/* --- Stats --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- About Content --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius);
  height: 500px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
  overflow: hidden;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
}
.about-text .highlight {
  color: var(--primary);
  font-weight: 600;
}

/* --- Service Detail --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.service-detail:nth-child(even) .service-detail-img { order: -1; }
.service-detail-img {
  border-radius: var(--radius);
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 500;
}
.service-detail-text h3 { margin-bottom: 16px; }
.service-detail-text p {
  color: var(--text-light);
  margin-bottom: 12px;
}
.service-detail-text ul {
  list-style: none;
  padding: 0;
}
.service-detail-text ul li {
  padding: 6px 0;
  color: var(--text-light);
  position: relative;
  padding-left: 24px;
}
.service-detail-text ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}
.contact-info-item .icon {
  color: var(--primary);
}
.contact-link {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}
.contact-link:hover { border-bottom-color: var(--primary); }

/* --- Footer --- */
.footer {
  background: var(--white);
  color: var(--text-light);
  padding: 60px 0 24px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer .logo { color: var(--primary) !important; }
.footer .logo-tagline { color: var(--text-light); }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer h4 {
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* --- Responsive --- */
/* --- Lightbox --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  cursor: pointer;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
  z-index: 2001;
}
.lightbox-close:hover {
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .hamburger { display: flex; }
  .navbar .container { position: relative; }

  .hero { min-height: 70vh; }
  .about-grid,
  .service-detail,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-detail:nth-child(even) .service-detail-img { order: 0; }
  .navbar-phone { display: none; }
  .hero-buttons { flex-direction: row; justify-content: center; }
  .section { padding: 60px 0; }
}
