/* =====================================================
   Trifecta Painting – Futuristic (Blue + Orange) THEME
   Full drop-in stylesheet — about section updated,
   mobile responsive improvements maintained.
   ===================================================== */

/* ---------------- VARIABLES ---------------- */
:root {
  --hyperblue: #1A1B57;
  --obstinate-orange: #E95C2B;
  --white: #FFFFFF;
  --hyperblue-deep: #0f112d;
  --orange-glow: #ff784d;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(26, 27, 87, 0.15);
}

/* ---------------- BASE ---------------- */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--hyperblue);
  background: var(--white);
  line-height: 1.6;
  margin: 0;
}

a { color: var(--hyperblue); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--obstinate-orange); text-decoration: none; }

.text-hyperblue { color: var(--hyperblue) !important; }
.text-obstinate { color: var(--obstinate-orange) !important; }
.bg-hyperblue { background-color: var(--hyperblue); }

/* ---------------- LOGO ---------------- */
.logo-text { position: relative; display: inline-block; }
.logo-underline {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: var(--obstinate-orange);
  border-radius: 2px;
  transition: transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: left;
}
.navbar-brand:hover .logo-underline { transform: scaleX(1); }

/* ---------------- BUTTONS ---------------- */
.btn-obstinate {
  background: var(--obstinate-orange);
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  box-shadow: none;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn-obstinate:hover {
  transform: translateY(-2px);
  background: #d94c1d;
}
.btn-obstinate:active { transform: translateY(0); }

/* ---------------- NAVBAR ---------------- */
.navbar {
  background: linear-gradient(180deg, var(--hyperblue), var(--hyperblue-deep));
  transition: all 0.4s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  position: relative;
}
.navbar::after {
  content: ""; display: block; height: 3px; width: 100%;
  background-color: var(--obstinate-orange);
  position: absolute; bottom: 0; left: 0;
}
.navbar-brand { font-weight: 700; font-size: 1.25rem; color: var(--white) !important; transition: transform 0.3s ease, color 0.3s ease; }
.navbar-brand:hover { transform: scale(1.05); color: var(--obstinate-orange) !important; }

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500; margin: 0 10px; position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}
.navbar-nav .nav-link::after {
  content: ""; position: absolute; width: 0%; height: 2px; bottom: -4px; left: 0;
  background-color: var(--obstinate-orange); transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after { width: 100%; }
.navbar-nav .nav-link:hover { color: var(--obstinate-orange) !important; transform: translateY(-2px); }

/* ---------------- TOGGLER ---------------- */
.navbar-toggler { border: none; outline: none; padding: 0.25rem 0.75rem; }
.navbar-toggler-icon {
  position: relative; display: block; width: 30px; height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease-in-out;
}
.navbar-toggler-icon::before, .navbar-toggler-icon::after {
  content: ""; position: absolute; width: 30px; height: 3px; background-color: var(--white); left: 0; transition: all 0.3s ease-in-out;
}
.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after { top: 8px; }

/* ---------------- ABOUT ---------------- */
.about-painting-section {
  background: linear-gradient(135deg, var(--hyperblue), var(--hyperblue-deep));
  color: var(--white);
  position: relative;
  overflow: visible;
  padding: 150px 0;
  text-align: center;
}
.brush-text { color: var(--white); }
.brush-bg {
  position: absolute;
  inset: 0;
  background: rgba(26, 27, 87, 0.05);
  z-index: 0;
}


/* ---------------- CAROUSEL ---------------- */
#carousel, #carousel .carousel-inner, #carousel .carousel-item { height: clamp(420px, 75vh, 900px); }
#carousel .carousel-item > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
#carousel .carousel-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom right, rgba(26,27,87,0.45), rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.15) 70%); z-index: 1; }
#carousel .carousel-caption { position: relative; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; max-width: 760px; padding: 20px; }
#carousel .carousel-caption h1, #carousel .carousel-caption p { color: var(--white); text-shadow: 0 6px 18px rgba(0,0,0,0.4); }
.carousel-item {
  position: relative;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35); /* semi-transparent overlay */
  z-index: 1;
  pointer-events: none;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
}

