/*

Ultra Profile

https://templatemo.com/tm-464-ultra-profile

*/
.footer-logo {
  height: 30px;
  margin: 0 10px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.1);
}

/* ALTURA FIXA COM SCROLL */
.fixed-height {
  height: 300px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;

  /* Animação de entrada */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* Scrollbar personalizada - Chrome, Edge, Brave */
.fixed-height::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.fixed-height::-webkit-scrollbar-track {
  background: transparent;
}

.fixed-height::-webkit-scrollbar-thumb {
  background-color: black;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.fixed-height::-webkit-scrollbar-thumb:hover {
  background-color: #333;
}

/* Scrollbar personalizada - Firefox */
.fixed-height {
  scrollbar-color: black transparent;
  scrollbar-width: thin;
}

/* Classe quando visível */
.fixed-height.active {
  opacity: 1;
  transform: translateY(0);
}

 .work-wrapper img {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #d3a307;
  margin-bottom: 15px;
}

body {
  background: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  color: #fffdfd;
  position: relative;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}
h1,h2,h3 { font-weight: 300; }
p { line-height: 28px; }
hr {
  border-color: #696868;
  width: 100px;
  margin-bottom: 40px;
}
.title {
  color: #000000;
  font-size: 60px;
  padding-bottom: 40px;
  text-transform: uppercase;
}
 .galeria-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid #d4af37; /* dourado */
  transition: transform 0.3s ease;
}

.galeria-img:hover {
  transform: scale(1.05);
}

/* Container principal responsivo */
.container {
    width: 100%;
    max-width: 1200px; /* Largura máxima */
    margin: 0 auto;
    padding: 0 15px; /* Padding lateral em mobile */
}

/* Media Queries - pontos de quebra (breakpoints) */
/* Celulares pequenos (menos que 576px) - já está coberto pelo estilo padrão */

/* Celulares grandes (576px ou mais) */
@media (min-width: 576px) {
    .container {
        padding: 0 20px;
    }
}

/* Tablets (768px ou mais) */
@media (min-width: 768px) {
    /* Ajustes específicos para tablets */
}

/* Desktops (992px ou mais) */
@media (min-width: 992px) {
    /* Ajustes específicos para desktop */
}

/* Telas grandes (1200px ou mais) */
@media (min-width: 1200px) {
    /* Ajustes específicos para telas grandes */
}


/* START NAVIGATION */
.sticky-navigation { opacity: 0; }
.navbar-default {
  background: #d3cece;
  border: none;
  -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
          box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  margin: 0;
  padding: 0;
}
.navbar-default .navbar-brand {
  color: #212227;
  font-weight: bold;
  font-size: 30px;
  line-height: 45px;
  padding: 10px 0 0 12px;
}
.navbar-default .navbar-nav li a {
  color: #202020;
  font-size: 13px;
  font-weight: bold;
  line-height: 45px;
  letter-spacing: 1px;
}
.navbar-default .navbar-nav li a:hover { color: #eb5424; }
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #eb5424;
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #eb5424;
  background-color: transparent;
}
.navbar-default .navbar-toggle {
  border: none;
  padding-top: 10px;
}
.navbar-default .navbar-toggle .icon-bar {
  background: #eb5424;
  border-color: transparent;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background-color: transparent }
/* END NAVIGATION */

/* START HOME */

@media (max-width: 640px) {
  a, button { 
    min-width: 44px; 
    min-height: 44px; 
  }
}
.fade-in {
  animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } }

.btn, .active-tab, hover-effects { 
  background-color: #d4af37;
  transition: all 0.3s ease; 
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}
/* ==================== */
/*  CINEMA EFFECT PRO   */
/* ==================== */

.templatemo-home {
  /* Fundo simplificado para melhor performance */
  background: 
    linear-gradient(135deg, rgba(5,5,5,0.95), rgba(25,25,25,0.2)),
    url('../images/Casa_1.jpeg') center/cover no-repeat;
  
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f7f7f7;
  position: relative;
  overflow: hidden;
  /* Removidas propriedades 3D pesadas */
}

