/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HEADER */
.header {
  width: 100%;
  background: #f8f8f8;
  padding: 40px 120px;
  position: relative;
  z-index: 1000;
}

/* NAV */
.nav {
   font-family: 'Cormorant Garamond', sans-serif !important;
   font-weight: 700;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
}

/* MENUS */
.nav-left,
.nav-right {
   font-family: 'Cormorant Garamond', sans-serif !important;
   font-weight: 700;
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav ul {
  list-style: none;
}

/* LINKS */
.nav a {
  font-family: 'Cormorant Garamond', sans-serif !important;
  font-weight: 700;
  text-decoration: none;
  color: #666;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  transition: 0.3s;
}

/* HOVER LINHA */
.nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #ca7cb0;
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.logo a::after {
  content: none !important;
}
/* LOGO */
.logo {
  
 position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.logo img {
  max-height: 90px;
  width: auto;
  display: block;
}

/* manter centrado no desktop */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

/* MENU ESCONDIDO */
.dropdown-menu {
  position: absolute;
  top: 140%;
  left: 0;
  background: white;
  border-radius: 10px;
  padding: 10px 0;
  min-width: 200px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
 z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;

  list-style: none;
}

/* ITENS */
.dropdown-menu li {
  padding: 10px 20px;
}

.dropdown-menu a {
  font-family: 'Cormorant Garamond', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: none;
}

/* HOVER MOSTRAR */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* evitar desaparecer ao mover rato */
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
}

 :root {
            --primary-color: #2c2c2c;
            --accent-color: #8d754a; /* Tom dourado suave */
            --bg-color: #f9f9f9;
            --text-light: #666;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: 'Lato', sans-serif;
            background-color: var(--bg-color);
            color: var(--primary-color);
        }

.events-gallery-section {
        max-width: 1200px;
        margin: 100px auto;
        padding: 0 20px;
        text-align: center;
}


    

    .events-gallery-header span {
        display: block;
        font-family: 'Playfair Display', serif;
        font-style: italic;
        font-size: 0.9rem;
        color: #8d754a; /* Tom dourado suave */
        margin-bottom: 10px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .events-gallery-header h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        text-transform: uppercase;
        letter-spacing: 5px;
        font-weight: 400;
        margin: 0;
        color: #1a1a1a;
    }


/* CONTAINER */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-left: 350px;
  padding-right: 350px;
  padding-bottom: 200px;
}

/* IMAGENS */
.gallery .item {
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform 0.6s ease;
}

/* HOVER SUAVE */
.gallery .item:hover img {
  transform: scale(1.05);
}

/* VARIAÇÕES (tipo revista) */
.wide {
  grid-column: span 2;
}

.tall {
  grid-row: span 2;
}
 /* BOTÃO HAMBURGUER */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MENU MOBILE */
.mobile-menu {
   font-family: 'Cormorant Garamond', sans-serif !important;
   font-weight: 700;
 position: absolute;
  top: 80px;
  right: 20px;
  width: 260px;

  background: white;
  border-radius: 12px;
  padding: 20px;

  display: none;
  flex-direction: column;

  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  z-index: 9999;
  position: absolute;

  animation: slideDown 0.3s ease;
}

.mobile-menu a {
   font-family: 'Cormorant Garamond', sans-serif !important;
   font-weight: 700;
   padding: 15px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #666;
  font-size: 14px;
  letter-spacing: 2px;
  pointer-events: auto;
}

