/* =========================================================
   RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #292323;
    background: #fff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================================
    VARIABLES
========================================================= */

:root {
    --brown-dark: #39130d;
    --brown: #642319;
    --brown-light: #8b3829;
    --cream: #f5eee8;
    --cream-dark: #e9ddd4;
    --text: #292323;
    --muted: #6f6763;
    --white: #ffffff;
    --max-width: 1000px;
}


/* =========================================================
    TOP BAR
========================================================= */

.top-bar {
    background:  linear-gradient(to bottom, #280d0a,#7c2e23 );
    color: #fff;
    height: 40px;
    font-size: 14px;
}

.top-bar-inner {
    max-width: var(--max-width);
    height: 100%;
    margin: auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: .95;
    letter-spacing: .1rem;
    color: white;
}

.top-icon {
    font-size: 12px;
}


/* =========================================================
    NAVIGATION
========================================================= */

.navbar {
    height: 70px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 100;
}

.nav-inner {
    max-width: var(--max-width);
    height: 100%;
    margin: auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a {
    position: relative;
    padding: 27px 0;
    transition: color .2s ease;
}

.nav-links a:hover {
    color: var(--brown-light);
}

.nav-links a.active {
    color: var(--brown-light);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brown-light);
}

.nav-button {
    background: var(--brown);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-button:hover {
    background: linear-gradient(to bottom, #0f08c1,#0a067a );
    transform: translateY(-1px);
    transition: all .2s ease;
}

.mobile-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
    cursor: pointer;
    color: var(--brown-dark);
}


/* =========================================================
    HERO
========================================================= */

.hero {
    min-height: 430px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    align-items: center;
}

.hero-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    padding: 55px 20px;
}

.hero-content {
    max-width: 510px;
}

.eyebrow {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 7px;
    opacity: .95;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.02;
    margin-bottom: 17px;
}

.hero p {
    font-size: 13px;
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 25px;
    color: rgba(255,255,255,.92);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: var(--brown-light);
    color: white;
    padding: 12px 19px;
    font-size: 12px;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-button:hover {
    background: #a24634;
    transform: translateY(-2px);
}
/* =========================================================
    FEATURES
========================================================= */

.features {
    background: #fff;
    border-bottom: 1px solid #e7e2de;
}

.features-inner {
    max-width: var(--max-width);
    margin: auto;
    padding: 25px 20px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature {
    display: flex;
    gap: 15px;
    padding: 0 28px;
    border-right: 1px solid #e8e2dd;
}

.feature:first-child {
    padding-left: 0;
}

.feature:last-child {
    border-right: 0;
    padding-right: 0;
}

.feature-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature h3 {
    font-size: 13px;
    margin-bottom: 4px;
    color: #2b2928;
}

.feature p {
    font-size: 12px;
    line-height: 1.5;
    color: #716a66;
    max-width: 190px;
}
/* =========================================================
    SERVICES
========================================================= */
.services {
    background: var(--brown-dark);
    color: white;
    padding: 28px 20px 50px;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 25px;
}

.section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 5px;
}

.section-heading p {
    font-size: 12px;
    color: rgba(255,255,255,.75);
}

.service-grid {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.service-card {
    background: white;
    color: var(--text);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 2px 1px 21px 2px rgba(0,0,0,0.58);
    -webkit-box-shadow: 2px 1px 21px 2px rgba(0,0,0,0.58);
    -moz-box-shadow: 2px 1px 21px 2px rgba(0,0,0,0.58);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.service-1 {
    background:
        linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.05)),
        url("../img/window.PNG") center / cover;
}

.service-2 {
    background:
        linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.05)),
        url("../img/entrance.PNG") center / cover;
    }

.service-3 {
    background:
        linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.05)),
        url("../img/patio.png") center / cover;
}

.service-4 {
    background:
        linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.05)),
        url("../img/house.png") center / cover;
}

.service-content {
    padding: 15px;
}

.service-content h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.service-content p {
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
}

.service-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 10px;
    color: var(--brown-light);
    font-weight: 700;
}
/* =========================================================
    ABOUT
========================================================= */
.about {
    padding: 75px 20px;
    background: #f8f5f2;
}
.about-inner {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-image {
    min-height: 380px;
    background:
        linear-gradient(
            rgba(50,20,10,.1),
            rgba(50,20,10,.1)
        ),
        url("../img/install.png") center / cover;
}
.about-content .eyebrow {
    color: var(--brown-light);
    opacity: 1;
}
.about-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 18px;
    color: var(--brown-dark);
}
.about-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #22201f;
    margin-bottom: 15px;
}

.check-list {
    margin: 25px 0;
    list-style: none;
}

.check-list li {
    margin-bottom: 10px;
    font-size: 13px;
    color: #22201f;
}

.check-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #eadbd2;
    color: var(--brown);
    font-weight: bold;
    font-size: 15px;
    margin-right: 10px;
}

/* =========================================================
    CALL TO ACTION
========================================================= */

.cta {
    background: var(--brown);
    color: white;
    padding: 55px 20px;
    text-align: center;
}

.cta h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-weight: 400;
    margin-bottom: 8px;
}

.cta p {
    font-size: 14px;
    opacity: .8;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--brown-dark);
    padding: 13px 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s ease;
}

.cta-button:hover {
    background: #f0e5de;
    transform: translateY(-2px);
}

/* ================================
   SUPPLIER SECTION
================================ */

.supplier-section {

    padding: 90px 20px;
}

