html {
  scroll-behavior: smooth;
}

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #F5EFE7;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: #2E1D0F;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 1rem;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #2E1D0F;
  margin-bottom: 1rem;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

h2 {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  display: block;
  margin-top: 0.3rem;
  width: 60px;
  height: 3px;
  background: #a7471f;
  border-radius: 2px;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.orange {
  color: #a7471f;
  font-weight: 800;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); 
}


.btn-cta {
  background-color: #a7471f;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  display: inline-block;
  border: none;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-top: 1rem;
}

.btn-cta:hover {
  background-color: #2E1D0F;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.header.scrolled {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background: rgba(253, 248, 243, 0.85);
  backdrop-filter: blur(10px);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #8E2C1C;
  outline-offset: 4px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  min-height: 100px;
  font-size: 1.2rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 80px;
  display: block;
  border-radius: 50%;
}

.nav {
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: color 0.3s ease;
  letter-spacing: 1px;
}

.nav-list li a::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background-color: #8E2C1C;
  transition: width 0.3s ease;
  margin-top: 0.3rem;
}

.nav-list li a:hover {
  color: #8E2C1C;
}

.nav-list li a:hover::after {
  width: 100%;
}

.header.scrolled .nav-list li a {
  color: #2E1D0F;
}

.header.scrolled .nav-list li a:hover {
  color: #C95C29;
}

