/* ============================================
   ROCKET TILING - PREMIUM TILE CONTRACTOR
   Design: Dark, precise, high-craft aesthetic
   Color Palette: Near-black, warm stone grey, antique gold
   Typography: Playfair Display (headings), Outfit (body)
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: #0E0E0D;
  color: #F0EDE8;
  line-height: 1.75;
  font-size: 16px;
  font-weight: 300;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 16px;
}

p {
  color: #7A776F;
  margin-bottom: 16px;
}

a {
  color: #F0EDE8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #C8A96E;
}

/* ============================================
   REUSABLE COMPONENTS
   ============================================ */

.pill-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8A96E;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gold-bar {
  width: 3px;
  height: 100%;
  background-color: #C8A96E;
  position: absolute;
  left: 0;
  top: 0;
}

.gold-reveal {
  width: 0;
  height: 3px;
  background-color: #C8A96E;
  animation: goldReveal 0.6s ease-out forwards;
}

@keyframes goldReveal {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

.tile-card {
  background-color: #1A1917;
  border: 1px solid #2A2825;
  border-radius: 1px;
  padding: 40px;
  position: relative;
  transition: all 0.25s ease;
}

.tile-card:hover {
  border-color: #C8A96E;
  transform: translateY(-5px);
}

.divider-line {
  width: 100%;
  height: 1px;
  background-color: #2A2825;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 36px;
  border-radius: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: #C8A96E;
  color: #0E0E0D;
}

.btn-primary:hover {
  background-color: #B8954F;
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid #C8A96E;
  color: #C8A96E;
}

.btn-outline:hover {
  background-color: #C8A96E;
  color: #0E0E0D;
}

.btn-small {
  padding: 10px 24px;
  font-size: 12px;
}

.btn-cta {
  background-color: #0E0E0D;
  color: #C8A96E;
  border: none;
}

.btn-cta:hover {
  background-color: #1A1917;
}

/* Image Placeholder */
.image-placeholder {
  width: 100%;
  height: 100%;
  background-color: #1A1917;
  border: 1px solid #2A2825;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.image-placeholder p {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: #7A776F;
  text-align: center;
  padding: 20px;
}

.image-placeholder:hover {
  background-color: rgba(200, 169, 110, 0.12);
  transition: background-color 0.2s ease;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0E0E0D;
  border-bottom: 1px solid #2A2825;
  height: 72px;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  width: 180px;
  height: 48px;
  border: 2px dashed #2A2825;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7A776F;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #F0EDE8;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #C8A96E;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #C8A96E;
}

.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: #F0EDE8;
  transition: all 0.3s ease;
}

.nav-dropdown {
  display: none;
  flex-direction: column;
  background-color: #0E0E0D;
  border-top: 1px solid #2A2825;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-dropdown.open {
  max-height: 500px;
}

.nav-dropdown-link {
  padding: 20px 80px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #F0EDE8;
  border-bottom: 1px solid #2A2825;
  transition: background-color 0.2s ease;
}

.nav-dropdown-link:hover {
  background-color: #1A1917;
}

.nav-dropdown-link.active {
  color: #C8A96E;
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background-color: #0E0E0D;
}

.hero-left {
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-right {
  background-color: #1A1917;
  border-left: 1px solid #2A2825;
  overflow: hidden;
}

.hero-right .image-placeholder {
  width: 100%;
  height: 100vh;
  border: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate="fadeUp"] {
  opacity: 0;
  transform: translateY(28px);
}

[data-animate="fadeUp"].visible {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-animate="fadeUp"][style*="--delay"] {
  animation-delay: var(--delay);
}

/* ============================================
   CREDIBILITY STRIP
   ============================================ */

.credibility-strip {
  background-color: #1A1917;
  border-top: 1px solid #2A2825;
  border-bottom: 1px solid #2A2825;
  padding: 48px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.credibility-item {
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid #2A2825;
}

.credibility-item:last-child {
  border-right: none;
}

.credibility-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: #F0EDE8;
  margin-bottom: 8px;
}

.credibility-item:first-child .credibility-number {
  color: #C8A96E;
}

.credibility-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7A776F;
}

/* ============================================
   SERVICES PREVIEW
   ============================================ */

.services-preview {
  padding: 120px 80px;
  background-color: #0E0E0D;
}

.section-header {
  margin-bottom: 80px;
}

.section-subtext {
  font-size: 18px;
  max-width: 520px;
  color: #7A776F;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tile-card h3 {
  margin-top: 24px;
  margin-bottom: 16px;
}

.tile-card p {
  margin-bottom: 24px;
  font-size: 16px;
}

/* ============================================
   FEATURED WORK
   ============================================ */

