@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Questrial&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: syne;
}

:root{
    --primary-color:#cbcbcb;
    --secondary-color:#1c1c1c;
    --third-color:#4b4949;
    --hover-color:#f2f2f2;
    --button-color:#2aff6a;
    --item-color:#570b0b;
    --background1:#b1b1b1;
    --background2:#bcbcbc;
}

/*OLD ROOT
:root{
    --primary-color:#1c1c1c;
    --secondary-color:#cbcbcb;
    --hover-color:#F33A6A;
    --button-color:#2aff6a;
    --item-color:#e1d1f0;
    --background1:#2c2c2c;
    --background2:#424242;
}

*/

a{
    text-decoration: none;
}

.budget-btn{
    text-transform: uppercase;
    color: var(--hover-color);
    padding: 20px;
    /* border-radius: 20px; */
    background-color: var(--third-color);
    font-weight: bolder;
    font-family: outfit;
    font-size: 16px;
    font-weight: 300;
}

p{
    font-family: Raleway ;
}

h1{
    font-size: 50px;
    font-family: Cormorant Garamond;
    
    
}

h2{
    font-size: 50px;
    font-family:Montserrat;
    font-weight: 100;
    text-transform: uppercase;

}

h3{
    font-family: Cormorant Garamond;
    font-size: 32px;
}

html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

header{
    display: flex;
    position: relative;
    position: fixed;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 50px;
    background-color:var(--primary-color);
    color: var(--secondary-color);
    z-index: 100;
    
}

header img, .line-logo{
    width: 10%;
}

.line-logo{
    display: none;
}

.header-menu{
    margin-right: 50px;
    
}

.header-menu a{
    color: var(--secondary-color);
    
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-left: 30px;
    transition: 0.5s ease-in-out;
}

.header-menu a:hover{
    color: var(--hover-color);
}

/*Toggle Menu*/

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  display: none;
  cursor: pointer;
  z-index: 10;
  margin-right: 20px;
}

.hamburger-btn .bar {
  height: 3px;
  width: 100%;
  background-color: #ffffff; /* Cor das barrinhas */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/*HERO SECTION*/


.hero-section{
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mask{
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(180deg,rgba(28, 28, 28, 0.3) 0%, rgba(163, 163, 163, 0.1) 50%, rgba(28, 28, 28, 0.7) 100%);
    height: 100%;
    width: 100%;
    z-index: -1;
    
}

.hero-background{
    object-fit:cover;
    object-position: center;
    height: 100%;
    width: 100%;
    position: fixed;
    top:0;
    left: 0;
    z-index: -10;
    overflow: hidden

}

.hero-content{
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Joga todo o conteúdo interno lá para baixo */
    align-items: center;       /* Centraliza horizontalmente */
    position: relative;
    z-index: 10;
    color: #fff;
    text-align: center;
    padding-top: 40vh;
    width: 100%;
    height: 100%;
}

.hero-content p{
    position: static;
    font-size: 3.5rem;
    font-style: italic;
    font-family: Cormorant Garamond;
    text-align: center;
    margin-bottom: 40px;
    

    
    
}

.whatsapp-btn{
    position: fixed;
    bottom: 10px;
    right: 15px;
    width: 50px;
}



/*ABOUT SECTION*/

.about-section{
    padding: 30px;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--background1);
    color: var(--secondary-color);
}

.about-text{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
}

.about-text p{
    text-align: justify;
    width: 50%;

}

.about-text img{
    width: 100%;
    display: block;
    /* border-radius: 20px; */
    position: relative;
    z-index: 2;
    /* box-shadow: 5px 5px 1px 0 #ceb130; */
}

.about-img-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
}



/*SERVICES*/

.services-section{
    display: flex;
    padding: 30px;
    gap: 30px;
    flex-direction: column;
    align-items: center;
    background-color: var(--background2);
    color: var(--secondary-color);
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;

}



/*Accordion*/

.serv-item {
  background-color: var(--third-color);
  color: var(--secondary-color);
  /* border-radius: 12px; */
  margin-bottom: 12px;
  overflow: hidden;
  transition: 0.5s ease-in-out;
  
}

