/* ===================================
ROOT VARIABLES
=================================== */

/* ===================================
GLOBAL
=================================== */

/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
} */

:root{
    --blue:#1d5d99;
    --dark:#0b2f4f;
    --orange:#f7931e;
    --white:#ffffff;
    --light:#f5f5f5;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    color:#333;
    line-height:1.6;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

/* TOP BAR */

.top-bar{
    background:#1d5d99;
    color:#fff;
    padding:10px 8%;
    font-size:14px;
}

.top-bar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.top-right a{
    color:#fff;
    margin-left:20px;
}

/* HEADER */

.main-header{
    background:#fff;
    padding:25px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:42px;
    font-weight:800;
    color:#10253d;
}

.logo span{
    color:#f7931e;
}

.header-contact{
    display:flex;
    align-items:center;
    gap:40px;
}

.contact-box h4{
    font-size:14px;
    color:#777;
    margin-bottom:4px;
}

.contact-box p{
    font-weight:bold;
}

.quote-btn{
    background:#f7931e;
    color:white;
    padding:14px 28px;
    font-weight:bold;
}

/* ======================
   NAVBAR
====================== */

.navbar {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 20px;
  position: relative;
  z-index: 1000;
}

.navbar a {
  color: #0b2f4f;
  font-weight: 700;
  font-size: 15px;
}

.dropdown {
  position: relative;
}

/* Default black */

.navbar a,
.drop-btn {
  color: #0b2f4f;
  font-weight: 700;
  transition: 0.3s;
}

/* Hover par orange */

.navbar a:hover,
.dropdown:hover .drop-btn {
  color: #f7931e;
}

/* ======================
   MEGA MENU
====================== */

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  width: 800px;

  background: #fff;

  display: none;

  grid-template-columns: 1fr 1fr;

  gap: 40px;

  padding: 35px 40px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

  z-index: 999;
}

.dropdown:hover .mega-menu {
  display: grid;
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-column a{
    position: relative;
    padding-left: 22px;
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.menu-column a::before{
    content: "›";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #f7931e;
    font-size: 22px;
    font-weight: bold;
}


.menu-column a:hover{
    color: #f7931e;
    padding-left: 27px;
    transition: .3s;
}

/* ===================================
HERO SECTION
=================================== */

.service-hero {
  height: 320px;

  background:
    linear-gradient(rgba(11, 47, 79, 0.55), rgba(11, 47, 79, 0.55)),
    url("images/service13.jpg");

  background-size: cover;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
}

.hero-content h1 {
  color: #fff;
  font-size: 60px;
  font-weight: 700;
}

/* ===================================
INTRO SECTION
=================================== */

.flooring-intro {
  padding: 100px 0;
}

.intro-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.intro-gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

.flooring-list {
  list-style: none;
  margin-bottom: 25px;
}

.flooring-list li {
  margin-bottom: 10px;
  color: #555;
  position: relative;
  padding-left: 25px;
}

.flooring-list li::before {
  content: "✔";
  color: var(--orange);
  position: absolute;
  left: 0;
}

.intro-content p {
  color: #555;
  font-size: 16px;
}

/* ===================================
CTA SECTION
=================================== */

.cta-section {
  background: #3f76ad;
  color: #fff;
  text-align: center;
  padding: 90px 20px;
}

.cta-content {
  max-width: 900px;
  margin: auto;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  margin-bottom: 30px;
}

.cta-btn {
  background: var(--orange);
  color: #fff;
  padding: 14px 35px;
  display: inline-block;
  font-weight: 700;
}

/* ===================================
CONTACT SECTION
=================================== */

.contact-section {
  padding: 100px 0;
}

.contact-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-image img {
  width: 100%;
  border-radius: 10px;
}

.contact-form h2 {
  text-align: center;
  color: var(--blue);
  margin-bottom: 25px;
  font-size: 36px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  background: #f3f3f3;
  border: none;
  padding: 16px;
  font-size: 15px;
}

.contact-form textarea {
  height: 180px;
  resize: none;
}

.contact-form button {
  width: 150px;
  background: #4a5e90;
  color: #fff;
  border: none;
  padding: 14px;
  cursor: pointer;
}

/* ===================================
FOOTER
=================================== */

.footer {
  background: #eef2f5;
  margin-top: 50px;
}

.footer-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;

  padding: 70px 0;

  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-col h2 {
  color: #0b2f4f;
  margin-bottom: 20px;
}

.footer-col h2 span {
  color: var(--orange);
}

.footer-col h3 {
  color: var(--blue);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #333;
}

.footer-col ul li a:hover {
  color: var(--orange);
}

.footer-bottom {
  background: #355a94;
  color: #fff;
  text-align: center;
  padding: 18px;
  font-size: 14px;
}

/* ======================
   BROCHURE BTN
====================== */

.brochure-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  background: #f58220;
  color: #fff;

  text-decoration: none;
  font-size: 18px;
  font-weight: 600;

  padding: 18px 15px;

  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);

  border-radius: 8px 0 0 8px;
  z-index: 999;

  transition: 0.3s ease;
}

.brochure-btn:hover {
  background: #d96a0a;
  padding-right: 22px;
}

/* ===================================
RESPONSIVE
=================================== */

@media (max-width: 992px) {
  .main-header {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .header-contact {
    flex-direction: column;
    gap: 20px;
  }

  .intro-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu {
    width: 700px;
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 10px;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .intro-gallery {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .mega-menu {
    width: 95vw;
    grid-template-columns: 1fr;
  }
}







/* ===================================
   FINAL MOBILE FIX
=================================== */

html,
body{
    width:100%;
    overflow-x:hidden;
}

@media (max-width:768px){

    .top-bar{
        display:none;
    }

    .main-header{
        flex-direction:column;
        text-align:center;
        padding:20px;
    }

    .header-contact{
        display:none;
    }

    .navbar{
        flex-direction:column;
        gap:15px;
        padding:15px;
    }

    .service-hero{
        height:220px;
    }

    .hero-content h1{
        font-size:28px;
        line-height:1.3;
        padding:0 15px;
    }

    .intro-container,
    .contact-container{
        width:100%;
        padding:0 15px;
        grid-template-columns:1fr;
        gap:25px;
    }

    .intro-gallery{
        grid-template-columns:1fr;
    }

    .intro-gallery img{
        height:220px;
    }

    .contact-form{
        width:100%;
    }

    .contact-form input,
    .contact-form textarea{
        width:100%;
        max-width:100%;
        display:block;
    }

    .contact-form button{
        width:100%;
    }

    .cta-section{
        padding:60px 20px;
    }

    .cta-content{
        max-width:100%;
    }

    .cta-content h2{
        font-size:26px;
        line-height:1.5;
        word-break:break-word;
    }

    .cta-content p{
        font-size:15px;
    }

    .footer-container{
        width:100%;
        padding:40px 20px;
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-col{
        width:100%;
    }

    .footer-bottom{
        padding:15px 10px;
        font-size:12px;
        line-height:1.7;
    }

    .brochure-btn{
        display:none;
    }
}




