.featured-work {
  padding: 120px 80px;
  background-color: #0E0E0D;
}

.masonry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.masonry-item {
  width: 100%;
  height: 360px;
  border: 1px solid #2A2825;
  background-color: #1A1917;
}

.masonry-item.tall {
  height: 560px;
}

.masonry-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

/* ============================================
   REVIEW SECTION
   ============================================ */

.review-section {
  background-color: #1A1917;
  border-top: 1px solid #2A2825;
  padding: 100px 80px;
}

.review-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.review-quote {
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: #C8A96E;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}

.review-text {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  color: #F0EDE8;
  margin-bottom: 24px;
}

.review-attribution {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #7A776F;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background-color: #C8A96E;
  padding: 100px 80px;
  text-align: center;
}

.cta-banner h2 {
  color: #0E0E0D;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #0E0E0D;
  opacity: 0.7;
  margin-bottom: 40px;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
  background-color: #0E0E0D;
  padding: 140px 80px;
  text-align: center;
  border-bottom: 1px solid #2A2825;
}

.page-header h1 {
  margin-bottom: 24px;
}

.page-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 18px;
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 80px;
  align-items: center;
}

.service-row-1,
.service-row-3 {
  background-color: #0E0E0D;
}

.service-row-2,
.service-row-4 {
  background-color: #1A1917;
}

.service-image {
  width: 100%;
  height: 400px;
}

.service-image .image-placeholder {
  height: 100%;
}

.service-content h2 {
  margin-bottom: 24px;
}

.service-content p {
  font-size: 16px;
  line-height: 1.75;
}

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

.gallery-section {
  padding: 80px;
  background-color: #0E0E0D;
}

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

.gallery-item {
  width: 100%;
  height: 360px;
  border: 1px solid #2A2825;
  background-color: #1A1917;
  overflow: hidden;
}

.gallery-item .image-placeholder {
  border: none;
  height: 100%;
}

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

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 80px;
  background-color: #0E0E0D;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-left .tile-card {
  position: relative;
}

.contact-detail {
  margin-bottom: 32px;
}

.contact-detail .pill-label {
  margin-bottom: 8px;
}

.contact-detail p {
  font-size: 16px;
  color: #F0EDE8;
}

.contact-detail a {
  color: #C8A96E;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7A776F;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: #1A1917;
  border: 1.5px solid #2A2825;
  border-radius: 1px;
  padding: 14px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #F0EDE8;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C8A96E;
}

.form-group select {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  font-family: 'Outfit', sans-serif;
}

.form-confirmation {
  font-family: 'Outfit', sans-serif;
  color: #C8A96E;
  text-align: center;
  padding: 16px;
  background-color: rgba(200, 169, 110, 0.1);
  border-radius: 1px;
  margin-top: 16px;
}

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

.footer {
  background-color: #0E0E0D;
  border-top: 1px solid #2A2825;
  padding: 80px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 40px;
  border-bottom: 1px solid #2A2825;
  padding-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-description {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #7A776F;
}

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

.footer-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #7A776F;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #F0EDE8;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-info p {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #7A776F;
  margin: 0;
}

.footer-info a {
  color: #C8A96E;
}

.footer-bottom {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #7A776F;
}

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

@media (max-width: 768px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 24px;
  }

  .nav-container {
    padding: 0 20px;
  }

  .nav-left {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-dropdown {
    display: flex;
  }

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

  .hero-left {
    padding: 60px 20px;
    justify-content: flex-start;
    padding-top: 80px;
  }

  .hero-right {
    display: none;
  }

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

  .credibility-item {
    padding: 30px 20px;
    border-right: none;
    border-bottom: 1px solid #2A2825;
  }

  .credibility-item:nth-child(2n) {
    border-right: 1px solid #2A2825;
  }

  .credibility-item:nth-child(3),
  .credibility-item:nth-child(4) {
    border-bottom: none;
  }

  .services-preview {
    padding: 60px 20px;
  }

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

  .featured-work {
    padding: 60px 20px;
  }

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

  .masonry-item,
  .masonry-item.tall {
    height: 280px;
  }

  .page-header {
    padding: 80px 20px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .gallery-section {
    padding: 40px 0;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px;
  }

  .cta-banner {
    padding: 60px 20px;
  }

  .cta-banner h2 {
    font-size: 34px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 30px;
  }

  .footer {
    padding: 40px 20px;
  }

  .nav-dropdown-link {
    padding: 20px;
  }

  .btn {
    width: 100%;
  }

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

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

  h2 {
    font-size: 28px;
  }

  .credibility-strip {
    grid-template-columns: 1fr;
  }

  .credibility-item {
    border-right: none;
    border-bottom: 1px solid #2A2825;
    padding: 24px 20px;
  }

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