.btn-quote {
  background-color: #a7471f;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  display: inline-block;
  border: none;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.btn-quote:hover {
  background-color: #8E2C1C;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #A7471F;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #FDF8F3;
  box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1100;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile-menu ul li {
  margin: 20px 0;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #2E1D0F;
  font-size: 1.2rem;
  font-weight: 500;
}

.mobile-menu ul li a:hover {
  color: #C95C29;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #A7471F;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 15, 10, 0.5);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.overlay.show {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .btn-quote {
    display: inline-block;
  }
  .hamburger {
    display: none;
  }
  .mobile-menu,
  .overlay {
    display: none;
  }
}

@media (max-width: 767px) {
  .btn-quote {
    display: none;
  }
}

.hero-home {
  position: relative;
  background-image: url(images/hero.webp);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
}


.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-home h1 {
  font-size: 2.6rem;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-subtext {
  font-size: 1.2rem;
  margin-bottom: 35px;
  color: #f0e8e4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-primary {
  background-color: #a7471f;
  color: #fff;
  padding: 0.9rem 2.2rem;
  font-weight: 700;
  border: none;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background-color: #8e2c1c;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #a7471f;
  color: #fff;
  padding: 0.9rem 2.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #a7471f;
  color: #fff;
  transform: scale(1.05);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-home h1 {
    font-size: 2rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-home {
    padding-top: 100px;
  }

  .hero-subtext {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}


.about-us {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #F8F5F2;
}

.welcome-text {
  color: #8E2C1C;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.about-us .about-description {
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
}

.our-services {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #2E1D0F;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #3a3a3a;
}

.our-services h2 {
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.service-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  background-color: #fff;
  cursor: pointer;
}

.service-box:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 28px rgba(167, 71, 31, 0.3);
}

.service-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 12px 12px 0 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.service-box:hover img {
  opacity: 0.85;
  transform: scale(1.07);
}

.service-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.2rem 0.75rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, rgba(122, 36, 20, 0) 0%, rgba(122, 36, 20, 0.9) 85%);
  border-radius: 0 0 12px 12px;
  transition: background-color 0.3s ease;
}

.service-box:hover .service-title {
  background-color: #a7471f;
  background-image: none;
}

@media (max-width: 767px) {
  .btn-cta {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    text-align: center;
    display: block;
  }
}

.btn-cta:hover,
.btn-cta:focus {
  background-color: #7a2414;
  box-shadow: 0 10px 30px rgba(122, 36, 20, 0.7);
  transform: scale(1.05);
  outline: none;
}

@media (min-width: 768px) {
  .service-box img {
    aspect-ratio: 3 / 2;
  }
}

.flooring-background {
  background: linear-gradient(180deg, #2E1D0F 0%, #1A120B 100%);
}

.flooring-intro,
.flooring-lino {
  padding: 4rem 2rem;
}

.flooring-container {
  max-width: 1200px;
  margin: 0 auto;
}

.flooring-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.flooring-content p,
.flooring-content h2 {
  color: white;
}

.flooring-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .flooring-content {
    flex-direction: row;
    align-items: center;
  }

  .flooring-text,
  .flooring-image {
    flex: 1;
  }
}

.why-choose-us {
  background: linear-gradient(135deg, #FAF8F4 0%, #EDE7DF 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.reason {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.reason p {
  color: #666;
}

.reason:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

footer {
  background-color: #2E1D0F;
  color: #eee;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 2rem 1.5rem 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.footer-top {
  max-width: 1000px;
  margin: 0 auto;
}

.logo-container img {
  max-width: 180px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.logo-container a:hover img,
.logo-container a:focus img {
  transform: scale(1.05);
}

.footer-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.contact-info p {
  margin: 0.3rem 0;
  color: #a7471f;
}

.contact-info a {
  color: #eee;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-info a:hover,
.contact-info a:focus {
  color: #8E2C1C;
  border-color: #8E2C1C;
}

.cta {
  position: relative;
  background: linear-gradient(
      rgba(46, 29, 15, 0.6),
      rgba(46, 29, 15, 0.6)
    ),
    url('images/call-to-action.webp') center center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-content {
  position: relative;
  max-width: 800px;
  z-index: 1;
}

.cta h2 {
  margin-bottom: 1rem;
  color: #fefefe;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
}

.cta p {
  margin-bottom: 1.8rem;
  color: #e0e0e0;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.cta-button {
  display: inline-block;
  background-color: #A7471F;
  color: #fff;
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #a7471f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-nav a {
  color: #eee;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #a7471f;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-media img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.social-media a:hover img,
.social-media a:focus img {
  filter: none;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #8E2C1C;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #a7471f;
  text-decoration: none;
}

.footer-bottom p {
  color: white;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
  color: #8E2C1C;
}

@media (min-width: 768px) {
  .footer-sections {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }

  .contact-info,
  .footer-nav,
  .social-media {
    text-align: center;
  }
}

.services {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 4rem 2rem;
  background-color: #EDE7DF;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  padding: 20px;
}

.service:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  aspect-ratio: 3 / 2;
}

/* Larger screens */
@media (min-width: 768px) {
  .service {
    flex-direction: row;
    gap: 3rem;
    align-items: stretch;
  }

  .service:nth-child(even) {
    flex-direction: row-reverse;
  }

  .service-image {
    flex: 1;
    height: auto;
    overflow: hidden;
  }

  .service-image img {
    height: 100%; 
  }

  .service-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.hero-services {
  position: relative;
  background-image: url(images/hero-services.webp);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-services .hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-services p {
  margin-bottom: 35px;
}

.hero-contact {
  position: relative;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    url('images/hero-contact.webp');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
  overflow: hidden;
}

.hero-contact-content {
  width: 100%;
}

.subtitle {
  font-size: 1.2rem;
  max-width: 680px;
  margin-bottom: 35px;
  color: #f0e8e4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  opacity: 0.95;
  margin: auto;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin: 20px auto 0;
  width: 90%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-form input,
.contact-form select {
  padding: 14px 18px;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  background-color: rgba(142, 44, 28, 0.85); /* semi-transparent */
  color: #F9F4EF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder {
  color: #F9F4EFaa;
  font-style: italic;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: 3px solid #DA7C0C;
  background-color: rgba(142, 44, 28, 1);
  box-shadow: 0 0 8px #DA7C0C;
}

.contact-form select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23f9f4ef" height="24" width="24" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 18px;
  cursor: pointer;
}

.contact-form button {
  background-color: #a7471f;
  color: #fff;
  padding: 1rem 2.5rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(167, 71, 31, 0.6);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover,
.contact-form button:focus {
  background-color: #8e2c1c;
  transform: scale(1.07);
  box-shadow: 0 8px 20px rgba(142, 44, 28, 0.8);
  outline: none;
}


.contact-section {
  background: #fdfbf8;
  padding: 100px 20px;
  color: #2E1D0F;
  font-family: 'Inter', sans-serif;
}

.contact-cards-container {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 300px;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border: 1px solid #A7471F;
}

.contact-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 16px;
}


.contact-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: #8E2C1C;
}

.contact-card h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  color: #2E1D0F;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.contact-card p {
  font-size: 0.95rem;
  color: #3A2A1A;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
  opacity: 0.85;
}

.contact-card a {
  color: #A7471F;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  color: #8E2C1C;
  text-decoration: underline;
}

/* Breakpoints */
@media (min-width: 600px) {
  .contact-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .contact-cards-container {
    grid-template-columns: repeat(4, 1fr);
  }
}