/* Cortina de cinema otimizada */
.templatemo-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(
      to bottom,
      rgba(0,0,0,1) 0%,
      rgba(15,15,15,0.8) 30%,
      rgba(35,35,35,0.4) 50%,
      rgba(15,15,15,0.8) 70%,
      rgba(0,0,0,1) 100%
    );
  animation: 
    curtainOpen 3s cubic-bezier(0.33,0.1,0.42,1) forwards;
  z-index: 3;
  transform-origin: top;
  will-change: transform, opacity; /* Indica ao browser o que será animado */
  backface-visibility: hidden; /* Melhora a renderização */
}

/* Efeito de luz simplificado */
.templatemo-home::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250%;
  height: 250%;
  background: 
    radial-gradient(
      ellipse at center,
      rgba(255,255,255,0.3) 0%,
      rgba(255,215,0,0.2) 25%,
      transparent 70%
    );
  animation: 
    lightSweep 5s cubic-bezier(0.19,1,0.22,1) forwards;
  z-index: 2;
  mix-blend-mode: soft-light;
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Conteúdo otimizado */
.templatemo-home-content {
  position: relative;
  z-index: 4;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: 
    grandEntrance 2.5s cubic-bezier(0.215,0.61,0.355,1) 0.8s forwards;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* ========= ANIMAÇÕES OTIMIZADAS ========= */

@keyframes curtainOpen {
  0% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; }
}

@keyframes lightSweep {
  0% { transform: translate(-50%,-50%) scale(0.2); opacity: 0; }
  30% { opacity: 0.7; }
  100% { transform: translate(-50%,-50%) scale(1.8); opacity: 0; }
}