.supplier-container {
    max-width: 900px;
    margin: 0 auto;
}

.supplier-content {
    text-align: center;
}

.supplier-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #381311;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.supplier-content h2 {
    margin: 0 0 25px;
    color: #381311;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.supplier-content p {
    max-width: 780px;
    margin: 0 auto 20px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.supplier-explore {
    margin-top: 45px;
    padding: 35px;
    background: #ffffff;
    border-left: 4px solid #381311;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.supplier-explore h3 {
    margin: 0 0 12px;
    color: #381311;
    font-size: 1.5rem;
}

.supplier-explore p {
    margin-bottom: 25px;
    font-size: 1rem;
}

.supplier-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #381311;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.supplier-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.supplier-button span {
    font-size: 1.2rem;
}

.testimonials-section {
  background: #f6f5f3;
  padding: 90px 20px;
  overflow: hidden;
}

.testimonials-container {
  max-width: 1150px;
  margin: 0 auto;
}
/* HEADING */
.testimonials-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.testimonials-heading span {
  display: block;
  color: #381311;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonials-heading h2 {
  margin: 0 0 15px;
  color: #222;
  font-size: 38px;
  font-weight: 600;
}

.testimonials-heading p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
}
/* SLIDER */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.7s ease;
}
/* CARD */
.testimonial-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  background: #ffffff;
  padding: 45px 50px;
  border-radius: 4px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.07);
}

.quote-mark {
  color: #381311;
  font-family: Georgia, serif;
  font-size: 70px;
  line-height: 35px;
  height: 35px;
  margin-bottom: 25px;
}

.testimonial-text {
    max-width: 850px;
    margin: 0 auto 35px;
    color: #444;
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 1.7;
    text-align: center;
}

/* AUTHOR */

.testimonial-author {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.author-icon {
  width: 46px;
  height: 46px;
  background: #381311;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.testimonial-author strong {
  display: block;
  color: #222;
  font-size: 14px;
  margin-bottom: 4px;
}
.testimonial-author span {
  display: block;
  color: #777;
  font-size: 13px;
}
/* CONTROLS */
.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.testimonial-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid #d5d5d5;
  background: #fff;
  color: #381311;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.25s ease;
}
.testimonial-controls button:hover {
  background: #381311;
  color: #fff;
}
/* DOTS */
.testimonial-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dot {
  width: 7px;
  height: 7px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s ease;
}

.testimonial-dot.active {
  background: #381311;
  width: 22px;
  border-radius: 5px;
}
/* =========================================================
    FOOTER
========================================================= */

footer {
    background: #260d09;
    color: white;
    padding: 40px 20px 20px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-brand p {
    color: rgba(255,255,255,.6);
    font-size: 12px;
    line-height: 1.7;
    max-width: 300px;
    margin-top: 15px;
}

footer h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 8px;
    font-size: 14px;
                color: rgba(255,255,255,.6);
}

footer li a {
    color: rgba(255,255,255,.6);
    font-size: 14px;
    transition: color .2s;
}

footer li a:hover {
    color: white;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 35px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);

    display: flex;
    justify-content: space-between;

    color: rgba(255, 255, 255, 0.752);
    font-size: 12px;
}


/* =========================================================
    MOBILE NAVIGATION
========================================================= */

@media (max-width: 800px) {

.nav-links,
.nav-button {
    display: none;
}

.mobile-toggle {
    display: block;
}

.nav-links.mobile-open {
    display: flex;
    position: absolute;

    top: 70px;
    left: 0;
    right: 0;

    background: white;

    flex-direction: column;
    gap: 0;

    padding: 10px 20px 20px;

    box-shadow: 0 10px 20px rgba(0,0,0,.1);
}

.nav-links.mobile-open a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.nav-links.mobile-open a.active::after {
    display: none;
}

.features-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 0;
}

.feature:nth-child(2) {
    border-right: 0;
}

.feature:nth-child(3) {
    padding-left: 0;
}

.service-grid {
    grid-template-columns: repeat(2, 1fr);
}

.footer-inner {
    grid-template-columns: 1fr 1fr;
}
}

/* =========================================================
    SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

.top-bar {
    display: none;
}

.navbar {
    height: 62px;
}

.nav-links.mobile-open {
    top: 62px;
}

.logo-text {
    font-size: 16px;
}

.hero {
    min-height: 500px;
    background-position: 62% center;
}

.hero-inner {
    padding: 45px 20px;
}

.hero-content {
    max-width: 100%;
}

.hero h1 {
    font-size: 43px;
}

.features-inner {
    grid-template-columns: 1fr;
    padding: 25px 20px;
}

.feature,
.feature:first-child,
.feature:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid #eee;
    padding: 0 0 20px;
}

.feature:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.service-grid {
    grid-template-columns: 1fr;
}

.service-image {
    height: 200px;
}

.about {
    padding: 50px 20px;
}

.about-inner {
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-image {
    min-height: 280px;
}

.about-content h2 {
    font-size: 34px;
}

.footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-bottom {
    flex-direction: column;
    gap: 8px;
}
}

/* MOBILE */
@media (max-width: 600px) {
    .testimonials-section {
    padding: 65px 15px;
}
    .testimonials-heading h2 {
    font-size: 30px;
}
    .testimonial-card {
    padding: 35px 25px;
}
    .testimonial-text {
    font-size: 18px;
}
}
/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    .testimonial-track {
    transition: none;
  }
}