/* DROPDOWN MOBILE */
.mobile-btn {
   font-family: 'Cormorant Garamond', sans-serif !important;
   font-weight: 700;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.mobile-content {
  display: none;
  flex-direction: column;
  padding-left: 15px;
}

/* ATIVAR */
.mobile-menu.active {
  display: flex;
}

 footer {
        background-color: #f9f9f9;
        padding: 80px 20px 40px 20px;
        border-top: 1px solid #eee;
        font-family: 'Lato', sans-serif;
        color: var(--primary-color);
    }

    .footer-grid {
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 60px;
    }

    .footer-logo h2 {
        font-family: 'Playfair Display', serif;
        text-transform: uppercase;
        letter-spacing: 4px;
        margin-bottom: 20px;
    }

    .footer-section h4 {
        font-family: 'Playfair Display', serif;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 0.9rem;
        margin-bottom: 25px;
        color: var(--accent-color);
    }

    .footer-links {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        text-decoration: none;
        color: var(--text-light);
        transition: color 0.3s;
        font-size: 0.9rem;
    }

    .footer-links a:hover {
        color: var(--primary-color);
    }

    .footer-bottom {
        max-width: 1100px;
        margin: 60px auto 0 auto;
        padding-top: 30px;
        border-top: 1px solid #e0e0e0;
        display: flex;
        justify-content: space-between;
        font-size: 0.75rem;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .footer-logo img {
    max-width: 180px; /* Ajusta o tamanho do logo conforme o teu gosto */
    height: auto;
    margin-bottom: 20px;
}

/* RESPONSIVO */
@media (max-width: 900px) { 


   .split-image img {
    object-position: center; /* ou ajusta */
  }
  .gallery-img-1 {
  object-position: center left;
}

.gallery-img-2 {
  object-position: center right;
}



  .split-section {
    gap: 30px;
    padding: 30px;
  }

  .split-content h2 {
    font-size: 28px;
  }

  .split-image img {
    height: 350px;
  }


  .mobile-menu a,
.mobile-btn {
  font-family: 'Cormorant Garamond', sans-serif;
  letter-spacing: 2px;
}

  .nav-left,
  .nav-right {
    display: none;
  }

  .menu-toggle {
    display: block;
     margin-left: 20px;
  }

  .logo {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .header {
    padding: 20px;
    position: relative;
    z-index: 1000;
    }


  .nav {
  justify-content: space-between;
}

.split-content .btn {
  display: inline-block;
  margin: 10px 10px 0 0; /* espaço entre eles */
}


  .hero-section, .hero-section.reverse {
   flex-direction: column;
   margin-bottom: 60px;
   }
   .content-wrapper {
   padding: 20px 50px;
   text-align: center;
    }
    .content-wrapper h2 {
    font-size: 2rem;
     }

       footer {
        padding: 60px 20px 30px 20px; /* Redução ligeira do padding superior */
    }

    .footer-grid {
        /* Passa de 3 colunas para 1 coluna vertical */
        grid-template-columns: 1fr;
        gap: 40px; /* Redução do espaço entre secções para poupar scroll */
        text-align: center; /* Opcional: centra o texto no mobile */
    }

    .footer-section h4 {
        margin-bottom: 15px;
        align-items: center;
        
        }

        .footer-section p {
        
        align-items: center;
        }

    .footer-bottom {
        /* Passa de flex horizontal para vertical */
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
        text-align: center;
    }
    
    /* Alinha o texto do parágrafo ao centro no mobile */
    .footer-logo p {
        text-align: center;
        /* Dá um padding lateral para evitar que o texto toque nas bordas do ecrã */
        padding: 0 20px;
        /* Define uma largura máxima opcional para o texto não ficar demasiado "largo" */
        max-width: 180px;
        /* Centra o próprio bloco do parágrafo */
        margin-left: auto;
        margin-right: auto;
        /* Mantém uma margem inferior para o elemento seguinte (o título da navegação) */
        margin-bottom: 40px; /* Ajusta conforme necessário */
    }

    /* Garante que o container `.footer-logo` também está centrado */
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

   
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centra o logo horizontalmente */
        text-align: center;
    }

    .logo-footer {
        max-width: 200px;    /* No mobile, o logo pode ser um pouco menor */
        margin-left: auto;   /* Centra a imagem */
        margin-right: auto;  /* Centra a imagem */
        margin-bottom: 20px;
    }

    .footer-logo p {
        text-align: center;
        max-width: 300px;    /* Limita a largura do texto para ficar elegante */
        margin: 0 auto 40px auto; /* Centra o <p> e dá espaço para a secção seguinte */
        line-height: 1.6;    /* Melhora a leitura do parágrafo */
    }
    }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}