@keyframes grandEntrance {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========= RESPONSIVO ========= */
@media (max-width: 768px) {
  .templatemo-home::before { animation-duration: 2.5s; }
  .templatemo-home::after { width: 300%; height: 300%; }
  .templatemo-home-content { animation-duration: 2s; }
  
  /* Desativa efeitos pesados em dispositivos móveis */
  .templatemo-home::after {
    animation: none;
    display: none;
  }
  
  .templatemo-home::before {
    box-shadow: none;
    backdrop-filter: none;
  }
}
.tm-home-title,
 .tm-home-subtitle {
  text-transform: uppercase;
 }
.tm-home-title { font-size: 60px; }
.tm-home-subtitle {
  color: #be861ee7;
  font-weight: bold;
  padding-bottom: 40px;
  letter-spacing: 2px;
}
.tm-view-more-btn {
  background: #eb5424;
  color: #ffffff;
  border: none;
  border-radius: 2px;
  font-size: 20px;
  font-weight: 700;
  margin-top: 30px;
  padding: 15px 50px;
  -webkit-transition: all 0.5s ease-in;
          transition: all 0.5s ease-in;
}
.tm-view-more-btn:hover {
  background: #ffffff;
  color: #c28920;
}

/* END HOME */

/* START WORK */
.tm-padding-top-bottom-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}
.tm-work-h3 {
  color: #7c402d;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  padding-bottom: 10px;
}
.work-wrapper {
  border: 1px solid #666;
  border-radius: 2px;
  text-align: center;
  padding: 80px 40px 80px 40px;
  -webkit-transition: all 0.6s ease-in;
          transition: all 0.6s ease-in;
}
.work-wrapper:hover { border-color: #b97f12; }
.work-wrapper .fa {
  color: #888888;
  font-size: 60px;
  padding-bottom: 40px;
}
/* END WORK */

/* START PORTFOLIO */
.tm-portfolio {
  background: #6d6a6ada;
  padding-top: 80px;
}
.tm-portfolio .container {
  width: 100%;
  padding: 0;
  margin: 0;
}
.tm-portfolio .col-md-3,
 .tm-portfolio .col-sm-3 {
  padding: 0;
  margin: 0;
}
.tm-portfolio-title {
  text-align: center;
  text-transform: uppercase;
}
.portfolio-item-title {
  font-weight: bold;
  margin-top: 10px;
  text-transform: uppercase;
}
.portfolio-thumb {
  overflow: hidden;
  margin: 0;
  position: relative;
}
.portfolio-overlay {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: #dbd5d3;
  color: #ffffff;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;  
  padding: 0 40px;
  text-align: center;
  position: absolute;
  opacity: 0;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
}
.portfolio-thumb:hover .portfolio-overlay {
  opacity: 0.8;  
  -webkit-transform: scale(1.0);
  -ms-transform: scale(1.0);
  transform: scale(1.0);
}
.portfolio-overlay .fa {
  border: 1px solid #666;
  border-radius: 0;
  color: #666;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
  margin-right: 6px;
  margin-bottom: 10px;
}

/* FILTER CSS */
.filter-wrapper {
  width: 100%;
  margin: 0 0 24px 0;
  overflow: hidden;
  text-align: center;
}
.filter-wrapper li {
  display: inline-block;
  margin: 4px;
}
.filter-wrapper li a {
  color: #999999;
  padding: 8px 17px;
  display: block;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
}
.filter-wrapper li a:focus,
 .filter-wrapper li a:hover,
 .filter-wrapper li a.selected {
  background: #eb5424;
  border-color: transparent;
  color: #ffffff;
}

/* ISOTOPE BOX CSS */
.iso-box-section { width: 100%; }
.iso-box-wrapper {
  width: 100%;
  padding: 0;
  clear: both;
  position: relative;
}
.iso-box {
  position: relative;
  min-height: 50px;
  float: left;
  overflow: hidden;
  margin-bottom: 20px;
}
.iso-box > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.iso-box > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.fluid-img {
  width: 100%;
  display: block;
  height: auto;
}
/* END PORTFOLIO */

/* START RESUME */
.tm-red-text { color: #eb5424; }
.tm-info-label {
  font-weight: bold;
  display: inline-block;
  width: 90px;
}
.tm-progress {
  background: #fff;
  border-radius: 2px;
  height: 4px;
}
.progress-bar-danger { background: #eb5424; }
.tm-progress-label {
  font-size: 12px;
  font-weight: bold;
  padding-top: 10px;
  text-transform: uppercase;
}
.progress-percent-small {
  display: block;
  float: right;
  padding-right: 80px;
}
/* END RESUME */

/* START ABOUT */
.tm-about {
  background: url('../images/about-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  padding-top: 60px;
  padding-bottom: 100px;
}
/* END ABOUT */

/* START SOCIAL */
.tm-social {
  text-transform: uppercase;
}
.tm-social .container {
  width: 100%;
  padding: 0;
  margin: 0;
}
.tm-social .col-md-4 {
  padding: 0;
  margin: 0;
}
.facebook:hover,
.twitter:hover,
.pinterest:hover {
  background: #3a3838;
}
.facebook { background: #3b5998; }
.twitter { background: #55acee; }
.pinterest { background: #cc2127; }
.media {
  padding: 80px 40px 80px 40px;
  -webkit-transition: all 0.6s ease-in;
          transition: all 0.6s ease-in;
}
.tm-social a {
  color: #ffffff;
  display: inline-block;
  text-decoration: none;
}
.tm-social .media .fa {
  background: #ffffff;
  border-radius: 2px;
  color: #707070;
  font-size: 30px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  margin-right: 20px;
}
.tm-social-title {
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
}
/* END SOCIAL */

/* START CONTACT */
.tm-contact {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 40px;
}
.form-control {
  background: transparent;
  border: 1px solid #666;
  border-radius: 2px;
  -webkit-box-shadow: none;
          box-shadow: none;
  margin-bottom: 10px;
  -webkit-transition: all 0.6s ease-in;
          transition: all 0.6s ease-in;
}
.form-control:focus,
 .form-control:hover {
  background: #202020;
  color: #eee9e9;
}
input { height: 50px; }
.tm-contact p { padding-top: 40px; }
/* END CONTACT */

@media screen and (max-device-width: 1024px){
  .templatemo-home {
    background-attachment: scroll;
  }
}

/* START MEDIA 980 */
@media screen and (max-width:980px){
  .portfolio-overlay  { padding-top: 10px; }
}
/* END MEDIA 980 */

@media screen and (max-width: 767px) {
  .tm-home-title { font-size: 40px; }
}

/* START MEDIA 360 */
@media screen and (max-width:360px){
  .navbar-default .navbar-brand {  padding-top: 2px; }
}
.portfolio-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 2px solid #a38625; /* Dourado fino */
  border-radius: 10px;
}

/* END MEDIA 360 */

