@import url('https://fonts.googleapis.com/css2?family=Kedebideri:wght@400;500;600;700;800;900&display=swap');

/* =====================================================
   GOOGLE FONT IMPORT - ESTILOS
   ===================================================== */

.kedebideri-regular {
  font-family: "Kedebideri", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.kedebideri-medium {
  font-family: "Kedebideri", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.kedebideri-semibold {
  font-family: "Kedebideri", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.kedebideri-bold {
  font-family: "Kedebideri", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.kedebideri-extrabold {
  font-family: "Kedebideri", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.kedebideri-black {
  font-family: "Kedebideri", sans-serif;
  font-weight: 900;
  font-style: normal;
}


/* =====================================================
   RESET E PADRÕES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Kedebideri';
	font-size:15pt;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Kedebideri';
    margin: 0;
}

p, a {
    margin: 0;
    text-decoration: none;
}

/* =====================================================
   NAVBAR CUSTOM
   ===================================================== */
.custom-navbar {
    background-color: #2C2F33; /* grafite */
}

.custom-navbar .navbar-brand,
.custom-navbar .nav-link{
    color: #ffffff; /* fonte branca */
    font-family: 'Kedebideri', sans-serif;
    transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link .active{
    color: #A17F12; /* dourado */
}

/* Toggle botão padrão Bootstrap */
.custom-navbar .navbar-toggler {
    border: 2px solid #A17F12; /* borda dourada */
}

.custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23A17F12' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Remove outline preto do toggle ao focar/clicar */
.custom-navbar .navbar-toggler:focus {
    outline: none;           /* remove o outline padrão */
    box-shadow: none;        /* remove qualquer sombra adicional */
}


/* =====================================================
   HERO COM VÍDEO E OVERLAY
   ===================================================== */
#hero {
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.65); /* overlay escuro */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
    padding: 1rem;
    font-family: 'Kedebideri', sans-serif;
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-overlay p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn-outline-dourado {
    color: #ffffff; /* fonte branca */
    border: 2px solid #A17F12; /* borda dourada */
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-dourado:hover {
    background-color: #A17F12; /* fundo dourado ao passar o mouse */
    color: #ffffff; /* mantém fonte branca */
}

.btn-dourado {
    background-color: #A17F12; /* fundo dourado */
    color: #ffffff; /* fonte branca */
    border: none;
    transition: all 0.3s ease;
}

.btn-dourado:hover {
    opacity: 0.85; /* leve escurecimento ao passar o mouse */
}

/* =====================================================
   SERVIÇOS PRINCIPAIS – 3 CARDS  (ATUALIZADO)
   ===================================================== */

.servicos-principais {
    background-color: #1A1C1F; /* grafite principal */
    padding-top: 80px;
    padding-bottom: 80px;
}

.service-card {
    background-color: #24272B; /* grafite médio elegante */
    border: none; /* borda removida */
    border-radius: 8px;
	padding: 30px;
    text-align: center;
    color: #ffffff;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.service-title {
    font-size: 1.6rem;
    font-weight: 800; /* negrito reforçado */
    margin-bottom: 20px;
    color: #ffffff;
}

.service-desc {
    font-size: 1rem;
    color: #d4d4d4;
    margin-bottom: 30px;
}

/* Botão com fundo dourado e fonte branca */
.btn-gold-solid {
    background-color: #A17F12; /* dourado */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-gold-solid:hover {
    background-color: #c49a1a; /* dourado mais claro no hover */
    color: #000;
}


/* =====================================================
   GALERIA MASONRY (column-based)
   ===================================================== */

.masonry-grid {
  column-count: 3;
  column-gap: 15px;      /* Abertura horizontal mais bonita */
  padding: 0 8px;       /* Respira dos lados */
}

.masonry-item {
  margin-bottom: 15px;   /* Espaçamento vertical uniforme */
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.masonry-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s ease-in-out;
    padding: 20px;
}

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

.masonry-item:hover .masonry-hover {
    opacity: 1;
    transform: translateY(0);
}

.masonry-hover h3 {
    margin-bottom: 5px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.masonry-hover p {
    font-size: 14px;
    opacity: 0.9;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-8px); /* leve suspensão */
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25); /* sombra 3D */
}

.gallery-item:hover img {
  transform: scale(1.09); /* zoom suave */
  filter: blur(2px) brightness(0.9); /* desfoque elegante */
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}



.contact-section {
  background: linear-gradient(135deg, #b68b2a, #8c6b1b);
}

.contact-input {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.contact-input:focus {
  outline: none;
  box-shadow: none;
  background-color: #fff;
}

.contact-text {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.85;
}


/* SOCIAL BAR */
#social-bar {
    background-color: #b38a2e; /* dourado escuro elegante */
    color: #fff;
}

#social-bar .social-link {
    font-size: 1.8rem;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s;
}

#social-bar .social-link:hover {
    transform: translateY(-5px);
    color: #000;
}

/* FOOTER */
#main-footer {
    background-color: #222;
    color: #fff;
    font-size: 0.95rem;
}


/* Responsividade */
@media (max-width: 992px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        column-count: 1;
    }
}


/* =====================================================
   PARALLAX VERTICAL DO VÍDEO
   ===================================================== */
.hero-parallax {
    will-change: transform;
}

/* Script do parallax será no final do body */




/* =====================================================
   FONTES MOBILE PADRONIZADAS
   ===================================================== */
@media (max-width: 991.98px) {
    .custom-navbar .navbar-brand,
    .custom-navbar .nav-link {
        font-family: 'Kedebideri', sans-serif;
        font-weight: 500;
        font-size: 1rem;
    }
}


/* =====================================================
   PARALLAX SECTION
   ===================================================== */

.parallax-section {
    position: relative;
    width: 100%;
    height: 60vh;
    background-image: url("../img/bg_parallax1.jpg");
background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.55); /* overlay mais elegante */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-title {
    font-family: 'Kedebideri';
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.parallax-text {
    font-family: 'Kedebideri';
    font-size: 1.4rem;
    color: #fff;
}



/* =====================================================
   AJUSTES MOBILE
   ===================================================== */
@media (max-width: 991.98px) {

    /* Navbar */
    .custom-navbar .navbar-brand,
    .custom-navbar .nav-link {
        font-family: 'Kedebideri', sans-serif;
        font-weight: 500;
        font-size: 0.85rem; /*ajustar conforme necessidade */
    }

    /* Hero */
    #hero .hero-overlay h1 {
        font-family: 'Kedebideri', sans-serif;
        font-weight: 700;
        font-size: 1rem;
    }

    #hero .hero-overlay p {
        font-family: 'Kedebideri', sans-serif;
        font-weight: 400;
        font-size: 0.75rem;
    }

    #hero .hero-overlay .btn {
        font-family: 'Kedebideri', sans-serif;
        font-weight: 600;
        font-size: 0.75rem;
    }

    /* Seções gerais */
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Kedebideri', sans-serif;
        font-weight: 600; /* padrão mobile */
    }

    p, a, li, label, input, textarea, .btn {
        font-family: 'Kedebideri', sans-serif;
        font-weight: 400;
        font-size: 0.95rem;
    }

    /* Portfólio */
    #portifolio .masonry-item img {
        border-radius: 5px;
    }

    /* Parallax seções */
    .parallax-section {
        /*height: 100vh;*/
height:400px !important;  
background-attachment: fixed;
  background-size: cover;
  background-position: center;
    }
}

@media (max-width: 768px) {

    .parallax-section {
        height: 400px !important;
    background-attachment: scroll !important; /* evita bug no mobile */
    background-size: cover;
    background-position: center;
    }

    .parallax-title {
        font-size: 1.9rem;
    }

    .parallax-text {
        font-size: 1.05rem;
        padding: 0 14px;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }

    #galeria h2 {
        font-size: 1.6rem;
    }
}


/* =====================================================
   RESPONSIVIDADE HERO - MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 10px; /* reduz ainda mais no mobile */
    }

    .hero-overlay p {
        font-size: 8px; /* reduz subtítulo */
    }

    .hero-overlay .btn {
        font-size: 8px;
        padding: 0.5rem 0.7rem;
    }

}