.serv-item:hover{
    color: var(--hover-color);
}

.serv-img-container{
    overflow: hidden;
    /* border-radius: 20px; */
    height: 150px;
    width: 150px;
}

.serv-item span{
    font-size: 32px;
    font-weight: 300;
    transform: scaleY(1.0);
    font-family: Cormorant Garamond;
    text-transform: uppercase;
}

.serv-item img{
    width: 100%;
    height: 100%;             
    object-fit: cover;        
    aspect-ratio: 1 / 1;
    
}


.serv-type {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--hover-color);
  cursor: pointer;
  text-align: left;
  transition: 0.5s ease-in-out;
}

.serv-type:hover{
    color: var(--secondary-color);
}

/* Transição na setinha */
.arrow {
  transition: transform 0.3s ease;
}

.serv-item.active .arrow {
  transform: rotate(90deg); /* Gira a seta ao abrir */
}

/* A mágica da resposta suave */
.serv-list {
  background-color: var(--third-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 20px;
  
}

.serv-list p {
  line-height: 1.6;
  color: var(--hover-color);
}

.serv-item:nth-child(1) .serv-list p:last-child,
.serv-item:nth-child(3) .serv-list p:last-child {
  margin-bottom: 10px;
}

/* Estado Quando Aberto */
.serv-item.active .serv-list {
  max-height: 380px; /* Altura máxima para permitir deslizar */
  padding: 0 24px 20px 24px;
}

/*DEBUT*/
.debut-section{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    gap: 25px;
    background-color: var(--background1);
    color: var(--secondary-color);

}

.debut-header-img{
    transform: translateY(120px);
}

.debut-content{
    padding: 40px;
    display: flex;
    flex-direction: row;
    gap: 25px;
    
}

.debut-content article{
    width: 50%;
}

.debut-img-container{
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 15px;
    width: 50%;
}

.debut-img-container img{
    width: 100%;
    height: 100%;             
    object-fit: cover;        
    aspect-ratio: 1 / 1;
    /* border-radius: 20px; */
    transition: 0.5s ease-in-out;
}

.debut-img-container img:hover{
    scale: 1.05;
}

article p{
    text-align: justify;
    margin: 10px 0;
}

.debut-serv{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.debut-item{
    font-family: montserrat;
    background-color: var(--item-color);
    padding: 10px;
    /* border-radius: 15px; */
    color: var(--hover-color);
    font-size: 16px;
    font-weight: 200;
}

/*BRIDE*/

.bride-section{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    gap: 25px;
    background-color: var(--background1);
    color: var(--secondary-color);

}

img.hero-background.bride-header-img {
    transition: 0.5s;
    object-position: center -30% !important; /* Ajuste a porcentagem se precisar descer mais ou menos a cabeça dela */
}

.bride-content{
    display: flex;
    gap: 25px;
    
}

.bride-content article{
    width: 45%;
}

.bride-img-container{
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 15px;
    width: 50%;
}

.bride-img-container img{
    width: 100%;
    height: 100%;             
    object-fit: cover;        
    aspect-ratio: 1 / 1;
    /* border-radius: 20px; */
    transition: 0.5s ease-in-out;
}

.bride-img-container img:hover{
    scale: 1.05;
}

article p{
    text-align: justify;
    margin: 10px 0;
}

.bride-serv{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bride-item{
    font-family: montserrat;
    background-color: var(--item-color);
    padding: 10px;
    /* border-radius: 15px; */
    color: var(--hover-color);
    font-size: 16px;
    font-weight:200;
}

/*GALLERY*/

.gallery-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 10px;
    background-color: var(--background2);
    color: var(--secondary-color);
}



.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1rem;
    padding: 40px;
    
    /* ADICIONA ESTAS DUAS LINHAS AQUI: */
    width: 100%;
    max-width: 90%; /* Trava uma largura máxima idêntica para todas as linhas */
    margin: 0 auto;    /* Mantém todas perfeitamente centralizadas na tela */
}



.gallery-img{
    overflow: hidden;          /* ESSENCIAL: Esconde o que sai da borda */
    /* border-radius: 20px; */
    position: relative;         /* Ajuda no alinhamento interno */
    display: block;            /* Garante comportamento de bloco */
    width: 100%;               /* Preenche o espaço do grid */
    height: 100%;
    
    
}

.gallery-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;         /* Mantém a proporção sem esticar */
    transition: 0.6s ease; /* Transição SUAVE e ELEGANTE */
    display: block;            /* Remove espaços fantasmas abaixo da imagem */
    
}