.carousel-caption h1 {
  font-size: 3rem;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.carousel-caption .btn {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

.carousel-caption a {
    pointer-events: auto;
    z-index: 10;
}



/* ---------------- FEATURES ---------------- */
.feature-card { 
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 30px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer; backdrop-filter: blur(8px);
}
.feature-card:hover { 
  transform: translateY(-10px) scale(1.05); 
  box-shadow: 0 20px 40px rgba(233,92,43,0.35), 0 0 18px rgba(26,27,87,0.18);
  border-color: rgba(233,92,43,0.35);
}

/* ---------------- SERVICE/ABOUT CONTENT ---------------- */
section#painting_services h2 { color: var(--hyperblue); font-weight: 700; }
section#painting_services p { color: #2a2c6a; }
section#service-areas .shadow-lg { box-shadow: 0 1.25rem 2.5rem rgba(26,27,87,0.15) !important; }

/* ---------------- MINI GALLERY ---------------- */
#projects img { border-radius: 16px; transition: transform 0.4s ease, box-shadow 0.4s ease; }
#projects img:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(0,0,0,0.15), 0 0 25px rgba(233,92,43,0.25); }

/* ---------------- REVIEWS---------------- */
#reviews .card { border-radius: 18px; overflow: hidden; }
#reviews .card-img-top { object-fit: cover; height: auto; }

/* ---------------- CONTACT ---------------- */
.contact-form { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; backdrop-filter: blur(10px); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.contact-form:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border: 1px solid var(--obstinate-orange) !important; box-shadow: 0 0 10px rgba(233,92,43,0.5) !important; outline: none !important; }

/* ---------------- FOOTER ---------------- */
.footer {
  background: linear-gradient(180deg, var(--hyperblue), var(--hyperblue-deep));
  color: var(--white);
  padding: 50px 0 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  position: relative;
  overflow: hidden;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--obstinate-orange);
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-bottom a {
  color: var(--obstinate-orange);
}

.footer-contact h5,
.footer h5 {
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-contact p {
  margin: 5px 0;
}

.footer-contact i {
  margin-right: 8px;
  color: var(--obstinate-orange);
}

.back-to-top {
  position: fixed;
  display: none;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  background: var(--obstinate-orange);
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
}

.back-to-top:hover {
  background: #d94c1d;
  transform: translateY(-2px);
}

/* Media Queries for Footer */
@media (max-width: 768px) {
  .footer .col-md-6,
  .footer .col-lg-3 {
    margin-bottom: 20px;
  }
}


/* ---------------- TRUST & WARRANTY ---------------- */
.trust-warranty-section {
  background: linear-gradient(135deg, var(--hyperblue), var(--hyperblue-deep));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trust-warranty-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26,27,87,0.1); /* subtle overlay for depth */
  z-index: 0;
}

.trust-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  margin: 20px 0;
  display: inline-block;
  max-width: 300px;
  vertical-align: top;
  z-index: 1;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: default;
}

.trust-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(233,92,43,0.35), 0 0 18px rgba(26,27,87,0.18);
  border-color: rgba(233,92,43,0.35);
}

.trust-card i {
  font-size: 3rem;
  color: var(--obstinate-orange);
  margin-bottom: 15px;
}

.trust-card h4 {
  font-weight: 700;
  margin-bottom: 10px;
}

.trust-card p {
  color: var(--hyperblue-deep);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* optional: small brand logo accents */
.trust-logo {
  height: 60px;
  margin-top: 15px;
}


/* ---------------- MEDIA QUERIES ---------------- */
@media (max-width: 992px) {
  .navbar-nav { text-align: center; }
  .about-painting-section { padding: 100px 0; }
  .feature-card { padding: 20px; }
}
@media (max-width: 768px) {
  #carousel, #carousel .carousel-inner, #carousel .carousel-item { height: 55vh; min-height: 320px; }
  .about-painting-section { padding: 80px 0; }
  .footer { text-align: center; }
}
@media (max-width: 576px) {
  .navbar-brand { font-size: 1rem; }
  .navbar-nav .nav-link { margin: 5px 0; }
  .btn-obstinate { padding: 10px 20px; font-size: 0.9rem; }
  .about-painting-section { padding: 60px 0; }
  .carousel-caption h1 { font-size: 2rem; }
  .carousel-caption p { font-size: 1rem; }
  .carousel-caption { left: 50%; transform: translate(-50%, -50%); padding: 0 10px; }
  .trust-card, .feature-card { display: block; width: 90%; margin: 15px auto; }
}
