body {
    font-family: 'Inter', sans-serif;
    color: #3D4A54;
    padding-top: 40px;   /* Adjust based on menu height */
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #A43220;
}

.brand-orange {
    color: #E76A28 !important;
}

.section-orange {
    background: #FFF4EB;
}

.section-red {
    background: #FFECE7;
}

.icon-color {
    color: #E76A1F !important;
}


.navbar {
    background: #ffffff !important;
    border-bottom: 2px solid #E76A1F;
}
.navbar .nav-link {
    color: #A43220 !important;
    font-weight: 600;
}
.navbar .nav-link:hover {
    color: #E76A1F !important;
}

.btn-primary {
    background-color: #E76A1F !important;
    border-color: #E76A1F !important;
}
.btn-primary:hover {
    background-color: #A43220 !important;
    border-color: #A43220 !important;
}


.hero {
    background-image: url('../img/banner.jpeg');
    background-size: cover;
    color: white;
}

.carousel-item {
    height: 80vh;
    min-height: 400px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 30px;
    border-radius: 10px;
}

.carousel-item {
    height: 80vh;          /* Set consistent height */
    min-height: 400px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* Ensures no white gaps */
    object-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2); /* Removes white flash */
    z-index: 1;
}

.carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(
        rgba(164, 50, 32, 0.5),
        rgba(231, 106, 31, 0.5)
    ); */
}


/* Fix carousel height to avoid white blank area */
#heroCarousel .carousel-item {
    height: 520px;                 /* Adjust height as you like */
    min-height: 420px;
}

/* Make images cover entire slide area */
#heroCarousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;             /* Prevent white space */
    object-position: center;
}


body {
    font-family: 'Segoe UI', sans-serif;
}

/* Hero Section */
.hero-section {
    height: 75vh;
    position: relative;
    overflow: hidden;
}
.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
   /* filter: brightness(60%); */
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1024;
}

/* Section Titles */
.section-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    letter-spacing: 1px;
}

/* Cards */
.feature-box, .product-box, .project-box {
    border-radius: 12px;
    transition: 0.3s;
}
.feature-box:hover, .product-box:hover, .project-box:hover {
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
}

/* Contact Form */
.contact-form input, .contact-form textarea {
    border-radius: 8px;
}

.feature-box {
    background: #fff;
    border: 2px solid #E76A1F20;
    border-radius: 12px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.feature-box:hover {
    border-color: #E76A1F;
    box-shadow: 0px 5px 18px rgba(164, 50, 32, 0.25);
    transform: translateY(-5px);
}

.feature-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transition: 0.5s;
}

.feature-box:hover::after {
    left: 100%;
}


footer {
    background: #A43220;
    color: white;
}
footer a {
    color: #F4A21E;
}

/* Section Title */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e9e9e9;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;  /* FORCE CENTER */
}


/* Hover Elevation Effect */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #d5d5d5;
}

/* Image Container */
.product-img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;              /* NEW */
    justify-content: center;    /* NEW — horizontal center */
    align-items: center;        /* NEW — vertical center */

}

/* Image Uniformity */
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

/* Image Zoom on Hover */
.product-card:hover img {
    transform: scale(1.08);
}

/* Product Title */
.product-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 15px;
    color: #222;
}

/* Product Description */
.product-desc {
    font-size: 14px;
    color: #666;
    min-height: 40px;
}

/* Button */
.product-btn {
    background: #e34e33;
    color: #fff;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.product-btn:hover {
    background: #c8422b;
    color: #fff;
}

/* Sidebar */
.list-group-item.active {
    background: #e34e33;
    border-color: #e34e33;
}

/* Product Images */
.product-img-wrapper {
    width: 140px;
    height: 140px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Card */
.product-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    transition: all .3s ease;
    text-align: center;
}

.product-card:hover {
    box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
    transform: translateY(-6px);
}

.big-img {
    width: 100%;
    height: auto;
    max-height: 300px;   /* adjust as you like */
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 10px;
}


/* Header Base */
.header-nav {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, padding 0.3s ease;
  padding: 10px 0;
}


.header-nav.scrolled {
  background: #111;
  padding: 6px 0;
}

/* Logo */
.header-logo {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

/* Brand Text */
.brand-text {
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #E76A28 !important;
}

/* Navigation Items */
.nav-link {
  font-size: 1rem;
  padding: 8px 14px !important;
  margin: 0 4px;
  color: #eee !important;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: #ffd166 !important;
}

/* Active underline animation */
.nav-link::after {
  content: "";
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff6b6b, #ffd166);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* CTA Button */
.btn-header-cta {
  background: linear-gradient(90deg, #ff6b6b, #ffd166);
  color: #111 !important;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
}

.btn-header-cta:hover {
  background: linear-gradient(90deg, #ff4b4b, #ffca55);
  color: #fff !important;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
  .btn-header-cta {
    margin-top: 10px;
    display: block;
  }
  .hero-section {
    height: 25vh;
  }
}

.site-footer {
  background: #111;
  color: #ddd;
  padding-top: 30px;
}

.footer-logo {
  height: 55px;
  opacity: 0.95;
}

.footer-text {
  font-size: 0.95rem;
  color: #ccc;
}

.footer-links {
  margin-top: 12px;
}

.footer-links a {
  color: #ddd;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #ffd166;
}


/* Logo */
.header-logo {
  height: 42px;
  margin-right: 8px;
}

.brand-text {
  font-size: 1.2rem;
  white-space: nowrap;
}

/* Hamburger button */
.navbar-toggler {
  border: none;
  padding: 6px 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Custom hamburger icon */
.navbar-toggler-icon {
  width: 28px;
  height: 2px;
  background-color: #000;
  display: block;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  width: 28px;
  height: 2px;
  background-color: #000;
  position: absolute;
  left: 0;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

/* Animate hamburger */
.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* MOBILE MENU */
@media (max-width: 991px) {

  .navbar-collapse.show {
    background: #fff;
    margin-top: 12px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start !important;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }
}

.brand-logo span {
  font-size: 32px;
  font-weight: 800;
}