.gallery-img img:hover{
    scale: 1.05;
}

.large{
    grid-column: span 2;
    grid-row: span 2;
}

/*CONTACT*/

.contact-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 25px;
    background-color: var(--background2);
    color: var(--secondary-color);
}

.contact-section p{
    font-size: 25px;
}

.contact-container{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.social img{
    width: 45px;
}

.map-container {
    width: 60%;
    /* border-radius: 20px; */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    display: block;
}

footer{
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

footer img{
    width: 20%;
}

footer .creator-link{
    color: var(--secondary-color);
}

.modal-overlay {
    display: none; /* Começa escondido */
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Fundo preto transparente */
    justify-content: center;
    align-items: center;
    cursor: pointer; /* Clicar fora fecha o modal */
}

/* Imagem dentro do modal */
.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    object-fit: contain;
    cursor: default; /* Evita cursor de clique em cima da foto */
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    animation: zoomIn 0.2s ease; /* Efeitinho suave de entrada */
}

/* Botão de fechar (o X) */
.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.modal-close:hover {
    color: #ceb130; /* Usa o tom dourado/destaque do seu site */
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 1200px){
    .hamburger-btn {
    display: flex;
  }
  header{
    padding: 10px 0 10px 10px;
    height: 15%;
  }

  header img{
    width: 0px;
  }

  .line-logo{
    display: block;
    width: 40%;
}

  

  .header-menu {
    display: none;
    position: absolute;
    top: 100%; /* Gruda exatamente no rodapé do header */
    left: 0;
    width: 100%;
    background-color:var(--primary-color); /* Fundo escuro */
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 100;
    transition: 0.5s ease-in-out; /* Escondido */
  }

  .header-menu a {
  padding: 10px 0; /* Dá área de toque melhor no celular */
  width: 100%;
  text-align: center;
}

  .header-menu.active {
    display: flex;
  }

      .debut-header-img{
    transform: translateY(40px);
}

.bride-header-img{
    transform: translateY(40px);
}

}




@media (max-width: 900px) {

    

    .bride-content, .debut-content{
        flex-direction: column-reverse;
        align-items: center;
    }

    .bride-content article, .debut-content article{
    width: 90%;
}

img.hero-background.bride-header-img {
    object-position: right -30% !important; /* Ajuste a porcentagem se precisar descer mais ou menos a cabeça dela */
}

article h3{
    text-align: center;
}

article p{
    text-align: justify;
}


    .bride-img-container, .debut-img-container{
        width: 100%; 
    }

    .line-logo{
    display: block;
    width: 50%;
}
}

@media (max-width: 768px) {
    

  .about-text{
    flex-direction: column;
  }

  .about-text p{
    text-align: justify;
    width: 70%;
  }

  .about-img-container{
    width: 70%;  
}

.hero-content p{
    font-size: 2.8rem;
    top: 300px;
}


.services-grid{
    grid-template-columns: repeat(1, 1fr);
}

.bride-content article, .debut-content article{
    width: 100%;
}

.debut-item, .bride-item{
    font-size: 16px;
}

.gallery-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1.5rem;
}

.contact-container{
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.social{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

.map-container{
    width: 90%;
}

.line-logo{
    display: block;
    width: 60%;
}

}

@media (max-width: 450px){
    .budget-btn{
        font-size: 18px;
        padding: 18px;
    }

    .line-logo{
    display: block;
    width: 70%;
}


}